本版本仅支持单个订单交易手数<1的订单,如果单个订单交易手数>1,请订阅更高版本
本 EA 并非主动盈利,只利用交易时间增加交易次数达到节省掉期费用的目的。
工作原理:本 EA 在当日交易截止前,会生成 \MQL4\Experts\Orderhis_today.csv 文件用于记录当天已开仓的信息,生成 \MQL4\Experts\Orderhis.csv 文件用于记录运行本 EA 后所有的需要平仓的开仓信息,对需支付掉期费用的已开仓订单进行平仓,然后在交易次日开盘后读取 Orderhis_today.csv 补回前日已关闭的仓位,这样避免产生掉期费用。
1、 注意市场交易时间。市场报价 – 相应品种 – 规格,查看交易时间,根据券商的交易时间调整 EA 参数
2、 本 EA 仅平仓已开仓订单,对于 limit 和 stop 的挂单不做处理
免责声明:
1、 由于交易商、网络等不可控的原因过多,所以本产品不保证每个订单的交易都可以成功。
2、 挂单补仓价格由使用者通过设定回补价差参数自行调整
预期节省测算
以掉期 -9.4 测算,总交易量达 1 手,预计节约 9.4 美金。 32 手交易可以收回购买本 EA 的成本。
参数列表:Parameter list:
extern int closetime_hour=23; //0-23 设定当日收盘平仓时间-小时数 Set the closing time and hours of the day for closing positions
extern int closetime_min=50; //0-59 设定当日收盘平仓时间-分钟数 Set the closing time of the day in minutes
extern int opentime_hour=0; //0-23 设定次日开仓回补时间-小时数 Set the next day’s opening and replenishment time in hours
extern int opentime_min=16; //0-59 设定次日开仓回补时间-分钟数 Set the next day’s opening and replenishment time in minutes
extern int Friday_closetime_hour=23; //0-23 设定星期五临收盘平仓时间-小时数 Set the closing time and closing hours for Friday from 0 to 23
extern int Friday_closetime_min=50; //0-59 设定星期五临收盘平仓时间-分钟数 Set the closing time and closing time for Friday from 0 to 59 in minutes
extern int oc_slippage=8; //平仓允许的滑点 Allowable sliding points for closing positions
extern int open_spread=8; //回补价差:设定回补时,低于平仓价多少个点开仓 Cover up price difference: Set how many points below the closing price to open the position when covering up
extern bool Operation_type_switch=1; //回补交易类型开关。0: limit operation 1:operation(or LONG:bid<limit price;SHORT:Ask>limit price)
extern int Expiration_hour=8; //限价买入订单过期时间 limit order expiration after N hour