MT5TurtleV2
- 专家
- Yan Xiong Xue
- 版本: 1.8
- 激活: 5
本策略相关代码开发视频链接:https://space.bilibili.com/2146696946?spm_id_from=333.1007.0.0
进场:
如果没有持仓,价格突破长周期(55)唐奇安通道上下轨进场
加仓:
1,间隔 ATR*AddCoef ficient 加仓一次,止损顺移2*ATR
2,最大持仓不超过MaxPositions
出场:
-1,初始止损:进场后2*ATR止损
2,跟踪止损1:价格突破10周期唐奇安通道出场
3,跟踪止损2:价格回撤N*ATR出场
建议加载周期:D1/H4
建议交易品种:GBPUSD|GBPJPY|USDJPY|XAUUSD|XTIUSD|CADJPY|GBPCAD|USTEC|BTCUSD|HK50|DE40|JP225
参数说明:
input group "=============== General Inputs ===================";
- CurrencyPairs = "GBPUSD|GBPJPY|USDJPY|XAUUSD|XTIUSD|CADJPY|GBPCAD|USTEC|BTCUSD|HK50|DE40|JP225"; //
- MagicNumber = 40902;
- Comment = "Turtle V8";
- TimeFrame = PERIOD_H4;
- RiskRatio = 1.0; // 0 -100
input group "=============== Positions Inputs =================";
- is add positions = false;
- ATR interval = 0.5;
- max positions count = 4; //
- max account positions = 12; //
input group "=============== Indicator Inputs =================";
- Entry Length = 55; // or 20
- ExitLength = 10;
- ATRPeriod = 20;
- stop loss factor = 2.0; //
input group "=============== ATR Trailing Stop Inputs ==========";
- IsTrailingStop = true;
- trailing factor = 1.0; // or 2.0
input group "=============== MA Filter Inputs =================";
- IsMaFilter = true;
- FastMaPeriod = 25;
- SlowMaPeriod = 350;
- MaMethod = MODE_EMA ;