here is another code from ProRealtime I would like you to convert into an MQL Expert Advisor.
Thanks for your work
![Smile :)](./images/smilies/icon_e_smile.gif)
__________________________________________
Defparam cumulateorders = false
Defparam flatafter = 180000
n = 1
IF Time = 093000 THEN
haut = highest[2](high)
bas = lowest[2](low)
amplitude = haut - bas
buyer = 0
seller = 0
ENDIF
if Time > 093000 AND Time <= 180000 THEN
IF buyer = 0 THEN
buy n share at haut stop
ENDIF
IF seller = 0 THEN
sellshort n share at bas stop
ENDIF
ENDIF
If longonmarket THEN
buyer = 1
ENDIF
IF shortonmarket THEN
seller = 1
ENDIF
set stop ploss amplitude