Dear Sir, Could you help me to change the code please T_T

 

I'm too new with this code, I've been try to fix it so many times and the result is False T_T

at first this script open 2 order (buy &sell) and 2 pending order (buylimit &selllimit)

step this EA is

BUY -> BUYLIMIT -> BUYLIMIT ...

SELL -> SELLLIMIT -> SELLLIMIT ...

I need your help to change the step to this

BUY -> SELLSTOP -> BUYSTOP -> SELLSTOP ...

SELL -> BUYSTOP -> SELLSTOP -> BUYSTOP ...

Best Regards,

Files:
kayaba.mq4  13 kb
Reason: