Is there equivalent function of ExpertRemove() on indicators. Indicator should be removed by itself by pressing button (like END) or in some
other condition.
Mokara:
Is there equivalent function of ExpertRemove() on indicators. Indicator should be removed by itself by pressing button (like END) or in some other condition.
Is there equivalent function of ExpertRemove() on indicators. Indicator should be removed by itself by pressing button (like END) or in some other condition.
Documentation on MQL5: Timeseries and Indicators Access / IndicatorRelease
- www.mql5.com
//| Test_IndicatorRelease.mq5 | //| Copyright 2010, MetaQuotes Software Corp. | //| https://www.mql5.com | //| Expert initialization function |...
Thanks. this works for me;
IndicatorSetString(INDICATOR_SHORTNAME, "SimSim");
...
ChartIndicatorDelete(0, 0, "SimSim");
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