Is there a command to remove the Indicator from the condition?
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
- 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");
Is there a command to remove the Indicator from the condition?
similar
ExpertRemove()