Can anyone tell me how I can get Fractals on the prorealtrade platform?
Cheers..
Please find below the code for the Bill Williams Fractals indicator (found on the web from the SOHOCOOL website);
/////////// FRACTALS DE BILL WILLIAMS
//Varible = cp - par défaut =2
if high[cp] >= highest[2*cp+1](high) then
LH = 1
else
LH=0
endif
if low[cp] <= lowest[2*cp+1](low) then
LL= -1
else
LL=0
endif
if LH=1 then
hil = high[cp]
endif
if LL = -1 then
LOL=low[cp]
endif
return lol coloured(255,0,0) as "bas",hil coloured(0,255,0) as"haut"
/////////////fin
You have to set the variables on points mode for a clearer view of the fractals points on the price chart. (see picture attached).
I’ll add this indicator to the library since it’s a common request.