Tâche terminée
Spécifications
Hi, can someone please update my Pending Order EA, this is how the ea looks like, it already has Starting time, Lot size etc..
//--- Inputs already in the EA.
input string Starting_time = "12:30:45"; // Starting time
input double Lot_size = 1.0; // Lot size
input bool Move_with_price = true; // Move with price
input int Buy_stop_distance = 50; // Buy stop distance
input bool Duplicate_buy_stop = false; // Duplicate buy stop
input int Sell_stop_distance = 50; // Sell stop distance
input bool Duplicate_sell_stop = false; // Duplicate sell stop
input int Magic_number = 50; // Magic number
---------------------------------------------------------------------
This is what has to be combined with the EA.
input bool Every_week = true; // Every week
input bool Monday = true; // Monday
input bool Tuesday = true; // Tuesday
input bool Wednesday = true; // Wednesday
input bool Thursday = true; // Thursday
input bool Friday = true; // Friday
input bool Saturday = false; // Saturday
input bool Sunday = false; // Sunday
- If I choose "Every_week = true" and for example "Wednesday is also true" then the EA has to place the pending orders every Wednesday.
- If I choose "Every_week = false" then the EA won't place orders in the next weeks.
- If I choose "Every_week = false" and for example "Monday = true" then the EA will place the orders just only in that Monday, it won't repeat it the next weeks.
- If I choose "Every_week = false" and for example "Tuesday = false" the EA won't place nothing at all on Tuesday, also in the next Tuesday's, it won't place anything.
- What also has to be updated in the Pending Order EA is if I log off and log on again then it won't place new orders.
- Also if I switch from accounts, the EA won't place new pending orders.
Thanks in advance.
The file is mg5 format, if you can update it then I wll send you the Expert Advisor.