The Expert Advisor is not stopped immediately as you call ExpertRemove(); just a flag to stop the EA operation is set. That is, any next event won't be processed, OnDeinit() will be called and the Expert Advisor will be unloaded and removed from the chart.
意思是说,碰到这个ExpertRemove()指令,只是设置一个停止运行的标识,等这一回合全部运行完了,就执行OnDeinit() ,退出EA。
微信公众号:天泓评测
发表评论