Another data1, data2 thing

Questions about MultiCharts and user contributed studies.
User avatar
arnie
Posts: 1594
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 481 times
Been thanked: 514 times

Another data1, data2 thing

Postby arnie » 10 Sep 2014

I thought that by coding a study to use data1 data instead of plot the study based on data1 data would fix that annoying space between bars when we use the data2 resolution higher than the data1.

That space disappears when we hide the 2nd series but if the hidden series resolution is lower than the one we want to see and we have a study on that hidden series then that annoying space becomes visible.

The candles get almost no width and the last bar is always moving forward every, in this case, one minute till the end of the 5min period.
Naturally that we are talking about only 4 minute bars of distance between each 5min bar but imagine a 30min bar, that's 29min bars between each. That last 30min bar will move forward 29 times. And when we zoom in the space between them will be huge and when we zoom out the bars will have no width, it will look like a HL bar instead of a candle stick.

Is there a way to when we select hide it stays really hidden, independently of having studies based on it.
Most people plot studies based on higher resolutions onto lower ones but I do the opposite and it's this that ruins a chart visualization.

chart with a hidden lower resolution
Image

chart with a single series
Image
Attachments
MultiCharts2.png
(30.19 KiB) Downloaded 513 times
MultiCharts1.png
(30.81 KiB) Downloaded 504 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Another data1, data2 thing

Postby Henry MultiСharts » 11 Sep 2014

arnie, if there are indicators calculated on a hidden series then there is no way to completely eliminate it's indexes as they are required for indicator plot.

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Another data1, data2 thing

Postby JoshM » 13 Sep 2014

That space disappears when we hide the 2nd series but if the hidden series resolution is lower than the one we want to see and we have a study on that hidden series then that annoying space becomes visible.
Is there a way to when we select hide it stays really hidden, independently of having studies based on it.
Most people plot studies based on higher resolutions onto lower ones but I do the opposite and it's this that ruins a chart visualization.
arnie, if there are indicators calculated on a hidden series then there is no way to completely eliminate it's indexes as they are required for indicator plot.
But that's how it works 'behind the scenes' Henry. Why would does that need to affect the visual chart scaling in a detrimental way?

User avatar
arnie
Posts: 1594
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 481 times
Been thanked: 514 times

Re: Another data1, data2 thing

Postby arnie » 13 Sep 2014

But that's how it works 'behind the scenes' Henry. Why would does that need to affect the visual chart scaling in a detrimental way?
Exactly!
Wasn't the Hide option created to fix the visualization issue when we had 2 series and we wanted to hide one the only available option was to turn the bars invisible which would leave an open space between bars if the invisible bars were on a lower resolution?
And it works. When we have 2 series and we hide the lower resolution one, the higher resolution bars can be seen correctly, with their standard size.
But as soon we plot a study based on the hidden series it acts as if it was not hidden. That annoying space becomes once again visible ruining completely the visual experience.

So question is, what it's the purpose of the Hide option if in the end it acts as if the bars were invisible when we base a study on it?

OK, maybe technically this is not possible to do due to how MC builds a chart with several series, but again, the Hide option loses its usefulness.

I always saw the Hide option as simple way to surpass the lack of a global variable tool. One could easily base any study on one series and use it on another. Unfortunately that it's not the case.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Another data1, data2 thing

Postby Henry MultiСharts » 01 Oct 2014

The chart will visually mess up only if you select data series 2 in Format Indicator->Properties->Base study on.

That is possible to do without visually messing up the chart by making the data series hidden (Format->Instrument->Subchart:Hide) and referencing it from the code.


Return to “MultiCharts”