Has anyone used the "sleepafterxlosses" feature which I see in many of the EAs code.
Has anyone been able to get it to work?
I noticed the following code:
bool sleepafterxlosses=false; // ea sleeps after x consecutive losses
int xlosses=4; // x consecutive losses
int sleepminutes=60; // sleep minutes
Is there any other places in the code that needs to be changed to get this working, as I have tried changing the false to true but it still enters positions.
Funyoo, are you able to help answer this question, or is someone familiar with this. I would like to get this EA to sleep for 15 Minutes after 1 loss. In how many places within the code must I modify as I have tried the following, but it does not wait the 15 minutes before entering a new trade.
bool sleepafterxlosses=true;
int xlosses=1;
int sleepminutes=15;
Is there anything else or another area within the code that needs to be changed?