Does anyone understand how to adapt an indicator to a range bar chart? For example when I add a MACD indicator to a range bar chart, it seems to be still oriented to a time-based version and does not sync up with the range chart. I have attached a screen shot example. I imagine it is an adjustment of the code.
Anyone understand how to do this?
Adapting indicators to range bar charts
-
- Posts: 2
- Joined: 30 Nov 2012
- Has thanked: 1 time
Adapting indicators to range bar charts
- Attachments
-
- range bar macd.PNG
- MACD added to a range bar chart
- (114.07 KiB) Downloaded 213 times
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: Adapting indicators to range bar charts
Hello Enlightenor,
If you have only 1 data series that is not time-based (points, for instance) and you apply any script to this data series it will be calculated only on it, so no on an time basis. Calculation of scripts is performed at the close of each bar, doesn't matter if it is time-based bar or not. The time scale at the bottom always shows time reference for any chart type and resolution.
If you have only 1 data series that is not time-based (points, for instance) and you apply any script to this data series it will be calculated only on it, so no on an time basis. Calculation of scripts is performed at the close of each bar, doesn't matter if it is time-based bar or not. The time scale at the bottom always shows time reference for any chart type and resolution.