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 trendisyourfriend with 1 posts (0 thanks)
    4. looks_4 ClimberMel with 1 posts (1 thanks)
    1. trending_up 2,399 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?
Top Pick Trading reviews?
Trading Reviews and Vendors
Any journaling software that accommodates multiple curre …
Traders Hideout
NinjaTrader indicator for last bar percentages
NinjaTrader
Need help Heiken Ashi system
NinjaTrader
Seeking Insights on Day Trading Options on Futures
Options
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
The Program
9 thanks
Has anyone ever built any type of simple twitter scraper …
2 thanks
Daytrading ES & NQ
2 thanks
Blue wave trading review
2 thanks
Want your NinjaTrader indicator created, free?
2 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, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,889 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,107



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,535 since Oct 2009
Thanks Given: 4,193
Thanks Received: 6,044


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

Name:	PriceInfo.JPG
Views:	82
Size:	29.6 KB
ID:	326543  
Reply With Quote
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 - Sitemap - Downloads - Top
no new posts