Outil point pivot 4H Futures à la mano

par TT32 » 20 sept. 2019 10:58

Bonjour,

Je partage mon indicateur pour les points pivots 4H Futures sur graphiques cfd à risque limité
- évidemment qu'il faut changer toutes ces données toutes les 4H

J'ai fais ce petit indicateur pour moi en plus d'utiliser l'indicateur de Robinhood :
pp-points-pivots-solution-stable-pour-t ... 28679.html

si ça peut servir à quelqu'un :top:

Code : #

defparam drawonlastbaronly = true

// Calcul Points Pivots 4h

// DOW 7h - 11h - 15h - 19h - 23h
if close>20000 and close<30000 then
Res3 = 0
Res2 = 0
Res1 = 0
PP = 0
Sup1 = 0
Sup2 = 0
Sup3 = 0
endif
// DAX  8h 12h - 16h - 20h - 0h
if close>9000 and close<15000 then
Res3 = 0
Res2 = 0
Res1 = 0
PP = 0
Sup1 = 0
Sup2 = 0
Sup3 = 0
endif
// CAC 8h 12h - 16h - 20h - 0h
if close>4000 and close<6000 then
Res3 = 0
Res2 = 0
Res1 = 0
PP = 0
Sup1 = 0
Sup2 = 0
Sup3 = 0
endif
// NASDAQ 7h - 11h - 15h - 19h - 23h
if close>6001 and close<8500 then
Res3 = 0
Res2 = 0
Res1 = 0
PP = 0
Sup1 = 0
Sup2 = 0
Sup3 = 0
endif
// SP500 7h - 11h - 15h - 19h - 23h
if close>1900 and close<3200 then
Res3 = 0
Res2 = 0
Res1 = 0
PP = 0
Sup1 = 0
Sup2 = 0
Sup3 = 0
endif

// distance en hauteur du texte sur les barres
Voffset = 1 * 0.7

DRAWHLINE(Res1) coloured (250,141,141)
DRAWHLINE(Res2) coloured (250,141,141)
DRAWHLINE(Res3) coloured (250,141,141)

DRAWHLINE(PP) Coloured (115, 115, 115)

DRAWHLINE(Sup1) Coloured (130, 176, 128)
DRAWHLINE(Sup2) Coloured (130, 176, 128)
DRAWHLINE(Sup3) Coloured (130, 176, 128)

// rajouter des espaces si vous voulez les points plus loins
DRAWTEXT("                  R1 h4",barindex,Res1 + Voffset,SansSerif)coloured(250,141,141)
DRAWTEXT("                  R2 h4",barindex,Res2 + Voffset,SansSerif)coloured(250,141,141)
DRAWTEXT("                  R3 h4",barindex,Res3 + Voffset,SansSerif)coloured(250,141,141)
DRAWTEXT("                  PP h4",barindex,PP + Voffset,SansSerif)coloured(115, 115, 115)
DRAWTEXT("                  S1 h4",barindex,Sup1 + Voffset,SansSerif)coloured(130, 176, 128)
DRAWTEXT("                  S2 h4",barindex,Sup2 + Voffset,SansSerif)coloured(130, 176, 128)
DRAWTEXT("                  S3 h4",barindex,Sup3 + Voffset,SansSerif)coloured(130, 176, 128)

RETURN