Forum

OnChartEvent() ... does not work in Indicator but in strategy do.

dear, can OnChartEvent() work in indicator? ( according to manual yes) but this code as indicator doesn't work. Do you know why, please? //+------------------------------------------------------------------+ //| ChartEvent function |