NexusFi: Find Your Edge


Home Menu

 





ATR from a different timeframe


Discussion in NinjaTrader

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




 
Search this Thread
  #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?
SEC Advisory Committee Backs Tokenized Securities Exempt …
Traders Hideout
The Week Ahead -- CPI Wednesday With Oil Past $90, PPI L …
Traders Hideout
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 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: https://nexusfi.com/download/vip_elite_circle/1333-download.html?view

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


© 2026 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 - Downloads - Top
no new posts