NexusFi: Find Your Edge


Home Menu

 





ATR from a different timeframe


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one fossil with 1 posts (0 thanks)
    2. looks_two Xav1029 with 1 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 leinster with 1 posts (0 thanks)
    1. trending_up 2,248 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
 

ATR from a different timeframe

 
 fossil 
Germany
 
Experience: Intermediate
Platform: Ninjatrader
Broker: IB and zen-Fire
Trading: NQ
Posts: 92 since Apr 2010
Thanks Given: 8
Thanks Received: 39

Is somebody able to code something whitch give´s me the ATR from one timeframe like 15 minute into my for example 5 range chart?
Thanks

Started this thread

Can you help answer these questions
from other members on NexusFi?
Strategy stop orders partially filled
EasyLanguage Programming
Cheap historycal L1 data for stocks
Stocks and ETFs
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
What broker to use for trading palladium futures
Commodities
Trade idea based off three indicators.
Traders Hideout
 
 
 leinster 
Brussels / Dublin
 
Experience: Intermediate
Platform: ninjatrader
Trading: Stdev + 2
Posts: 468 since Jun 2010
Thanks Given: 844
Thanks Received: 595


From ninja help:

In initialise plonk the values you want to get the data from.

Add(PeriodType.Minute, 3);
Add("AAPL", PeriodType.Minute, 1);

double value = ATR(20)[0]; (Chart settings)
double value = ATR(20)[1]; (=Add(PeriodType.Minute, 3)
double value = ATR(20)[2]; (=Add("AAPL", PeriodType.Minute, 1)

Thanks interestingly smileys above unintentional ;+)

 
 
Xav1029's Avatar
 Xav1029 
Tampa, FL
 
Experience: Beginner
Platform: NinjaTrader, Sierra Chart
Broker: Mirus Futures/Zen-Fire
Trading: 6E, M6E, 6J
Posts: 1,375 since Dec 2011
Thanks Given: 1,452
Thanks Received: 3,377


fossil View Post
Is somebody able to code something whitch give´s me the ATR from one timeframe like 15 minute into my for example 5 range chart?
Thanks

@fossil take a look at this:

Little tool that will create a MTF version of any indicator with 6 or less plots.

London Calling
Visit my NexusFi Trade Journal
Thanked by:

 



Last Updated on January 12, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts