krishya 发表于 2020-4-11 08:54:32

叠箱体源码

//+------------------------------------------------------------------+
//|                                       20191008_19895_EA.mq4 |
//|                        Copyright 2019, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#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;

slhuyun 发表于 2020-4-11 11:41:04

这个叠箱体源码怎么使用

jaryk 发表于 2020-4-11 19:27:27

适合趋势行情!!!!

aviva1234 发表于 2020-7-10 14:43:52

帮你顶下哈!!

dwphzymx 发表于 2020-7-24 14:24:38

帮你顶下哈!!

SPIDER23 发表于 2020-7-29 14:50:45

谢谢楼主分享

w09a5b3v 发表于 2020-8-3 21:20:32

帮你顶下哈!!

sten 发表于 2020-8-10 21:22:31

谢谢楼主分享

everything 发表于 2020-8-21 18:15:32

谢谢楼主分享

小罗宾 发表于 2020-11-13 14:07:12

支持下
页: [1] 2 3 4 5 6
查看完整版本: 叠箱体源码