ExpertRemove
**Overview**
The ExpertRemove() function is used to stop an Expert Advisor (EA) and unload it from the chart it is currently running on.
**Syntax**
void ExpertRemove();
**Description**
Calling ExpertRemove() does not stop the Expert Advisor immediately. Instead, it sets an internal flag indicating that the EA should cease operation. In subsequent steps:
1. The EA will no longer process any new events.
2. The OnDeinit() function will be called.
3. The Expert Advisor will be unloaded and removed from the chart.
**Return Value**
This function does not return any value (void).
**Notes**
ExpertRemove() call, following the sequence described above.**See Also**
Previous
arrow_back
Debugbreak