Sample
start() { static int todayTrades = 0; static int currentDay = 0; if (currentDay != Day()) { currentDay = Day(); todayTrades = 0; } if (todayTrades < 3) { if (conditionToOpenPosiztion) { int ticket = OrderSend(...); if (ticket > 0) todayTrades ++; } } }
Dear Rosh,
tks for your kindly help.
good day.
Dear Rosh,
If the sumber of my EA's traders for everday over 3 times, it would get more loss.
Pls help me the code to limit the sumber of traders for everday. tks a lots.