ZeroLevel.mq4:
The script make TakeProfit and StopLoss on price, where total profit for all of the opened positions will have non-negative.
Author: Vadim
新文章 轻松快捷开发 MetaTrader 程序的函数库(第十八部分):帐户与任意其他函数库对象之间的交互 已发布: 本文将帐户对象的操作安置于任意函数库对象的新基准对象之上,改进了 CBaseObj 基准对象,并测试了设置跟踪参数,以及接收任意函数库对象事件。 编译 EA,在测试器设置中为 StopLoss in points 和 TakeProfit in points 参数设置零值。 对于 Mode of used symbols list 参数,选择 "Work only with the current symbol",和 M15 Last month ,并启动可视 EA 测试: