Pass indicator value from tick chart to minute chart

Questions about MultiCharts .NET and user contributed studies.
Murat35
Posts: 6
Joined: 13 Jan 2022

Pass indicator value from tick chart to minute chart

Postby Murat35 » 25 Jul 2022

Dear Members,

currently I am trying to calculate an indicator based on tick data (2000) and plot it into a minute chart. I tried to use the BarsofData(n) keyword but the indicator would only calculate at the end of the minute bar and is ignoring milisecond timestamp.

Is there a solution for doing this ? I also tried to load 2000 ticks as invisible bars into my one minute chart. This solved just a portion of the issue since plot markers are not visible and there is sometimes a big gap inbetween the bars.

Any help is appreciated !

User avatar
Svetlana MultiCharts
Posts: 567
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 150 times

Re: Pass indicator value from tick chart to minute chart

Postby Svetlana MultiCharts » 03 Aug 2022

Hi Murat35,

Indicator calculates on close of the base data series on historical data, it does not look inside a bar. What data series is your indicator based on? Please attach the workspace and exported indicator to demonstrate the issue.

Murat35
Posts: 6
Joined: 13 Jan 2022

Re: Pass indicator value from tick chart to minute chart

Postby Murat35 » 04 Aug 2022

Hi Svetlana,

I figured out that I can use SharedVar from f1x and use this software as a global variable storage.

Basically my indicator on the tick chart is calculating the value and stores it there. Another indicator on the minute chart is calling this value and plots it on the chart.


Return to “MultiCharts .NET”