I've reached this solution, if anyone is interested.
int subwindows=ChartGetInteger(0,CHART_WINDOWS_TOTAL); for(int i=subwindows;i>=0;i--) { int indicators=ChartIndicatorsTotal(0,i); for(int j=indicators-1; j>=0; j--) { ChartIndicatorDelete(0,i,ChartIndicatorName(0,i,j)); } }
Henrique Vilela:
I've reached this solution, if anyone is interested.
how can we youse this..
bekdemir06:
I'm using it to clean up the chart when my EA is started.
how can we youse this..
Henrique Vilela:
I'm using it to clean up the chart when my EA is started.
I'm using it to clean up the chart when my EA is started.
Thank you its perfect for my needs i was just about start working on the same tool.
Obrigado Henrique!
Henrique Vilela:
I've reached this solution, if anyone is interested.
Thank you, works just fine!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
There's a way to iterate over all indicators to remove them all?
Thanks.