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




 
 

Free ATR that displays in Ticks ?? NT8

 
Mrhamster
San Francisco , CA
 
Posts: 23 since Aug 2022
Thanks Given: 21
Thanks Received: 10

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


Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
What broker to use for trading palladium futures
Commodities
Better Renko Gaps
The Elite Circle
 
 
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?

Thanked by:
 
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103



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.

Thanked by:
 
Mrhamster
San Francisco , CA
 
Posts: 23 since Aug 2022
Thanks Given: 21
Thanks Received: 10


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 !

 
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,176
Thanks Received: 6,020


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

You could also use this indicator:


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

 
 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/

Thanked by:
 
Mrhamster
San Francisco , CA
 
Posts: 23 since Aug 2022
Thanks Given: 21
Thanks Received: 10


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 ,

 
 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:	70
Size:	45.6 KB
ID:	326542   Click image for larger version

Name:	PriceInfo.JPG
Views:	67
Size:	29.6 KB
ID:	326543  
Thanked by:

 



Last Updated on August 22, 2022


© 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