programmation d'indicateurs techniques pour Prorealtime ,et Metatrader.
//Gann hilow moyenne multiple
//variable p= période moyenne --défaut =5
//variable t= type de la moyenne --- défaut =0 (simple)
a1= average[p,t](high)[1]
b1=average[p,t](low)[1]
if customclose > a1 then
c1 = 1
Else
IF customclose < b1 then
c1=-1
endif
ENDIF
if c1= -1 then
D1 = a1
cc=-1
ELSE
D1=b1
cc=1
endif
return D1 coloured by cc as "gann hilow"
//////fin du code
