DislikedMiddleastern,
Good job !!
Thanks.
You can use "MarketInfo(Symbol(),MODE_STOPLEVEL)" to check if the SL is smaller than allowed and adjust to broker's minimum if the SL is smaller.
G.Ignored
Hi G.,
I´ve no idea how to use that MarketInfo function. Must take a look at the mql website to learn how. Not today though. If you have the time (or anyone with some coding skills for that matter), take a look at the EA´s SL and TP calculations and look for bugs. I tested it on two pairs and seems to be working ok (except for the broker minimum SL thingy, that is), but I don´t trust myself too much.
What´s the SL and trailing stop you usually apply on Gadi_OBV breakouts?
Thanks,
M.