NexusFi: Find Your Edge


Home Menu

 





ATR Average True Range indicator expressed as a number?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one CKtalon with 2 posts (8 thanks)
    2. looks_two w00dmann with 2 posts (0 thanks)
    3. looks_3 daytrade5 with 1 posts (0 thanks)
    4. looks_4 trendisyourfriend with 1 posts (0 thanks)
    1. trending_up 10,219 views
    2. thumb_up 8 thanks given
    3. group 4 followers
    1. forum 6 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 w00dmann 
Vancouver, BC
 
Experience: Beginner
Platform: Ninjatrader
Trading: emini's
Posts: 33 since Nov 2011
Thanks Given: 15
Thanks Received: 18

I'm looking for an ATR indicator that will display the average true range of whatever chart I've got open, expressing it as a number (not a line chart) on the price panel itself. I know Ninjatrader has its own ATR indicator, but it opens a new panel and displays ATR as a line chart - not at all what I want.

So for example, if I am looking at a 500 tick chart, I would like the ATR indicator to calculate the ATR of (however many look-back bars I tell it to) as a number right on the price chart; eg. "ATR = 35 ticks" or "ATR = 3.5 points". After the bar closes and a new bar starts printing, it automatically updates the ATR.

I'm sure this already exists somewhere, but I'm darned if I can find it! Pointing me in the right direction would be greatly appreciated. Thanks!


Started this thread Reply With Quote

 
  #2 (permalink)
 CKtalon 
Los Angeles/USA
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 5 since Aug 2012
Thanks Given: 9
Thanks Received: 1

Write/modify your own indicator.

 
Code
if(CurrentBar>Period)
{
    string text = string.Format("ATR({0}): {1}",Period,ATR(Period)[0]);
    DrawTextFixed("Nebraska", text ,  TextPosition.TopLeft);
}


Reply With Quote
  #3 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,581 since Oct 2009
Thanks Given: 4,267
Thanks Received: 6,212


neoharmonics have developed specialized ATR Tool which is free. Look at this web page and scroll down to the bottom. There is a video in which they describe its behavior. Hope this helps.

Free Indicators - | neoHarmonics.com


Reply With Quote
  #4 (permalink)
 w00dmann 
Vancouver, BC
 
Experience: Beginner
Platform: Ninjatrader
Trading: emini's
Posts: 33 since Nov 2011
Thanks Given: 15
Thanks Received: 18

Thanks CKTalon, but I have no idea how to create my own indicator. Is there a resource out there that will point me in the right direction of copying & pasting your code into a working indi?

Thanks again!


Started this thread Reply With Quote
  #5 (permalink)
 CKtalon 
Los Angeles/USA
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 5 since Aug 2012
Thanks Given: 9
Thanks Received: 1

Here you go.


Attached Files
Elite Membership required to download: ATRText.zip
Reply With Quote
  #6 (permalink)
explosif
Lacombe Alberta Canada
 
Posts: 1 since Mar 2015
Thanks Given: 0
Thanks Received: 0

Anyone know where I can find a copy of the neoHarmonics ATR tool mentioned above? The link seems to come up with a not found 404 error. A different type of "normalized" ATR would work also.

Thanks


Reply With Quote
  #7 (permalink)
 daytrade5 
Charlotte North Carolina
 
Experience: Advanced
Platform: mt4
Trading: EUR/USD
Posts: 1 since Jul 2011
Thanks Given: 0
Thanks Received: 0

Hi,

I was wondering if you ever found an indicator that displays the ATR value on the chart? I have no need to see a line in a separate panel.

Thanks!!!

Ken


Reply With Quote




Last Updated on January 31, 2023


© 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