Experts: Periodic Range Breakout 2.0

 

Periodic Range Breakout 2.0:

Slightly improved version of the previous one.

Periodic Range Breakout 2.0

Author: Mokara

 
can have yr set param sir thx
 
2020.10.15 00:35:00.893 2020.04.22 19:57:26   failed market sell 0.05 EURUSD sl: 1.08679 tp: 1.07569 [Unsupported filling mode]

 

I got this error:


cannot convert 0 to enum 'ENUM_TRADE_REQUEST_ACTIONS' RangeBreakout2.mq5 344 28


 

you could change line 344-345 to:

MqlTradeRequest tReq = {};
MqlTradeResult tRes = {};
Improperly formatted code edited by moderator.