本 EA 交易在仓位的利润点数超过 EA 输入参数中指定的固定阈值时会加仓。
增加的数据保存在字符串型的注释中,格式如下: 加仓次数/最近交易价格/最近交易量。
当新柱出现时进行交易。
//+----------------------------------------------+
//| EA 指标的输入参数 |
//+----------------------------------------------+
input double MM=0.1; //加仓占存款的比例
input MarginMode MMMode=LOT; //手数检测方法
input uint OldProfit=300; //加仓时之前利润的点数
input uint PosTotal=10; //加仓次数
input uint StopLoss_=1000; //止损点数
input uint TakeProfit_=2000; //获利点数
input int Deviation_=10; //最大价格偏移点数
//+----------------------------------------------+
//| EA 指标的输入参数 |
//+----------------------------------------------+
input double MM=0.1; //加仓占存款的比例
input MarginMode MMMode=LOT; //手数检测方法
input uint OldProfit=300; //加仓时之前利润的点数
input uint PosTotal=10; //加仓次数
input uint StopLoss_=1000; //止损点数
input uint TakeProfit_=2000; //获利点数
input int Deviation_=10; //最大价格偏移点数
//+----------------------------------------------+
图 1. 图表上交易的示例
由MetaQuotes Ltd译自俄语
原代码: https://www.mql5.com/ru/code/16831

Waddah_Attar_Trend 指标,有提醒, 发送电子邮件和推送通知的功能。

本EA交易使用了斐波那契水平线和 iSAR 指标 - 抛物线止损和保留系统。交易是通过限价买入和限价卖出订单来进行的。