I'm calling an indicator from a #resource delared in a EA. I'm able to open a chart and add multiple instances of this indicator like below :
int handle = iCustom("BTCUSD",PERIOD_D1,"S_Monitor.ex5::S_Collector.ex5",TF[j],cht.ChartId(),"MACCACHE");
cht.IndicatorAdd(0,handle);
but then I cannot stop the process once the loop in the OnCalculate function is over. IndicatorRelease has no effect, either on the indicator itself or in the OnTick. I
Is threre a way to list indicators handles that are running? Closing the window is not enough .
Hi,
I'm calling an indicator from a #resource delared in a EA. I'm able to open a chart and add multiple instances of this indicator like below :
but then I cannot stop the process once the loop in the OnCalculate function is over. IndicatorRelease has no effect, either on the indicator itself or in the OnTick. I
Is threre a way to list indicators handles that are running? Closing the window is not enough .
Thank you