海龟交易系统 EA
EA参数
部分源码:
#property copyright "Copyright ?2006, Mikhail Veneracion" #property link ""
extern double Lots = 0.1; // Assign Fixed Lot Size to be traded,AutoLotSize must be false
extern int MaxUnits = 3, //Maximum units to trade per Currency Pair MagicNumber = 11282, EntryLookBack = 55, //Bars to lookback in calculating breakout prices ExitLookBack = 20, //Bars to lookback in calculating exit points ATRPeriod = 20; extern double SLMultiple = 2.5, //Multiply ATR by this to calculate StopLoss ReEntryMultiple = 0.5; //Multiple ATR by this to calculate Re Entry Point extern bool ATRBreakEven = false; //if set to true SL will be moved to break even level extern double BreakEvenMultiple = 2.5; extern bool LockProfit = true; extern double PipLockinStart = 50, //$ amount to start lock in LockinPercent = 30; |