|
指标EA在汉化过程中,有的添加#property strict ,之后在编译,就会出现错误,怎么解决就是下边的第一行代码,#property strict //#property strict extern string 自动止损参数="默认打开"; extern bool AutoStoploss=True; extern double stoploss= 5000; extern string 自动止盈参数="默认打开"; extern bool AutoTakeProfit=True; extern double takeprofit=6666; extern string 盈利后移动止损="默认打开"; extern bool AutoTrailingStop=true; extern double TrailingStop = 1555; extern string 分次离场参数="按比例分步撤退"; extern bool Gradually = False; //分次离场 extern int GraduallyNum = 2; //渐进式 |
EA发布区