Buonasera,
sarebbe possibile al posto di essere tracciato il Fractal Channel, avere SOLO la freccia del punto più alto/basso come nella Metatrader 4?
grazie
Ci sono diversi indicatori FRACTAL nella libreria, ma non trovo FRACTAL CHANNEL, puoi postare un link al codice?
/////////// FRACTALS BILL WILLIAMS
//Variable:
//cp = 2 (default)
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 "Low Fractal",hil coloured(0,255,0) as "High Fractal"
/////////////end
Il codice adattato di seguito dovrebbe restituire il punto anziché le linee rette per tracciare il canale frattale:
/////////// FRACTALS BILL WILLIAMS
//Variable:
//cp = 2 (default)
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) style(point,2) as "Low Fractal",hil coloured(0,255,0) style(point,2) as "High Fractal"
/////////////end
Il canale frattale non è un indicatore MT4 predefinito e ci sono molte versioni su Internet, se hai in mente qualcosa di preciso, ti preghiamo di pubblicare schermate.