Specification
Hello,
1. I need modification for this simple EA to make Martingle and Hedging Expert Advisor based on this video https://youtu.be/NGBPq_CSha8
2. And I need these settings: (I also attached the EA on attachment for your references)
extern bool BuyTrade = true;
extern bool SellTrade = true;
extern int MaxOpenTrades = 1;
extern double GridPips = 2;
extern double TP_Percent = 1;
extern double CL_Percent = -10;
int LotDigits; //initialized in OnInit
extern int MagicNumber = 0;
extern int TOD_From_Hour = 10; //time of the day (from hour)
extern int TOD_From_Min = 00; //time of the day (from min)
extern int TOD_To_Hour = 18; //time of the day (to hour)
extern int TOD_To_Min = 00; //time of the day (to min)
extern double MM_Percent = 1;
extern int MaxSlippage = 3; //slippage, adjusted in OnInit
extern int End_Day = 5;
extern int Time_Hour = 21;
extern int Time_Min = 00;
extern bool TradeMonday = true;
extern bool TradeTuesday = true;
extern bool TradeWednesday = true;
extern bool TradeThursday = true;
extern bool TradeFriday = true;
extern bool TradeSaturday = true;
extern bool TradeSunday = true;
datetime NextTime[4]; //initialized to 0, used in function TimeSignal
extern bool Send_Email = true;
extern bool Audible_Alerts = true;
extern bool Push_Notifications = true;
3. You must follow the existing coding structure to make it clean as possible. It's a long term working opportunities in the future.
Thanks