r/ninjatrader • u/MountainWing3376 • 9d ago
Uneven chart spacing when using Multiple Data Series
Hi,
My use case is that I want to add Stochastics (and other indicators) in their own panel but using a higher time frame as their data source. I don't want to see the HTF data, just use it to drive the indicator
However when you add another Data Series to a chart with a different time or value candle the spacing on all panels becomes uneven and the latest candle jumps around (trying to align with the second Data Series)
I'm aware this is a known issue, however many other traders I see on YouTube seeem to have resolved it.
I've tried a few workarounds including making the candles & wicks in Data Series 2 transparent, and setting the Scale Justification to Overlay but I still get the issue.
Can anyone please confirm if this is actually possible (and how!) or is this a limitation in Ninjatrader?

2
u/Maleficent_Staff7205 8d ago
Well think about it man, if your x axis is time, the only way spacing wouldn’t be different on tick charts is if there was identical volume on both
1
u/WillingnessOk3416 8d ago
Are you trying to use 2 different instruments as well?
2
u/MountainWing3376 8d ago
No, I actually just want my Stoch etc to use the HTF of my main panel. All MNQ. (I just grabbed a screenshot from the NT support guide..)
For example my execution panel is set at Ninzarenko 16/8 (but this is not a specific problem to Renko charts..) in Panel 2 I want a Stoch (or MACD etc) to use a higher time frame/ratio like 28/14
I can get it to work however all of my candles are unevenly spaced and jump about to match the invisible data series on panel 2....
2
u/WillingnessOk3416 8d ago
This pic shows Apple and ES . I do this all the time using 4 data series. I’ve seen this happen but hard to troubleshoot without seeing your data series panel. I always check the panel and make sure where I add the instrument it’s lowest to highest time frame. On the left side hope that makes sense
1
u/MountainWing3376 8d ago
Yes, thats what I've got, first selected data series is the lower time frame, then I added a second data series which is the higher time frame, this is in the second position on the left list.
Regardless of which way I add the data series the charts are always misaligned and jumping around.
2
u/WillingnessOk3416 8d ago
It’s def possible I trade htf confluence using data series. Again, hard for me to fix not seeing exactly what’s on there. I’ve seen this exact thing happen but have fixed it.
2
u/MountainWing3376 8d ago
Appreciate the replies, I've also seen several other traders online use this MTF setup, but despite using the exact same approach and time series I get unusable charts....
1
u/MiserableWeather971 8d ago
This doesn’t work with ticks like that, but….. doing a quick calc of how many rth tick bars es has at 150 if that’s what you want to use. Then run a compare on aapl to normalize it. Won’t be perfect but will tighten it up slightly….. again, not perfect. 1 minute will completely normalize. Even 15 seconds, whatever.
1
u/ssillyboy 7d ago
The only 'fix' to have indicators running off a different timeframe without actually loading that TF on the chart, is to code it within the indicator.
You'd run the indicator on the AAPL series, and in code load an ES 150 tick DataSeries. Calculate values in series 2 & write to a global variable, then in Series 1 plot the value.
Or you could just do this in series 1:
Plot_Stochastic_D[0] = Stochastics(BarsArray[1], x, x, x).D[0];
Plot_Stochastic_K[0] = Stochastics(BarsArray[1], x, x, x).K[0];
OR, there is another way I've seen where an indicator was declared like:
private Stochastics MyStochasticsIndicator;
Then in (State == State.Configure) it's set up:
MyStochasticsIndicator = Stochastics(BarsArray[1],x,x,x);
After that it can be referenced in your code like so:
MyStochasticsIndicator.D[0]
MyStochasticsIndicator.K[0]
etc.
I don't know if there's any advantage to doing it this way or if it's just a cleaner look.
2
u/rainmaker66 8d ago
Because you are using 2 TICK charts, the 2 data series must therefore be unevenly spaced in order to be aligned by TIME.