Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
NT7 will allow multiple time frame charts to overlay or in separate panels.
One of the problems with this is the x axis is hard coded to be in control by using 'Equidistant Bar Spacing" and setting it to FALSE.
The result of this is that all multiple time frame charts have gaps in the display of the charts.
(as in the image below)
Top image has two data series and the bottom a single series.
The top image has gaps in the display because of the equidistant = false on each series.
I know this question has been asked before:
Has anyone discovered a work-around via C# code to allow the charts to have one series dominant and the other as an 'overlay' on the chart.
Tks
Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Can you help answer these questions from other members on NexusFi?
Early in my learning to trade, I wanted to use a 5 minute chart but see inside the 5 minute bar to assess the price action during that bar a bit more clearly. For the longest I had 2 charts that I had to look at, 5 minute and 1 minute. I hated that. …
I think that this cannot be avoided. If you have two different Bar Series on your chart - say one built from ticks and the other one from time-based bars - at least one of them will be irregularly spaced.
Asking for the Impossible
However you still wish that indicators be drawn on your chart. This requires a drawing algorithm that uses either the bar count or the time stamp of each bar. Now assume that you select the tick chart as the dominant chart with equidistant bar spacing and adjust the minute chart to comply with the tick chart. What algorithm would you use to determine the correct spacing of the minute bars? And what algorithm would you use to display indicators on that minute chart? This a task that would be near impossible to accomplish.
For that reason NinjaTrader uses the time stamps of all bars to plot on multi-series charts. This information is availble for each bar, and indicators that are plotted on those bars can use a relatively simple algorithm for interpolating the data points by taking into account the time-interval between two consecutive time stamps.
So, if you think about it, you are asking for the impossible.
Multi-Series Charting with Equidistant Bars Restricted to Similar Bar Series
Some charting packages do have multi-timeseries charts with equidistant bar spacing, but this is only possible if you display a 5 minute against a 30 minute chart, or a 5-tick against a 30-tick chart. Even for two series of range bars this cannot be done, because a 30-range bar would not be composed of 6 5-range bars. And for mixed bar series, this is impossible, you will always get back to time to organize the incoming bars.
Indicator Values Can Be Projected on the Primary Bar Series
For indicators there is another option. You can code them in a way that the values are calculated from a secondary bar series, which is loaded by the indicator and then projected to the primary bar series. But then you will get the projection, which typically lags by a fraction of the last bar, and you will not get the original values displayed in line with the secondary bars where they were formed.
I saw that post and I've tried to use a similar method but still get the look shown in the image. I prefer Point O or Range bars and it seems as if they are a little stubborn about this similar to the reply Fat Tails made.
Thanks for the reply,
I expect that until NT changes this it will not be possible.
But I've found that the impossible just takes a bit longer.
No harm in checking to see if someone has found a work-a-round.
Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Perhaps this will develop into a solution.
I have a 'virtual bars' indicator that will create simulated bars/candles over an existing chart.
I will look into creating one that emulates the secondary timeframe bars for the types I'm using.
Thanks
Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Unless the secondary series consists of bars of variable duration whose life spans correspond to those of the primary series. But why would anyone want to do this?
Well, from these charts I can think of a few reasons.
I think, given the architecture of NinjaTrader, two differnt approaches are possible:
MultiPeriod Candles
You take the primary bar series from the chart, which is the smaller timeframe and then combine N candles into a larger teimframe candle. This is not difficult to code, but has some limitations.
-> the primary and secondary (painted) bar types need to be identical, that it you can only combine tick with tick bars, volume bars with volume bars, etc.
-> the higher timeframe needs to be an integer multiple of the lower timeframe
-> you can only apply this to tick and volume charts, but not to range charts, as unfortunately higher timeframe range
bars cannot be built from lower timeframe range bars
-> it is not needed for minute bars, because for minute bars equidistant and non-equidistant spacing gives (mostly) identical results
Multi-TimeFrame Indicator which loads a secondary bar series
I tihnk that it is possible to code a multi-timeframe indicator, which loads a secondary bar series, computes the candles for those bars and draws them onto the panel, where they belong. It would be sort of a challenge to determine the appropriate size for those secondary candles and make that size adjustable.
Hello Fat Tails and group,
Ninja's limitation of place 2 or more instrument tick/time frames on a single chart is most frustrating.
1) is there a way to unlock the equidistant option when more than one instrument is on the chart
2) is there a simple way to allow an indicator to read another tick/time frame, while being on a chart of a different tick/time?
I have been looking at some things from MicroTrends, but nothing similar to this.
Thanks, Ky
ps: a thx to "TMFT" for assistance a few weeks ago!!
1) Non-equidistant bars are simply bars that are aligned along a linear time axis. Equidistant bars distort time in order to achieve equidistant bar spacing. If you want to place several bar series on one chart, you have to settle for one specific timescale. NinjaTrader does not have the option to let you select the timescale, but settles for a linear time scale. This will make appear session breaks on your charts, and all bars that do not have fixed periods will be shown as non-equidistant bars.
I have you have a minute bar series and a tick bar series, at least one of those series will be always unevenly spaced, because they are not being plotted synchronously.
2) This is possible. It would be a multi-timeframe indicator. If you apply a multi-timeframe indicator to a chart, you can get around non-equidistant bar spacing, as long as only a single bar series is shown on the chart. However, multi-timeframe indicators are not really simple.