个大家分享一个EA源码
extern int Magic = 4698523;
extern string EA_Comment = "";
extern double MaxSpread = 3.5;最大点差
...
个大家分享一个EA源码
extern int Magic = 4698523;
extern string EA_Comment = "";
extern double MaxSpread = 3.5;最大点差
extern int Slippage = 2;
int Gi_100 = 3;
int Gi_104 = 3;
extern bool StealthMode = FALSE;
bool Gi_112 = TRUE;
extern bool CloseOnlyOnProfit = FALSE;
extern bool NFA = FALSE;
extern bool No_Hedge = FALSE;
extern string CS = "==== Custom Settings ====";
extern int StopLoss = -1;
extern int TakeProfit = -1;
extern int SecureProfit = -1;
extern int SecureProfitTriger = -1;
extern bool UseCustomPair = TRUE;
extern string UseSettingsFrom = "EURUSD";
extern string MM = "==== Risk Management ====";
extern bool RecoveryMode = FALSE;
extern double FixedLots = 0.1;
extern double AutoMM = 0.0;
extern double AutoMM_Max = 20.0;
extern int MaxAccountTrades = 0;
extern string FE = "==== Monday-Friday Rules ====";
extern int MondayStartHour = 0;
extern bool FridayExit = FALSE;
extern int LastTradeHour = 19;
extern int ExitHour = 20;
extern string NF = "==== News Filter Settings ====";
extern bool AvoidNews = FALSE;
extern int MinimumImpact = 3;
extern int MinsBeforeNews = 60;
extern int MinsAfterNews = 30;
|
|
|
|
|
DDD