It does not work the same way as ExpertRemove but it might work depending on how you implement it.
Removes an indicator with a specified name from the specified chart window
![Documentation on MQL5: Chart Operations / ChartIndicatorDelete Documentation on MQL5: Chart Operations / ChartIndicatorDelete](https://c.mql5.com/36/63/documentation-on-mql5-chart-operations.png)
Documentation on MQL5: Chart Operations / ChartIndicatorDelete
- www.mql5.com
ChartIndicatorDelete - Chart Operations - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
//+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { IndicatorShortName("indicator01"); //.... } //- - - condition ChartIndicatorDelete(0,0,"indicator01");
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Is there a command to remove the Indicator from the condition?
similar
ExpertRemove()