IF TIME =083000 THEN
dh=highest[30](high)
dl = lowest[30](low)
//Objectifs
P = (dh - dl)
TP1 = dh +1.5 * P
TP2 = dh +1.648 * P
TP3 = dh +2 * P
TP4 = dh +2.5 * P
TP5 = dh +2.618 * P
TP6 = dh +3.618 * P
TP7 = dh +4.236 * P
TP8 = dh +5.854 * P
TP9 = dh +7.472 * P
TP10 = dh +9.09 * P
TP11 = dh +14.32 * P
//Segments
DRAWSEGMENT(barindex-5,TP1,barindex,TP1) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP2,barindex,TP2) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP3,barindex,TP3) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP4,barindex,TP4) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP5,barindex,TP5) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP6,barindex,TP6) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP7,barindex,TP7) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP8,barindex,TP8) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP9,barindex,TP9) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP10,barindex,TP10) coloured(0,204,0)
DRAWSEGMENT(barindex-5,TP11,barindex,TP11) coloured(0,204,0)
//Texte
DRAWTEXT("TP1",barindex-10,TP1,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP2",barindex-10,TP2,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP3",barindex-10,TP3,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP4",barindex-10,TP4,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP5",barindex-10,TP5,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP6",barindex-10,TP6,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP7",barindex-10,TP7,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP8",barindex-10,TP8,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP9",barindex-10,TP9,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP10",barindex-10,TP10,SansSerif,Bold,16)coloured(0,204,0)
DRAWTEXT("TP11",barindex-10,TP11,SansSerif,Bold,16)coloured(0,204,0)
endif
RETURN