Je viens de créer un indicateur de points pivots, résistance,middle résistance, middle support, support ,Journalier,Hebdomaire, Mensuel Dax Futures Only en partant des données Eurex .
J'ai incorporé une variable Diff (par defaut à 0) qui permet d'ajuster ces niveaux Dax Futures Only sur un graphique PRT cfd à risque limité.
Exemple 1:
Le futures Dax cote au dessus du cfd à risque limité de 2 points, alors mettre Diff à 2
Exemple 2:
Le futures Dax cote en dessous du cfd à risque limité de 2 points, alors mettre Diff à -2
Cet indicateur est préréglé pour la journée du 03/04, semaine 14, Mois 04.
Pour la journée suivante du 04/04 il faudra changer la valeur des variables :
HighJ : Rentrer le plus haut du jours 03/04 Dax Futures avec les données Eurex
LowJ : Rentrer le plus bas du jours 03/04 Dax Futures avec les données Eurex
SettlementJ : Rentrer le settlement du jours 03/04 Dax Futures avec les données Eurex
Je vous laisse deviner ce que l'on fait quand on change de semaine, mois ( Attention subtilité quand on va changer du contrat juin au contrat septembre )
Code : #
REM variables
REM Diff= Prix Future - Prix cfd à risque limité
REM variables Journalier
REM HighJ = point le plus haut Journalier future
REM lowJ = point le plus bas Journalier future
REM SettlementJ = Settlement Journalier future
REM variables Hebdomadaire
REM HighH = point le plus haut Hebdomadaire future
REM lowH= point le plus bas Hebdomadaire future
REM SettlementH = Settlement Hebdomadaire future
REM variables Mensuel
REM HighM = point le plus haut Mensuel future
REM lowM = point le plus bas Mensuel future
REM SettlementM = Settlement Mensuel future
defparam drawonlastbaronly = true
REM Formule Journalier avec alignement du prix sur le cfd à risque limité
PPJ = ((HighJ + LowJ + SettlementJ) / 3)-Diff
R3J = (HighJ + 2 * (PPJ - LowJ))-Diff
R2J = (PPJ + (HighJ - LowJ))-Diff
R1J = (2 * PPJ - LowJ)-Diff
S1J = (2 * PPJ - HighJ)-Diff
S2J = (PPJ - (HighJ - LowJ))-Diff
S3J = (LowJ - 2 * (HighJ - PPJ))-Diff
MR3J = (R2J + (R3J - R2J) / 2)-Diff
MR2J = (R1J + (R2J - R1J) / 2)-Diff
MR1J = (PPJ + (R1J - PPJ) / 2)-Diff
MS1J = (PPJ - (PPJ - S1J) / 2)-Diff
MS2J = (S1J - (S1J - S2J) / 2)-Diff
MS3J = (S2J - (S2J - S3J) / 2)-Diff
REM Formule Hebdomadaire avec alignement du prix sur le cfd à risque limité
PPH = ((HighH + LowH + SettlementH) / 3)-Diff
R3H = (HighH + 2 * (PPH - LowH))-Diff
R2H = (PPH + (HighH - LowH))-Diff
R1H = (2 * PPH - LowH)-Diff
S1H = (2 * PPH - HighH)-Diff
S2H = (PPH - (HighH - LowH))-Diff
S3H = (LowH - 2 * (HighH - PPH))-Diff
MR3H = (R2H + (R3H - R2H) / 2)-Diff
MR2H = (R1H + (R2H - R1H) / 2)-Diff
MR1H = (PPH + (R1H - PPH) / 2)-Diff
MS1H = (PPH - (PPH - S1H) / 2)-Diff
MS2H = (S1H - (S1H - S2H) / 2)-Diff
MS3H = (S2H - (S2H - S3H) / 2)-Diff
REM Formule Mensuel avec alignement du prix sur le cfd à risque limité
PPM = ((HighM + LowM + SettlementM) / 3)-Diff
R3M = (HighM + 2 * (PPM - LowM))-Diff
R2M = (PPM + (HighM - LowM))-Diff
R1M = (2 * PPM - LowM)-Diff
S1M = (2 * PPM - HighM)-Diff
S2M = (PPM - (HighM - LowM))-Diff
S3M = (LowM - 2 * (HighM - PPM))-Diff
MR3M = (R2M + (R3M - R2M) / 2)-Diff
MR2M = (R1M + (R2M - R1M) / 2)-Diff
MR1M = (PPM + (R1M - PPM) / 2)-Diff
MS1M = (PPM - (PPM - S1M) / 2)-Diff
MS2M = (S1M - (S1M - S2M) / 2)-Diff
MS3M = (S2M - (S2M - S3M) / 2)-Diff
REM décalage vertical texte/lignes horizontales
Voffset = 5*pipsize
REM TEXTE
DRAWTEXT("PIVOT J FUTURE",barindex-2,PPJ+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("R3 J FUTURE",barindex-2,R3J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("R2 J FUTURE",barindex-2,R2J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("R1 J FUTURE",barindex-2,R1J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("S1 J FUTURE",barindex-2,S1J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("S2 J FUTURE",barindex-2,S2J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("S3 J FUTURE",barindex-2,S3J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MR3 J FUTURE",barindex-2,MR3J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MR2 J FUTURE",barindex-2,MR2J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MR1 J FUTURE",barindex-2,MR1J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MS1 J FUTURE",barindex-2,MS1J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MS2 J FUTURE",barindex-2,MS2J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MS3 J FUTURE",barindex-2,MS3J+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("PIVOT H FUTURE",barindex-2,PPH+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("R3 H FUTURE",barindex-2,R3H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("R2 H FUTURE",barindex-2,R2H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("R1 H FUTURE",barindex-2,R1H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("S1 H FUTURE",barindex-2,S1H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("S2 H FUTURE",barindex-2,S2H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("S3 H FUTURE",barindex-2,S3H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MR3 H FUTURE",barindex-2,MR3H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MR2 H FUTURE",barindex-2,MR2H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MR1 H FUTURE",barindex-2,MR1H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MS1 H FUTURE",barindex-2,MS1H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MS2 H FUTURE",barindex-2,MS2H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MS3 H FUTURE",barindex-2,MS3H+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("PIVOT M FUTURE",barindex-2,PPM+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("R3 M FUTURE",barindex-2,R3M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("R2 M FUTURE",barindex-2,R2M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("R1 M FUTURE",barindex-2,R1M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("S1 M FUTURE",barindex-2,S1M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("S2 M FUTURE",barindex-2,S2M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("S3 M FUTURE",barindex-2,S3M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MR3 M FUTURE",barindex-2,MR3M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MR2 M FUTURE",barindex-2,MR2M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MR1 M FUTURE",barindex-2,MR1M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MS1 M FUTURE",barindex-2,MS1M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MS2 M FUTURE",barindex-2,MS2M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
DRAWTEXT("MS3 M FUTURE",barindex-2,MS3M+Voffset,SansSerif,Bold,16)coloured(97, 75, 58)
Return PPJ COLOURED(70, 46, 1) as "PIVOT J FUTURE", R3J COLOURED(70, 46, 1) as "R3 J FUTURE", R2J COLOURED(70, 46, 1) as "R2 J FUTURE", R1J COLOURED(70, 46, 1) as "R1 J FUTURE", S1J COLOURED(70, 46, 1) as "S1 J FUTURE", S2J COLOURED(70, 46, 1) as "S2 J FUTURE", S3J COLOURED(70, 46, 1) as "S3 J FUTURE", MR3J COLOURED(70, 46, 1) as "MR3 J FUTURE", MR2J COLOURED(70, 46, 1) as "MR2 J FUTURE", MR1J COLOURED(70, 46, 1) as "MR1 J FUTURE", MS1J COLOURED(70, 46, 1) as "MS1 J FUTURE", MS2J COLOURED(70, 46, 1) as "MS2 J FUTURE", MS3J COLOURED(70, 46, 1) as "MS3 J FUTURE", PPH COLOURED(70, 46, 1) as "PIVOT H FUTURE", R3H COLOURED(70, 46, 1) as "R3 H FUTURE", R2H COLOURED(70, 46, 1) as "R2 H FUTURE", R1H COLOURED(70, 46, 1) as "R1 H FUTURE", S1H COLOURED(70, 46, 1) as "S1 H FUTURE", S2H COLOURED(70, 46, 1) as "S2 H FUTURE", S3H COLOURED(70, 46, 1) as "S3 H FUTURE", MR3H COLOURED(70, 46, 1) as "MR3 H FUTURE", MR2H COLOURED(70, 46, 1) as "MR2 H FUTURE", MR1H COLOURED(70, 46, 1) as "MR1 H FUTURE", MS1H COLOURED(70, 46, 1) as "MS1 H FUTURE", MS2H COLOURED(70, 46, 1) as "MS2 H FUTURE", MS3H COLOURED(70, 46, 1) as "MS3 H FUTURE",PPM COLOURED(70, 46, 1) as "PIVOT M FUTURE", R3M COLOURED(70, 46, 1) as "R3 M FUTURE", R2M COLOURED(70, 46, 1) as "R2 M FUTURE", R1M COLOURED(70, 46, 1) as "R1 M FUTURE", S1M COLOURED(70, 46, 1) as "S1 M FUTURE", S2M COLOURED(70, 46, 1) as "S2 M FUTURE", S3M COLOURED(70, 46, 1) as "S3 M FUTURE", MR3M COLOURED(70, 46, 1) as "MR3 M FUTURE", MR2M COLOURED(70, 46, 1) as "MR2 M FUTURE", MR1M COLOURED(70, 46, 1) as "MR1 M FUTURE", MS1M COLOURED(70, 46, 1) as "MS1 M FUTURE", MS2M COLOURED(70, 46, 1) as "MS2 M FUTURE", MS3M COLOURED(70, 46, 1) as "MS3 M FUTURE"
https://www.dropbox.com/s/tkegszpw9kzo1qa/POINT%20PIVOT%20FUTURE%20ONLY.zip?dl=0
Attention cet indicateur est en phase de test et d'observation ce n'est pas le saint graal.
Je ne serait être tenu (ni Andlil en passant) responsable d'une perte d'argent du à l'utilisation de cette indicateur.
Je tiens à remercier Jim pour son aide sur les points pivots Futures
J’espère ne pas avoir fait de bêtise dans le code
Si quelqu’un peut me confirmer les PP Futures
J'attend vos retours