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,237 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

ATR from a different timeframe

  #1 (permalink)
 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 Reply With Quote

Can you help answer these questions
from other members on NexusFi?
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
Exit Strategy
NinjaTrader
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #3 (permalink)
 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 ;+)

Reply With Quote
  #4 (permalink)
 
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 Reply With Quote
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