FFT (Fractal Forex Trader)

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

FFT (Fractal Forex Trader)

Postby EZB-Schmarotzer » Mon Nov 04, 2019 11:19 am

Hello Sir,

as you are doing a great job here, I'd like you to convert the following code from ProRealtime into an MQL 4 Expert Advisor


TIA

-----------------------------



// --- settings
//leftp = 4
//rightp = 2
// --- end of settings

period=max(4,2) //Please add this as a variable
hh = highest[period](high)
ll = lowest[period](low)

if hh<>hh[1] then
hhprice=high
top=hhprice
endif
if ll<>ll[1] then
llprice=low
bottom=llprice
endif

if high crosses over top and lastsig<=0 then
buy 1 shares at market
lastsig=1
endif
if low crosses under bottom and lastsig>=0 then
sellshort 1 shares at market
lastsig=-1
endif
EZB-Schmarotzer
 
Posts: 17
Joined: Mon Oct 28, 2019 10:00 am

Re: FFT (Fractal Forex Trader)

Postby Apprentice » Mon Nov 04, 2019 1:15 pm

Your request is added to the development list.
Development reference 277.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23173
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 11 guests