NexusFi: Find Your Edge


Home Menu

 





Automatic Range Bars in Ninjatrader


Discussion in NinjaTrader

Updated
    1. trending_up 3,303 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
 

Automatic Range Bars in Ninjatrader

 
 macguy 
Seattle WA
 
Experience: Advanced
Posts: 12 since Sep 2012
Thanks Given: 2
Thanks Received: 38

Hi all.

I use NinjaTrader for trading futures and also some features of Thinkorswim. Specifically, the latest iteration of TOS added a candle type called ATR Bars (Average True Range Bars). Described simply, it takes the length of the chart you have selected, calq's the atr, then automatically plots each bar based on that calq'ed range.

My question is this. I have tried to duplicate this in NinjaTrader without success. Has anyone seen code that would allow for the automatic calculation of ATR then create the bars based on the result; including the wicks and tails?

It is immensely helpful in my Crude, ES, and other trending trades.

Thanks for you help in advance.

Started this thread
The following user says Thank You to macguy for this post:

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
Battlestations: Show us your trading desks!
48 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

 
ycomp
Europe-ish
 
Posts: 177 since Sep 2013
Thanks Given: 12
Thanks Received: 58

I'm not sure if it is even technically possible...

has anyone seen an ATR range or renko bar type for ninjatrader?

 
drm7
Virginia
 
Posts: 49 since Oct 2010
Thanks Given: 192
Thanks Received: 47


Tradingview has ATR based Renko/Kagi/PnF charts, BUT...

...the ATR doesn't dynamically update. It builds the entire chart history based on the current ATR, and locks in that ATR for bar calculation purposes for future bars. The only way I use this ATR function is to calibrate an unfamiliar market.

 
ycomp
Europe-ish
 
Posts: 177 since Sep 2013
Thanks Given: 12
Thanks Received: 58

What I mean is I'm unsure if you can access bar data in NinjaTrader in a bar type... but I'm by no means an expert.

 
ycomp
Europe-ish
 
Posts: 177 since Sep 2013
Thanks Given: 12
Thanks Received: 58


drm7 View Post
Tradingview has ATR based Renko/Kagi/PnF charts, BUT...

...the ATR doesn't dynamically update. It builds the entire chart history based on the current ATR, and locks in that ATR for bar calculation purposes for future bars. The only way I use this ATR function is to calibrate an unfamiliar market.

ah yeah I was thinking before that would be useful because I was sick of typing different values in for different symbols.

But for me what would be really interesting to play with is one that actively updates the range, theoretically making you pay less attention to quiet bars and more attention to active ones.


 
ycomp
Europe-ish
 
Posts: 177 since Sep 2013
Thanks Given: 12
Thanks Received: 58

ok, forget what I said about it might not be possible. I was misremembering.. it is possible to access bar data in a bar type.


 




Last Updated on June 10, 2018


© 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