Download MetaTrader 5

Programmatically Removing Indicators from the Chart

To add comments, please log in or register
vivs
48
vivs  

How can ALL indicators be removed from the chart, programmatically?

Thanks 

honest_knave
Moderator
2408
honest_knave  

ChartIndicatorsTotal

ChartIndicatorName

ChartIndicatorDelete

Loop through all the indicators, and run ChartIndicatorDelete on each one.

vivs
48
vivs  
Thanks for command hints!
To add comments, please log in or register