So even if I am looking at a 30 min chart, if I add the indicator to the chart, it will still be kept on a 1440 min chart and therefore its calculation will be made on a 1440 min chart.
Also I intend to call this indicator in a strategy based on intraday 30 min bars.
So if the indicator is already fixed on a 1440 min chart, I will not have to do much except call the indicator within my strategy.
Is there reference code on how this can be done or a function to do this ?
Comment