//+——————————————————————+
//| 20191008_19895_EA.mq4 |
//| Copyright 2019, MetaQuotes Software Corp. |
//|
//+——————————————————————+
#property copyright “Copyright 2019, MetaQuotes Software Corp.”
#property link “https://www.mql5.com”
#property version “1.00”
#property strict
//+——————————————————————+
//| Expert initialization function |
//+——————————————————————+
//2箱体联动
enum XZ
{
X=0,//单箱体止盈
Y=1,//两箱体止盈
};
extern double Lots=0.01;//下单手数
extern double Grid=100;//网格点数
extern int N=5;//箱体层数
extern double addN1=1.5;//首单突破单倍数
extern double addN2=2;//以后突破单倍数
extern XZ TPMethod=0;//止盈选择
extern double Earn=4;//止盈金额
extern bool UseMoveSL=true;//开启移动止盈
extern double Earn_N=25;//止盈点数
extern double BackDot=10;//回调点数
extern bool UseTwo=true;//启动第二箱体
extern double MaxLot=8;//变更突破倍率最大手数
extern double addN3=1;//最终固定突破倍率
extern double Percent=50;//清仓亏损百分比
string comA=”箱体A”;
string comB=”箱体B”;
int magA=17653,magB=86524;;
double MoveEarn_total=0,MoveEarn_a=0,MoveEarn_b=0;
【下载必读】如何下载本站资源:*本站资源全部免费下载,请加QQ群:390899525,验证消息【外汇EA】,通过后在【群文件】搜索名称下载!群内禁发广告,每个QQ仅1次申请资格,请珍惜!