krishya 发表于 2020-3-7 10:13:15

魔鬼式交易的网格EA源码

本帖最后由 krishya 于 2020-3-7 10:14 编辑

#property copyright "Copyright ?2020, Patrick Doucette"
#property link      ""
#property show_inputs

extern int uniqueGridMagic = 550000;
extern double Lots = 0.01;
extern double GridSize = 2.0;
extern double GridSteps = 6.0;
extern double TakeProfit = 6.0;
extern double StopLoss = 0.0;
extern int trailStop = 0;
extern double UpdateInterval = 1.0;
extern bool wantLongs = TRUE;
extern bool wantShorts = TRUE;
extern bool wantBreakout = TRUE;
extern bool wantCounter = TRUE;
extern bool limitEMA = TRUE;
extern int EMAperiod = 30;
extern double GridMaxOpen = 50.0;
extern bool UseMACD = TRUE;
extern bool UseOsMA = FALSE;
extern bool CloseOpenPositions = FALSE;
extern bool doHouseKeeping = TRUE;
extern double keepOpenTimeLimit = 0.0;
extern int emaFast = 12;
extern int emaSlow = 26;
extern int signalPeriod = 9;
extern int timeFrame = 0;
extern int minFromPrice = 0;
extern int tradeForMinutes = 0;
extern int gridOffset = 0;
extern double longGridCenter = 0.0;
extern double shortGridCenter = 0.0;
extern double longGridLow = 0.0;
extern double longGridHigh = 0.0;
extern double shortGridLow = 0.0;
extern double shortGridHigh = 0.0;
extern double profitTarget = 15000.0;
extern bool suspendGrid = FALSE;
extern bool shutdownGrid = FALSE;
string gs_grid_280 = "Grid";
double g_datetime_288 = 0.0;
double gd_unused_296 = 0.0;
double gd_304 = 0.0;
double gd_312 = 0.0;
double gd_320 = 0.0;
bool gi_328 = FALSE;
int g_count_332 = 0;
int g_count_336 = 0;
bool gi_340 = TRUE;
bool gi_344 = FALSE;

chinafa 发表于 2020-3-21 17:49:45

无法加载 没反应

qq794215 发表于 2020-6-9 10:43:36

帮帮顶顶!!

summer 发表于 2020-7-24 20:39:00

学习了,不错

hudson_tt 发表于 2020-7-28 10:00:12

学习了,不错

host 发表于 2020-9-4 19:47:39

帮你顶下哈!!

wijl 发表于 2020-11-10 16:01:37

{:1_181:}

zy10158319 发表于 2020-12-1 13:56:36

{:1_179:}

南方成分飞 发表于 2020-12-11 14:52:38

谢谢

why9250 发表于 2020-12-14 13:36:56

支持下
页: [1] 2 3 4
查看完整版本: 魔鬼式交易的网格EA源码