Page 1 of 1

The Grinder

PostPosted: Mon Nov 04, 2019 5:27 pm
by EZB-Schmarotzer
Hello Sir,

here is another code from ProRealtime I would like you to convert into an MQL Expert Advisor.


Thanks for your work :)


__________________________________________

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

Re: The Grinder

PostPosted: Wed Nov 06, 2019 8:58 am
by Apprentice
Your request is added to the development list.
Development reference 288.

Re: The Grinder

PostPosted: Thu Nov 07, 2019 9:02 am
by Apprentice