I tested these sample codes for delete indicator on the chart:
The "ChartIndicatorDelete" function works for delete self indicator.
But can not delete another indicators from chart.
Return false for another indicators. and also "GetLastError()" returned:
mql4: Error code 0 , No error returned.
mql5: Error code 4115 , Error deleting an indicator from the chart.
Finally "ChartIndicatorDelete" does can delete any indicators?
It can do it, ut you have to search for the handle and delete the indicator with the handle, read the manuel
Thanks, I know about handle and IndicatorRelease for delete indicator.
But my question was about "ChartIndicatorDelete" and it was very clear, please read carefully.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.