EA stopped because of Stop Out
I am in the same situation.
I got "stopped because of Stop out" for every first order.
Testing system alway close order then stop testing progress.
I have read many topic about this but it was not clear to me at all.
How can I solve this problem.
Please help me.
domanhh@gmail.com
Found the problem yet ? I got just the same problem? can it be the variable overflow?? int, and double===> something like the memory registration failed...?? I got it when I have my EA flooded with lots of money! ^^
Don't double post, don't dredge up 7 year old threads for no good reason. You have been warned. https://www.mql5.com/en/forum/115985
Thread start date - 2006.04.19
I have the some problem,
I solved
my error was an expresion that increment LOT in any tick and crash the EA with message "stopped because stop off"
- You place the stop where it needs to be - where the reason for the trade is no longer valid. E.g. trading a support bounce the stop goes below the support.
- Account Balance * percent/100 = RISK = OrderLots * (|OrderOpenPrice - OrderStopLoss| * DeltaPerLot + CommissionPerLot) (Note OOP-OSL includes the SPREAD, and DeltaPerLot is usually around $10/pip but it takes account of the exchange rates of the pair vs. your account currency.)
- Do NOT use TickValue by itself - DeltaPerLot
- You must normalize lots
properly and check against min and max.
- You must also check FreeMargin to avoid stop out
What does it means ?