Updated ManualTrader_v1.2
Hi,
Please check out the updated ManualTrader_v1.2 with ability to set StopLosses by the Risk Factor.
Code:
//---- input parameters
extern string Expert_Name = "ManualTrader_v1.2";
extern int Magic = 0; // Magic Number
extern int Slippage = 3;
extern double RiskFactor = 5; // Risk Factor(in %) for StopLoss calculation
extern double StopLoss = 0; // StopLoss in pips
extern double TakeProfit = 100; // TakeProfit in pips
extern double TrailStop = 15; // Trailing Stop in pips
extern double TrailStopStep = 15; // Trailing Stop Step in pips
extern double PartCloseTgt = 50; // Partial Close Target in pips
extern double PartClosePct = 50.0; // Partial Close Position Percent
extern double BreakEven = 50; // Breakeven in pips
extern double PipsLockIn = 5; // Profit Lock in pips if Breakeven is achieved
extern int DebugMode = 1; // Switch of Debug mode (0-off;1-on)
extern int CommentMode = 1; // 0-Comment off,1-on
extern int ECN_Mode = 1; // 0-off,1-on(will modify Stoploss and TakeProfit)
extern int DrawTarget = 1; // 0-off,1-on
extern string forTest = "Parameters for Testing:";
extern double Lots = 1; // Trade Volume
extern int MA_period = 5; // MA period
extern int MA_mode = 0; // MA mode
Attachment 1546
Regards,
Igor