PP Points pivots - Solution stable pour tous V3

Zone de développement des applications API, des logiciels et utilitaires développés par les membres du forum
Avatar du membre
Philoo
Ewok
Messages : 21
Enregistré le : 13 juil. 2018 14:45

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Philoo »

oui j'etais a 25 880 sur les cfd à risque limité pour le point pivot.. j'ai du faire une erreur quelque part. aujourd'hui j'ai 25 700, je ne sais s'il est bon...
Avatar du membre
Robinhood
Compagnon Jedi
Messages : 1354
Enregistré le : 24 juil. 2018 14:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Robinhood »

@Philoo : aujourd'hui PP daily Futures dow 25789 vs prt CF.D Futures 25797.4 (graphiquement).

En live le spread est à 20 soit un PP daily CF.D cash dow à 25789+20=25809.
Avatar du membre
Philoo
Ewok
Messages : 21
Enregistré le : 13 juil. 2018 14:45

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Philoo »

Parfait, j'ai les mêmes valeurs. Un grand merci a toi Robinhood :mercichinois:
TT32

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par TT32 »

J'ai fait quelques petits changements au niveau de l'apparence ajoutant une ligne dessus/dessous pour les hebdo-mensuels afin que ça donne une impression d'épaisseur et mis des espaces avant les textes pour qu'ils apparaissent après le prix aussi
Rien de foufou mais comme je l'ai fait pour moi je voulais le partager

Merci encore Robinhood, c'est vraiment un musthave :top:

Image

Code : #

REM PP Futures sur graphiques cfd à risque limité à risque limité futures (v.3)
REM Diff= cfd à risque limité à risque limité cash - cfd à risque limité à risque limité futures = 0
REM Attention à bien prendre le contrat future le plus liquide (= échance la plus proche) et en lot plein. Attention aussi à bien roller !

defparam drawonlastbaronly = true

///////////////////////////////////// VARIABLES /////////////////////////////////////////

// DOW
if close>20000 and close<30000 then
diff=15.4
HighJ=26394
LowJ=26074
SettlementJ=26268
// CashCloseJ yes but no merci
HighH=26460
LowH=25032
SettlementH=26268
HighM=27397
LowM=26609
SettlementM=26855
// décalage vertical texte/lignes horizontales
Voffset=4*pointsize
endif

// DAX
if close>9000 and close<15000 then
diff=9.9
HighJ=11853
LowJ=11662
SettlementJ=11670
// CashCloseJ yes but no merci
HighH=11900
LowH=11435
SettlementH=11670
HighM=12650
LowM=12036
SettlementM=12184.5
// décalage vertical texte/lignes horizontales
Voffset=2*pointsize
endif

// CAC
if close>4000 and close<6000 then
diff=1.4
HighJ=5376
LowJ=5316
SettlementJ=5326.5
// CashCloseJ yes but no merci
HighH=5388
LowH=5187
SettlementH=5326.5
HighM=5672.5
LowM=5461
SettlementM=5518.5
// décalage vertical texte/lignes horizontales
Voffset=1*pointsize
endif

// NASDAQ
if close>6000 and close<8500 then
diff=0
HighJ=7559.25
LowJ=7361.5
SettlementJ=7391.75
// CashCloseJ yes but no merci
HighH=7641
LowH=7290
SettlementH=7511.5
HighM=7879.5
LowM=7428.5
SettlementM=7800
// décalage vertical texte/lignes horizontales
Voffset=1*pointsize
endif

// SP500
if close>1900 and close<3200 then
diff=0
HighJ=2876.5
LowJ=2832.5
SettlementJ=2844
// CashCloseJ yes but no merci
HighH=2894
LowH=2799.75
SettlementH=2862
HighM=2956.5
LowM=2844.5
SettlementM=2948.5
// décalage vertical texte/lignes horizontales
Voffset=1*pointsize
endif

// RUSSEL2000
if close>1500 and close<2000 then
diff=0
HighJ=1547.4
LowJ=1522.1
SettlementJ=1526.8
// CashCloseJ yes but no merci
HighH=1570.4
LowH=1516.7
SettlementH=1537.6
HighM=1607.6
LowM=1545.9
SettlementM=1594.2
// décalage vertical texte/lignes horizontales
Voffset=1*pointsize
endif

// indice anglais
if close>6000 and close<8000 then
diff=0
HighJ=7357
LowJ=7252.5
SettlementJ=7288
// CashCloseJ yes but no merci
HighH=7349
LowH=7095
SettlementH=7335.5
HighM=7474
LowM=7221.5
SettlementM=7371.5
endif


////////////////////////////////////// CALCULS //////////////////////////////////////////

// POINTS PIVOTS JOURNALIERS
PPJ = (HighJ + LowJ + SettlementJ) / 3
R3J = HighJ + 2 * (PPJ - LowJ)
R2J = PPJ + (HighJ - LowJ)
R1J = (2 * PPJ) - LowJ
S1J = (2 * PPJ) - HighJ
S2J = PPJ - (HighJ - LowJ)
S3J = LowJ - 2 * (HighJ - PPJ)
HighJ=HighJ + Diff
LowJ=LowJ + Diff
SettlementJ = SettlementJ + Diff
PPJ = PPJ + Diff
R3J = R3J + Diff
R2J = R2J + Diff
R1J = R1J + Diff
S1J = S1J + Diff
S2J = S2J + Diff
S3J = S3J + Diff
//midR3J = (R2J + R3J) / 2
//midR2J = (R1J + R2J) / 2
//midR1J = (PPJ + R1J) / 2
//midS1J = (PPJ + S1J) / 2
//midS2J = (S1J + S2J) / 2
//midS3J = (S2J + S3J) / 2

// POINTS PIVOTS HEBDO
PPH = (HighH + LowH + SettlementH) / 3
R3H = HighH + 2 * (PPH - LowH)
R2H = PPH + (HighH - LowH)
R1H = (2 * PPH) - LowH
S1H = (2 * PPH) - HighH
S2H = PPH - (HighH - LowH)
S3H = LowH - 2 * (HighH - PPH)
HighH=HighH + Diff
LowH=LowH + Diff
SettlementH = SettlementH + Diff
PPH = PPH + Diff
R3H = R3H + Diff
R2H = R2H + Diff
R1H = R1H + Diff
S1H = S1H + Diff
S2H = S2H + Diff
S3H = S3H + Diff
midR3H = (R2H + R3H) / 2
midR2H = (R1H + R2H) / 2
midR1H = (PPH + R1H) / 2
midS1H = (PPH + S1H) / 2
midS2H = (S1H + S2H) / 2
midS3H = (S2H + S3H) / 2

// POINTS PIVOTS MENSUELS
PPM = (HighM + LowM + SettlementM) / 3
R3M = HighM + 2 * (PPM - LowM)
R2M = PPM + (HighM - LowM)
R1M = (2 * PPM) - LowM
S1M = (2 * PPM) - HighM
S2M = PPM - (HighM - LowM)
S3M = LowM - 2 * (HighM - PPM)
HighM=HighM + Diff
LowM=LowM + Diff
SettlementM = SettlementM + Diff
PPM = PPM + Diff
R3M = R3M + Diff
R2M = R2M + Diff
R1M = R1M + Diff
S1M = S1M + Diff
S2M = S2M + Diff
S3M = S3M + Diff
midR3M = (R2M + R3M) / 2
midR2M = (R1M + R2M) / 2
midR1M = (PPM + R1M) / 2
midS1M = (PPM + S1M) / 2
midS2M = (S1M + S2M) / 2
midS3M = (S2M + S3M) / 2


///////////////////////////////////// AFFICHAGE TEXTE /////////////////////////////////////////
//DRAWTEXT("                                                           Haut (J, Pré)",barindex,HighJ+Voffset,SansSerif,Bold)coloured(102,102,102)
DRAWTEXT("                                                                Bas (J, Pré)",barindex,LowJ+Voffset+3,SansSerif)coloured(102,102,102)
DRAWTEXT("                                                                Haut (H, Pré)",barindex,HighH+Voffset+3,SansSerif,Bold)coloured(102,102,102)
DRAWTEXT("                                                                Bas H",barindex,LowH+Voffset+3,SansSerif,Bold)coloured(102,102,102)
DRAWTEXT("                                                                Haut M",barindex,HighM+Voffset+3,SansSerif,Bold)coloured(102,102,102)
DRAWTEXT("                                                                Bas M",barindex,LowM+Voffset+3,SansSerif,Bold)coloured(102,102,102)
DRAWTEXT("                                                                Clo (J, Pré)",barindex,SettlementJ+Voffset+3,SansSerif)coloured(102,102,102)
//DRAWTEXT("Clo (H, Pré)",barindex-25,SettlementH+Voffset,SansSerif,Bold)coloured(102,102,102)
//DRAWTEXT("Clo (M, Pré)",barindex-25,SettlementM+Voffset,SansSerif,Bold)coloured(102,102,102)
DRAWTEXT("                                                                Piv J",barindex,PPJ+Voffset + 3,SansSerif,Standard,10)coloured(18, 18, 255)
DRAWTEXT("                                                                Piv H",barindex,PPH+Voffset+3,SansSerif,Bold,12)coloured(18, 18, 255)
DRAWTEXT("                                                                Piv M",barindex,PPM+Voffset+3,SansSerif,Bold,12)coloured(18, 18, 255)
DRAWTEXT("                                                                R3J",barindex,R3J+Voffset+3,SansSerif)coloured(255, 0, 0)
DRAWTEXT("                                                                R2J",barindex,R2J+Voffset+3,SansSerif)coloured(255, 0, 0)
DRAWTEXT("                                                                R1J",barindex,R1J+Voffset+3,SansSerif)coloured(255, 0, 0)
DRAWTEXT("                                                                S1J",barindex,S1J+Voffset+3,SansSerif)coloured(0, 128, 0)
DRAWTEXT("                                                                S2J",barindex,S2J+Voffset+3,SansSerif)coloured(0, 128, 0)
DRAWTEXT("                                                                S3J",barindex,S3J+Voffset+3,SansSerif)coloured(0, 128, 0)
DRAWTEXT("                                                                R3H",barindex,R3H+Voffset+3,SansSerif,Bold,11)coloured(255, 0, 0)
DRAWTEXT("                                                                R2H",barindex,R2H+Voffset+3,SansSerif,Bold,11)coloured(255, 0, 0)
DRAWTEXT("                                                                R1H",barindex,R1H+Voffset+3,SansSerif,Bold,11)coloured(255, 0, 0)
DRAWTEXT("                                                                S1H",barindex,S1H+Voffset+3,SansSerif,Bold,11)coloured(0, 128, 0)
DRAWTEXT("                                                                S2H",barindex,S2H+Voffset+3,SansSerif,Bold,11)coloured(0, 128, 0)
DRAWTEXT("                                                                S3H",barindex,S3H+Voffset+3,SansSerif,Bold,11)coloured(0, 128, 0)
DRAWTEXT("                                                                R3M",barindex,R3M+Voffset+3,SansSerif,Bold,12)coloured(255, 0, 0)
DRAWTEXT("                                                                R2M",barindex,R2M+Voffset+3,SansSerif,Bold,12)coloured(255, 0, 0)
DRAWTEXT("                                                                R1M",barindex,R1M+Voffset+3,SansSerif,Bold,12)coloured(255, 0, 0)
DRAWTEXT("                                                                S1M",barindex,S1M+Voffset+3,SansSerif,Bold,12)coloured(0, 128, 0)
DRAWTEXT("                                                                S2M",barindex,S2M+Voffset+3,SansSerif,Bold,12)coloured(0, 128, 0)
DRAWTEXT("                                                                S3M",barindex,S3M+Voffset,SansSerif,Bold)coloured(0, 128, 0)
//DRAWTEXT("                                                           mR3 J",barindex,midR3J+Voffset,SansSerif,Bold)coloured(255, 0, 0)
//DRAWTEXT("                                                           mR2 J",barindex,midR2J+Voffset,SansSerif,Bold)coloured(255, 0, 0)
//DRAWTEXT("                                                           mR1 J",barindex,midR1J+Voffset,SansSerif,Bold)coloured(255, 0, 0)
//DRAWTEXT("                                                           mS1 J",barindex,midS1J+Voffset,SansSerif,Bold)coloured(0, 128, 0)
//DRAWTEXT("                                                           mS2 J",barindex,midS2J+Voffset,SansSerif,Bold)coloured(0, 128, 0)
//DRAWTEXT("                                                           mS3 J",barindex,midS3J+Voffset,SansSerif,Bold)coloured(0, 128, 0)
DRAWTEXT("                                                                mR3 H",barindex,midR3H+Voffset+3,SansSerif,Bold,11)coloured(255, 0, 0)
DRAWTEXT("                                                                mR2 H",barindex,midR2H+Voffset+3,SansSerif,Bold,11)coloured(255, 0, 0)
DRAWTEXT("                                                                mR1 H",barindex,midR1H+Voffset+3,SansSerif,Bold,11)coloured(255, 0, 0)
DRAWTEXT("                                                                mS1 H",barindex,midS1H+Voffset+3,SansSerif,Bold,11)coloured(0, 128, 0)
DRAWTEXT("                                                                mS2 H",barindex,midS2H+Voffset+3,SansSerif,Bold,11)coloured(0, 128, 0)
DRAWTEXT("                                                                mS3 H",barindex,midS3H+Voffset+3,SansSerif,Bold,11)coloured(0, 128, 0)
DRAWTEXT("                                                                mR3 M",barindex,midR3M+Voffset+3,SansSerif,Bold,12)coloured(255, 0, 0)
DRAWTEXT("                                                                mR2 M",barindex,midR2M+Voffset+3,SansSerif,Bold,12)coloured(255, 0, 0)
DRAWTEXT("                                                                mR1 M",barindex,midR1M+Voffset+3,SansSerif,Bold,12)coloured(255, 0, 0)
DRAWTEXT("                                                                mS1 M",barindex,midS1M+Voffset+3,SansSerif,Bold,12)coloured(0, 128, 0)
DRAWTEXT("                                                                mS2 M",barindex,midS2M+Voffset+3,SansSerif,Bold,12)coloured(0, 128, 0)
DRAWTEXT("                                                                mS3 M",barindex,midS3M+Voffset+3,SansSerif,Bold,12)coloured(0, 128, 0)

///////////////////////////////////// AFFICHAGE SETTLEMENT, PP ET NIVEAUX FIGURES AVEC LIGNES ETENDUES A DROITE/////////////////////////////////////////

///////////// CASH CLOSE /////////

//removed

///////////// HIGH/LOW /////////

//DRAWHLINE(HighJ) COLOURED(102,102,102)
//DRAWHLINE(HighH) COLOURED(127, 255, 212)
//DRAWHLINE(HighM) COLOURED(127, 255, 212)

//DRAWHLINE(LowJ) COLOURED(127, 255, 212)
//DRAWHLINE(LowH) COLOURED(127, 255, 212)
//DRAWHLINE(LowM) COLOURED(127, 255, 212)

///////////// SETTLEMENT ////////////

// DRAWHLINE(SettlementJ) COLOURED(0,0,0)
//DRAWHLINE(SettlementH) COLOURED(160,228,255)
//DRAWHLINE(SettlementM) COLOURED(160,228,255)

///////////// PP //////////////////

DRAWHLINE(PPJ) COLOURED(18, 18, 255)

DRAWHLINE(PPH +0.3) COLOURED(18, 18, 255)
DRAWHLINE(PPH) COLOURED(18, 18, 255)
DRAWHLINE(PPH -0.3) COLOURED(18, 18, 255)

DRAWHLINE(PPM +0.6) COLOURED(18, 18, 255)
DRAWHLINE(PPM +0.3) COLOURED(18, 18, 255)
DRAWHLINE(PPM) COLOURED(18, 18, 255)
DRAWHLINE(PPM -0.3) COLOURED(18, 18, 255)
DRAWHLINE(PPM -0.6) COLOURED(18, 18, 255)

DRAWHLINE(S1J) COLOURED(0, 128, 0)
DRAWHLINE(S2J) COLOURED(0, 128, 0)
DRAWHLINE(S3J) COLOURED(0, 128, 0)
DRAWHLINE(R1J) COLOURED(255, 0, 0)
DRAWHLINE(R2J) COLOURED(255, 0, 0)
DRAWHLINE(R3J) COLOURED(255, 0, 0)

DRAWHLINE(HighJ) COLOURED(135,135,135)
DRAWHLINE(LowJ) COLOURED(135,135,135)
DRAWHLINE(SettlementJ) COLOURED(135,135,135)

DRAWHLINE(S1H -0.3) COLOURED(0, 128, 0)
DRAWHLINE(S1H) COLOURED(0, 128, 0)
DRAWHLINE(S1H +0.3) COLOURED(0, 128, 0)

DRAWHLINE(S2H -0.3) COLOURED(0, 128, 0)
DRAWHLINE(S2H) COLOURED(0, 128, 0)
DRAWHLINE(S2H +0.3) COLOURED(0, 128, 0)

DRAWHLINE(S3H -0.3) COLOURED(0, 128, 0)
DRAWHLINE(S3H) COLOURED(0, 128, 0)
DRAWHLINE(S3H +0.3) COLOURED(0, 128, 0)

DRAWHLINE(R1H -0.3) COLOURED(255, 0, 0)
DRAWHLINE(R1H) COLOURED(255, 0, 0)
DRAWHLINE(R1H +0.3) COLOURED(255, 0, 0)

DRAWHLINE(R2H -0.3) COLOURED(255, 0, 0)
DRAWHLINE(R2H) COLOURED(255, 0, 0)
DRAWHLINE(R2H +0.3) COLOURED(255, 0, 0)

DRAWHLINE(R3H -0.3) COLOURED(255, 0, 0)
DRAWHLINE(R3H) COLOURED(255, 0, 0)
DRAWHLINE(R3H +0.3) COLOURED(255, 0, 0)

DRAWHLINE(S1M -0.6) COLOURED(0, 128, 0)
DRAWHLINE(S1M -0.3) COLOURED(0, 128, 0)
DRAWHLINE(S1M) COLOURED(0, 128, 0)
DRAWHLINE(S1M +0.3) COLOURED(0, 128, 0)
DRAWHLINE(S1M +0.6) COLOURED(0, 128, 0)

DRAWHLINE(S2M -0.6) COLOURED(0, 128, 0)
DRAWHLINE(S2M -0.3) COLOURED(0, 128, 0)
DRAWHLINE(S2M) COLOURED(0, 128, 0)
DRAWHLINE(S2M +0.3) COLOURED(0, 128, 0)
DRAWHLINE(S2M +0.6) COLOURED(0, 128, 0)

DRAWHLINE(S3M -0.6) COLOURED(0, 128, 0)
DRAWHLINE(S3M -0.3) COLOURED(0, 128, 0)
DRAWHLINE(S3M) COLOURED(0, 128, 0)
DRAWHLINE(S3M +0.3) COLOURED(0, 128, 0)
DRAWHLINE(S3M +0.6) COLOURED(0, 128, 0)

DRAWHLINE(R1M -0.6) COLOURED(255, 0, 0)
DRAWHLINE(R1M -0.3) COLOURED(255, 0, 0)
DRAWHLINE(R1M) COLOURED(255, 0, 0)
DRAWHLINE(R1M +0.3) COLOURED(255, 0, 0)
DRAWHLINE(R1M +0.6) COLOURED(255, 0, 0)

DRAWHLINE(R2M -0.6) COLOURED(255, 0, 0)
DRAWHLINE(R2M -0.3) COLOURED(255, 0, 0)
DRAWHLINE(R2M) COLOURED(255, 0, 0)
DRAWHLINE(R2M +0.3) COLOURED(255, 0, 0)
DRAWHLINE(R2M +0.6) COLOURED(255, 0, 0)

DRAWHLINE(R3M -0.6) COLOURED(255, 0, 0)
DRAWHLINE(R3M -0.3) COLOURED(255, 0, 0)
DRAWHLINE(R3M) COLOURED(255, 0, 0)
DRAWHLINE(R3M +0.3) COLOURED(255, 0, 0)
DRAWHLINE(R3M +0.6) COLOURED(255, 0, 0)

DRAWHLINE(HighH -0.3) COLOURED(135,135,135)
DRAWHLINE(HighH) COLOURED(135,135,135)
DRAWHLINE(HighH +0.3) COLOURED(135,135,135)

DRAWHLINE(HighM -0.6) COLOURED(135,135,135)
DRAWHLINE(HighM -0.3) COLOURED(135,135,135)
DRAWHLINE(HighM) COLOURED(135,135,135)
DRAWHLINE(HighM +0.3) COLOURED(135,135,135)
DRAWHLINE(HighM +0.6) COLOURED(135,135,135)

DRAWHLINE(LowH -0.3) COLOURED(135,135,135)
DRAWHLINE(LowH) COLOURED(135,135,135)
DRAWHLINE(LowH +0.3) COLOURED(135,135,135)

DRAWHLINE(LowM -0.6) COLOURED(135,135,135)
DRAWHLINE(LowM -0.3) COLOURED(135,135,135)
DRAWHLINE(LowM) COLOURED(135,135,135)
DRAWHLINE(LowM +0.3) COLOURED(135,135,135)
DRAWHLINE(LowM +0.6) COLOURED(135,135,135)

DRAWHLINE(midS1H -0.3) COLOURED(0, 128, 0)
DRAWHLINE(midS1H) COLOURED(0, 128, 0)
DRAWHLINE(midS1H +0.3) COLOURED(0, 128, 0)

DRAWHLINE(midS2H -0.3) COLOURED(0, 128, 0)
DRAWHLINE(midS2H) COLOURED(0, 128, 0)
DRAWHLINE(midS2H +0.3) COLOURED(0, 128, 0)

DRAWHLINE(midS3H -0.3) COLOURED(0, 128, 0)
DRAWHLINE(midS3H) COLOURED(0, 128, 0)
DRAWHLINE(midS3H +0.3) COLOURED(0, 128, 0)

DRAWHLINE(midR1H -0.3) COLOURED(255, 0, 0)
DRAWHLINE(midR1H) COLOURED(255, 0, 0)
DRAWHLINE(midR1H +0.3) COLOURED(255, 0, 0)

DRAWHLINE(midR2H -0.3) COLOURED(255, 0, 0)
DRAWHLINE(midR2H) COLOURED(255, 0, 0)
DRAWHLINE(midR2H +0.3) COLOURED(255, 0, 0)

DRAWHLINE(midR3H -0.3) COLOURED(255, 0, 0)
DRAWHLINE(midR3H) COLOURED(255, 0, 0)
DRAWHLINE(midR3H +0.3) COLOURED(255, 0, 0)

DRAWHLINE(midS1M -0.6) COLOURED(0, 128, 0)
DRAWHLINE(midS1M -0.3) COLOURED(0, 128, 0)
DRAWHLINE(midS1M) COLOURED(0, 128, 0)
DRAWHLINE(midS1M +0.3) COLOURED(0, 128, 0)
DRAWHLINE(midS1M +0.6) COLOURED(0, 128, 0)

DRAWHLINE(midS2M -0.6) COLOURED(0, 128, 0)
DRAWHLINE(midS2M -0.3) COLOURED(0, 128, 0)
DRAWHLINE(midS2M) COLOURED(0, 128, 0)
DRAWHLINE(midS2M +0.3) COLOURED(0, 128, 0)
DRAWHLINE(midS2M +0.6) COLOURED(0, 128, 0)

DRAWHLINE(midS3M -0.6) COLOURED(0, 128, 0)
DRAWHLINE(midS3M -0.3) COLOURED(0, 128, 0)
DRAWHLINE(midS3M) COLOURED(0, 128, 0)
DRAWHLINE(midS3M +0.3) COLOURED(0, 128, 0)
DRAWHLINE(midS3M +0.6) COLOURED(0, 128, 0)

DRAWHLINE(midR1M -0.6) COLOURED(255, 0, 0)
DRAWHLINE(midR1M -0.3) COLOURED(255, 0, 0)
DRAWHLINE(midR1M) COLOURED(255, 0, 0)
DRAWHLINE(midR1M +0.3) COLOURED(255, 0, 0)
DRAWHLINE(midR1M +0.6) COLOURED(255, 0, 0)

DRAWHLINE(midR2M -0.6) COLOURED(255, 0, 0)
DRAWHLINE(midR2M -0.3) COLOURED(255, 0, 0)
DRAWHLINE(midR2M) COLOURED(255, 0, 0)
DRAWHLINE(midR2M +0.3) COLOURED(255, 0, 0)
DRAWHLINE(midR2M +0.6) COLOURED(255, 0, 0)

DRAWHLINE(midR3M -0.6) COLOURED(255, 0, 0)
DRAWHLINE(midR3M -0.3) COLOURED(255, 0, 0)
DRAWHLINE(midR3M) COLOURED(255, 0, 0)
DRAWHLINE(midR3M +0.3) COLOURED(255, 0, 0)
DRAWHLINE(midR3M +0.6) COLOURED(255, 0, 0)

RETURN
//Return  SettlementJ COLOURED(135,135,135) STYLE(DOTTEDLINE) AS "SettlementJ", midS1H COLOURED(0, 128, 0) STYLE(DOTTEDLINE) AS "midS1H", midS2H COLOURED(0, 128, 0) STYLE(DOTTEDLINE) AS "midS2H", midS3H COLOURED(0, 128, 0) STYLE(DOTTEDLINE) AS "midS3H", midS1M COLOURED(0, 128, 0) STYLE(DOTTEDLINE) AS "midS1M", midS2M COLOURED(0, 128, 0) STYLE(DOTTEDLINE) AS "midS2M", midS3M COLOURED(0, 128, 0) STYLE(DOTTEDLINE) AS "midS3M",  midR1H COLOURED(255, 0, 0) STYLE(DOTTEDLINE) AS "midR1H", midR2H COLOURED(255, 0, 0) STYLE(DOTTEDLINE) AS "midR2H", midR3H COLOURED(255, 0, 0) STYLE(DOTTEDLINE) AS "midR3H", midR1M COLOURED(255, 0, 0) STYLE(DOTTEDLINE) AS "midR1M", midR2M COLOURED(255, 0, 0) STYLE(DOTTEDLINE) AS "midR2M", midR3M COLOURED(255, 0, 0) STYLE(DOTTEDLINE) AS "midR3M"



//midS1J COLOURED(0, 128, 0) STYLE(DOTTEDLINE) AS "midS1J", midS2J COLOURED(0, 128, 0) STYLE(DOTTEDLINE) AS "midS2J", midS3J COLOURED(0, 128, 0) STYLE(DOTTEDLINE) AS "midS3J",
//midR1J COLOURED(255, 0, 0) STYLE(DOTTEDLINE) AS "midR1J", midR2J COLOURED(255, 0, 0) STYLE(DOTTEDLINE) AS "midR2J", midR3J COLOURED(255, 0, 0) STYLE(DOTTEDLINE) AS "midR3J",
Avatar du membre
Robinhood
Compagnon Jedi
Messages : 1354
Enregistré le : 24 juil. 2018 14:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Robinhood »

Tout est bon à prendre. Merci TT32 :-)
Anonyme004

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Anonyme004 »

Oui, il est sympa que chacun adapte cet indicateur selon ses besoins.

Perso, j'ai mis un décalage différent aux textes des J, H et M (parce que ça se superpose souvent), et les épaisseurs aussi ont été adaptées pour refléter la puissance individuelle des niveaux. J'ai également masqué des niveaux qui ne sont pas pertinents pour mon travail.

Cette liberté est la force du travail de robinhood qui ne pouvait pas porter un meilleur pseudo.
Avatar du membre
Robinhood
Compagnon Jedi
Messages : 1354
Enregistré le : 24 juil. 2018 14:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Robinhood »

Merci Anonyme004 :-)

Je le redis comme déjà évoqué par ailleurs : cet outil est l'aboutissement d'un travail commun.
Dom21
Chevalier Jedi
Messages : 2110
Enregistré le : 10 déc. 2018 19:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Dom21 »

Salut Robinhood,

J'ai comparé avec ton tableau ce matin mon calcul des points pivots.
J'ai l'impression qu'il y a une anomalie dans le calcul des middle R et S.
J'ai juste regardé le dow et le dax.

Bonne journée
Avatar du membre
Robinhood
Compagnon Jedi
Messages : 1354
Enregistré le : 24 juil. 2018 14:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Robinhood »

Hello Dom

Quels sont tes chiffres ?

Je ne vois pas d'incohérences dans les calculs (sauf erreur de ma part).

Exemple Dow :

- PPJ 26007,67
- S1J 25662.33
- midS1j = (26007.67+25662.33)/2=25835
Dom21
Chevalier Jedi
Messages : 2110
Enregistré le : 10 déc. 2018 19:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Dom21 »

Robin,

ok pour ceux que tu viens de citer j'ai les mêmes montants:

Par contre ms2j j'ai 25560 s1-(s1-s2)/2 et toi 25732.7
ms3j, j'ai 25285 et toi 25560.
Avatar du membre
Robinhood
Compagnon Jedi
Messages : 1354
Enregistré le : 24 juil. 2018 14:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Robinhood »

Les niveaux intermédiaires = mid se calculent de cette façon : (Pivot+S)/2 ou (Pivot+R)/2. Ce sont des niveaux équidistants.
Dom21
Chevalier Jedi
Messages : 2110
Enregistré le : 10 déc. 2018 19:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Dom21 »

étrange, pourtant mes chiffres coincident pil poil avec ton indicateur de calcul des points pivots.
Avatar du membre
Robinhood
Compagnon Jedi
Messages : 1354
Enregistré le : 24 juil. 2018 14:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Robinhood »

Désolé Dom mais je ne te suis pas. Le rapport indique tous les chiffres nécessaires au calcul des PP. Ensuite ce sont les formules de base qui sont utilisées. Je ne vois pas quoi te dire de plus cher collègue :-)
Dom21
Chevalier Jedi
Messages : 2110
Enregistré le : 10 déc. 2018 19:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Dom21 »

:top: Ce n'et pas grave.
Au plaisir Robin
tajine
Padawan
Messages : 288
Enregistré le : 22 avr. 2019 05:21

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par tajine »

Merci Robin (et tous les contributeurs) pour tout le boulot fournis ! je vais passer sur tes PP et essayer de me les aproprier, best luck !
TT32

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par TT32 »

Hello Robinhood,

J'ai l'impression que les PP prt futures sont exactement les mêmes que ceux que tu fournis depuis quelques jours, c'est top :top:
Avatar du membre
Robinhood
Compagnon Jedi
Messages : 1354
Enregistré le : 24 juil. 2018 14:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Robinhood »

Vous sentez la bagarre sur le range formé sur le Dax sur R1J<->S1M ? :-)
Avatar du membre
Robinhood
Compagnon Jedi
Messages : 1354
Enregistré le : 24 juil. 2018 14:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Robinhood »

Pour info sous-jacent Futures désormais ok sur Russell => high/low/settle OK => PP OK

En revanche toujours pas ok sur son cash close (le provider ne fournit pas les données du cash sur le Russell).
TT32

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par TT32 »

Bonsoir Robinhood,
Merci encore pour ton outil je m'en sers et il est parfait
Cependant je voulais savoir si ce serait possible de récupérer également le prix de Clôture plutôt que le Settlement, et si oui sur quel site?

Merci beaucoup
Avatar du membre
Robinhood
Compagnon Jedi
Messages : 1354
Enregistré le : 24 juil. 2018 14:53

Re: PP Points pivots - Solution stable pour tous V3

Message non lu par Robinhood »

Hello

Je m'en occupe dès que j'aurais un peu de temps.