麻烦写EA的高手解释一下意思!谢谢了

 

extern double slip = 3.0;
extern double Lots = 0.01;
extern double LotsDigits = 2.0;
extern double TakeProfit = 8.0;
double g_pips_128 = 0.0;
double gd_136 = 0.0;
double gd_144 = 0.0;
extern double PipStep = 17.0;
extern int MaxTrades = 10;
extern bool UseEquityStop = FALSE;
extern double TotalEquityRisk = 20.0;
extern bool UseTrailingStop = FALSE;
extern bool UseTimeOut = FALSE;
extern double MaxTradeOpenHours = 0.0;

 

只是定义了一些变量,变量的名字是自己起的,应该没有什么特别的意思吧。

 
cicilgl:

extern double slip = 3.0;//滑点数
extern double Lots = 0.01;//建仓手数
extern double LotsDigits = 2.0;//点差
extern double TakeProfit = 8.0;//获利
uble g_pips_128 = 0.0;//相关参数变量
gd_136 = 0.0;//
uble gd_144 = 0.0;//
tern double PipStep = 17.0;//外围交易点
ern int MaxTrades = 10;//最大交易手数
tern bool UseEquityStop = FALSE;//使用平衡止损
double TotalEquityRisk = 20.0;//总的风险值
tern bool UseTrailingStop = FALSE;//使用追踪止损
rn bool UseTimeOut = FALSE;//使用结束时间
tern double MaxTradeOpenHours = 0.0;//最大交易开放时间

原因: