NexusFi: Find Your Edge


Home Menu

 





Free ATR that displays in Ticks ?? NT8


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Mrhamster with 3 posts (0 thanks)
    2. looks_two Mativen with 2 posts (2 thanks)
    3. looks_3 Fat Tails with 1 posts (2 thanks)
    4. looks_4 trendisyourfriend with 1 posts (0 thanks)
    1. trending_up 3,869 views
    2. thumb_up 5 thanks given
    3. group 5 followers
    1. forum 7 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
Mrhamster
San Francisco , CA
 
Posts: 23 since Aug 2022
Thanks Given: 21
Thanks Received: 11

Anyone know of a good Free ATR that displays in Ticks , for NT8 ? Thank you ,


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The May 31 Binary: 60% Trump Declares Iran Ops Over, Onl …
Prediction Markets & Event Contracts
Ripple Prime Joins Nodal Clear as Clearing Member -- $3 …
Cryptocurrency
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
Q1 2026 Shatters All Derivatives Volume Records -- CME H …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
23 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
  #2 (permalink)
ClimberMel
Vancouver Canada
 
Posts: 9 since Dec 2011
Thanks Given: 1
Thanks Received: 6

The NT8 ATR indicator works on the charts selected period. So if you select 5 min chart it is based on bars of 5 minutes, select 300 tick chart and the ATR is based on 300 tick bars. Is that what you need or is there something more that you are looking for?


Reply With Quote
Thanked by:
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114



Mrhamster View Post
Anyone know of a good Free ATR that displays in Ticks , for NT8 ? Thank you ,

The ATR that ships with NinjaTrader displays in points. If you divide the points by the ticksize, you will get the ticks.

Just open the NinjaScript editor, then open the ATR indicator and replace lines 56 and 60 with the code below.

Line 56: Value[0] = (high0-low0) / TickSize; // the value is now calculated in ticks as opposed to points
Line 60: trueRange = (Math.Max(high0, close1) - Math.Min(low0, close1)) / TickSize; // the value is now calculated in ticks as opposed to points and code efficiency has been improved as well

Then save the file under a new name such as ATR2 and compile it via F5.

Not tested.

The NinjaTrader inbuilt ATR indicator - and including this modification - cannot be applied to other input series than price. Here is more room for improvement.


Reply With Quote
Thanked by:
  #4 (permalink)
Mrhamster
San Francisco , CA
 
Posts: 23 since Aug 2022
Thanks Given: 21
Thanks Received: 11


Fat Tails View Post
The ATR that ships with NinjaTrader displays in points. If you divide the points by the ticksize, you will get the ticks.

Just open the NinjaScript editor, then open the ATR indicator and replace lines 56 and 60 with the code below.

Line 56: Value[0] = (high0-low0) / TickSize; // the value is now calculated in ticks as opposed to points
Line 60: trueRange = (Math.Max(high0, close1) - Math.Min(low0, close1)) / TickSize; // the value is now calculated in ticks as opposed to points and code efficiency has been improved as well

Then save the file under a new name such as ATR2 and compile it via F5.

Not tested.

The NinjaTrader inbuilt ATR indicator - and including this modification - cannot be applied to other input series than price. Here is more room for improvement.

Thanks for the help !


Reply With Quote
  #5 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Legendary Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,580 since Oct 2009
Thanks Given: 4,266
Thanks Received: 6,199


Mrhamster View Post
Anyone know of a good Free ATR that displays in Ticks , for NT8 ? Thank you ,

You could also use this indicator:
https://nexusfi.com/local_links.php?linkid=2129

For ES and NQ
VALUE(ATR(14), 0) / 0.25


Reply With Quote
  #6 (permalink)
 Mativen 
Los Angeles, CA/USA
 
Experience: None
Platform: NT, TOS, TS
Broker: TD, TS, NT
Trading: Futures, SPY, QQQ
Posts: 8 since Aug 2020
Thanks Given: 8
Thanks Received: 11

check this indicator PriceInfo

https://ninjatraderecosystem.com/user-app-share-download/priceinfo-indicator/


Reply With Quote
Thanked by:
  #7 (permalink)
Mrhamster
San Francisco , CA
 
Posts: 23 since Aug 2022
Thanks Given: 21
Thanks Received: 11


Mativen View Post
check this indicator PriceInfo

That indicator is exactly what I've been looking for . But I load it with default settings and get this error message . I've also tweaked the settings but still get this error ,

"Unhandled exception . Object reference not set to an instance of an object . "

What settings do you use ? Does it only work on a Live account , no Demo accounts ?

Thanks ,


Reply With Quote
  #8 (permalink)
 Mativen 
Los Angeles, CA/USA
 
Experience: None
Platform: NT, TOS, TS
Broker: TD, TS, NT
Trading: Futures, SPY, QQQ
Posts: 8 since Aug 2020
Thanks Given: 8
Thanks Received: 11


Mrhamster View Post
That indicator is exactly what I've been looking for . But I load it with default settings and get this error message . I've also tweaked the settings but still get this error ,

"Unhandled exception . Object reference not set to an instance of an object . "

What settings do you use ? Does it only work on a Live account , no Demo accounts ?

Thanks ,

I have the same error as well. The account I am using is a Live account. Play around with different time frames, 5 minutes, 15 minutes, 1 minute, and wait for a few minutes. Whenever it works, it works well. Good luck.


Attached Thumbnails
Click image for larger version

Name:	PriceInfo properties.JPG
Views:	167
Size:	45.6 KB
ID:	326542   Click image for larger version

Name:	PriceInfo.JPG
Views:	179
Size:	29.6 KB
ID:	326543  
Reply With Quote
Thanked by:




Last Updated on August 22, 2022


© 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