Please include a function in the generated MQL5 code that periodically checks to ensure any position placed by the EA has a stop-loss. Too many positions are being opened without a stop-loss even those the strategy stop-loss is a healthy one of over 50 pips. As things stand these EAs require manual supervision which defeats the objective of our noble automated pursuit.
Attachment XXXX.png added
Maybe this screen shot can help if not I'll upload the strategy.
It's just the standard SQX generated MT5 hedged MQL5 code.
thank you.
Status changed from New to Fixed
you can try to set a different filling mode if it does problems for your broker.
You can set the filling mode by modifying these two lines in MQL code:
const ENUM_ORDER_TYPE_FILLING preferredFillingType = ORDER_FILLING_FOK; -> choose the right filling mode const bool forceFillingType = false; -> set it to true
I had already tried the 3 filling modes on true and false but still had the same issue.
I've shelved this problem, for now but will come back to it in the future.