NexusFi: Find Your Edge


Home Menu

 





Automatic Range Bars in Ninjatrader


Discussion in NinjaTrader

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




 
Search this Thread

Automatic Range Bars in Ninjatrader

  #1 (permalink)
 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 Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #2 (permalink)
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?

Reply With Quote
  #3 (permalink)
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.

Reply With Quote
  #4 (permalink)
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.

Reply With Quote
  #5 (permalink)
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.


Reply With Quote
  #6 (permalink)
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.

Reply With Quote




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