ProRealTime
Pour partager sur nos trades en direct en Day Trading et en Scalping ainsi que nos informations ou réactions sur l'Actualité Boursière. Ces sont les files du jour pour partager sur notre trading. Files du jour

Re: File CAC 40 du jeudi 6 juin 2024

par Ineedmoney » 06 juin 2024 15:50

Capture d’écran 2024-06-06 à 15.49.53.png
Capture d’écran 2024-06-06 à 15.49.53.png (121.62 Kio) Vu 299 fois

Re: File CAC 40 du jeudi 6 juin 2024

par Nicautrade » 06 juin 2024 15:55

Ineed,

Tu te rappelles ce que tu as dit ce matin ?

Re: File CAC 40 du jeudi 6 juin 2024

par X@vi3r » 06 juin 2024 16:00

Lol Nicau.

Pauvre Ineed, son setup marche à l'open, il pourra plus rien faire sinon :lol:

On m'a tellement répété d'attendre que je ne tradais pas l'open. Je suis passé à coté de quelques points faciles longtemps...

Re: File CAC 40 du jeudi 6 juin 2024

par Cgz » 06 juin 2024 16:05

Ben oui l’open peut se trader’, mais pas exclusivement lol

Re: File CAC 40 du jeudi 6 juin 2024

par Ineedmoney » 06 juin 2024 16:07

Nicau, pas de ma faute si mes setups sont efficaces à l’open :lol:

En tout cas j’ai été patient, j ai attendu des setups :lol2:

En revanche, si pas de setup, il aurait fallu patienter :mercichinois:

Re: File CAC 40 du jeudi 6 juin 2024

par JPM55 » 06 juin 2024 16:16

Intéressant le garçon JOS :top:

La vision long terme de la BCE est quand même une Inflation assez collante donc à voir comment les marchés vont réagir d'autant que c'est déjà le cas aux US et que les hausses des matières premières et du fret maritime ne vont pas arranger les prochaines données d'Inflation.

Re: File CAC 40 du jeudi 6 juin 2024

par JPM55 » 06 juin 2024 16:21

Zone de short intéressante sur DJIA
Spoiler:

Re: File CAC 40 du jeudi 6 juin 2024

par X@vi3r » 06 juin 2024 16:40

JPM,

Tu traces en auto ?
Ou à l'ancienne ;)

Si auto ça m'interesse...

Re: File CAC 40 du jeudi 6 juin 2024

par JPM55 » 06 juin 2024 16:51

Auto X@v mais dans la mesure où prt ne sait retraiter l'historique, je repasse sur les zones qui restent valides... Car il ne sait pas supprimer celles qui ont été déjà "comblées".

Voici le code ;-)
Spoiler:
// Paramètres
Amplitude = 0 REM Amplitude du GAP
LENGTH=10 REM Longueur des OB en nb de barres

IF Low > (High[2]+Amplitude) AND Low[2]<Low[3] THEN
X14=barindex[2]
Y14=low[2]
X24=barindex+LENGTH
Y24=high[2]
DRAWRECTANGLE(X14,Y14,X24,Y24) coloured(50,180,50,255) style(dottedline,2)
ENDIF

IF High < (Low[2]-Amplitude) AND High[2]>High[3] THEN
DRAWRECTANGLE(barindex[2],high[2],barindex+LENGTH,low[2]) coloured(255,0,0,255) style(dottedline,2)
ENDIF

RETURN

Re: File CAC 40 du jeudi 6 juin 2024

par X@vi3r » 06 juin 2024 16:53

T'es au top JPM
:merci:

Pour finfo je viens de voir ça sur proreal code :
https://www.prorealcode.com/prorealtime-indicators/smart-money-indicator-fair-value-gap/

Re: File CAC 40 du jeudi 6 juin 2024

par JPM55 » 06 juin 2024 16:57

Je ne trace pas les gaps mais les OB qui génèrent les gaps ;-)

Re: File CAC 40 du jeudi 6 juin 2024

par X@vi3r » 06 juin 2024 16:59

Juste pour que tu vois que l'historique est quasi effacé : le rectangle est arreté si le prix le traverse

Re: File CAC 40 du jeudi 6 juin 2024

par JPM55 » 06 juin 2024 17:01

Ca donne ça X@v, donc je repeins les tracés pointillés lorsqu'ils sont encore valables... Y avait une belle confluence DAX que j'ai ratée d'ailleurs (OB + Oblique) :mur:
Fichiers joints
Capture d'écran 2024-06-06 190037.png
Capture d'écran 2024-06-06 190037.png (54.88 Kio) Vu 210 fois

Re: File CAC 40 du jeudi 6 juin 2024

par JPM55 » 06 juin 2024 17:03

OK intéressant X@v, je vais m'y pencher ce soir :top:

Re: File CAC 40 du jeudi 6 juin 2024

par JPM55 » 06 juin 2024 17:19

Code adapté X@v :merci: :merci: :merci: :merci:


Spoiler:
//Smart Money| indicator
//Monochrome - http://www.prorealcode.com
//https://www.prorealcode.com/topic/smart-money-indicator-using-arrays/


DEFPARAM DrawOnLastBarOnly = true
DEFPARAM CalculateOnLastBars = 2000

ONCE GapsIndex = 0

// Identify and store high gaps
IF Low > High[2] AND Low[2]<Low[3] THEN
$HighGapsTop[GapsIndex] = Low[2]
$HighGapsBottom[GapsIndex] = High[2]
$GapStartHigh[GapsIndex] = BarIndex[2]
$HighGapStatus[GapsIndex] = 0
$GapEndHigh[GapsIndex] = barindex
$GapFilledHigh[GapsIndex] = 0
GapsIndex = GapsIndex + 1
ENDIF

// Identify and store low gaps
IF High < Low[2] AND High[2]>High[3] THEN
$LowGapsTop[GapsIndex] = Low[2]
$LowGapsBottom[GapsIndex] = High[2]
$GapStartLow[GapsIndex] = BarIndex[2]
$LowGapStatus[GapsIndex] = 0
$GapEndLow[GapsIndex] = barindex
$GapFilledLow[GapsIndex] = 0
GapsIndex = GapsIndex + 1
ENDIF


// GAP status
// 0 for not filled
// 1 for filled upwards (High crosses over $HighGapsTop and Low < $HighGapsBottom)
// 2 for filled downwards (Low crosses under $HighGapsBottom and High > $HighGapsTop)
// 3 for partially filled upwards (High > $HighGapsBottom and High < $HighGapsTop)
// 4 for partially filled downwards (Low > $HighGapsBottom and Low < $HighGapsTop)
// 5 for filled upwards (Low crosses under $LowGapsBottom and High > $LowGapsTop)
// 6 for filled downwards (High crosses over $LowGapsTop[i] and Low < $LowGapsBottom[i])
// 7 for partially filled upwards (Low > $LowGapsBottom[i] and Low < $LowGapsTop[i])
// 8 for partially filled downwards (High > $LowGapsBottom[i] and High < $LowGapsTop[i])


// Loop over all identified gaps and draw rectangles if they have not been filled

FOR i = 1 TO GapsIndex-1 DO

// High gaps
IF High > $HighGapsTop[i] AND Low < $HighGapsBottom[i] AND $GapFilledHigh[i] = 0 THEN // Gap Status 1
$GapFilledHigh[i] = 1
$HighGapStatus[i] = 1
$GapEndHigh[i] = BarIndex
ELSIF Low < $HighGapsBottom[i] AND High > $HighGapsTop[i] AND $GapFilledHigh[i] = 0 THEN // Gap Status 2
$GapFilledHigh[i] = 1
$HighGapStatus[i] = 2
$GapEndHigh[i] = BarIndex
ELSIF High > $HighGapsBottom[i] AND High < $HighGapsTop[i] AND $GapFilledHigh[i] = 0 THEN // Gap Status 3
$HighGapsBottom[i] = high
$HighGapStatus[i] = 3
ELSIF Low > $HighGapsBottom[i] AND Low < $HighGapsTop[i] AND $GapFilledHigh[i] = 0 THEN // Gap Status 4
$HighGapsTop[i] = low
$HighGapStatus[i] = 4
ENDIF

IF $HighGapStatus[i] <> 0 AND $GapFilledHigh[i] = 1 THEN
DRAWRECTANGLE($GapStartHigh[i], $HighGapsTop[i], $GapEndHigh[i], $HighGapsBottom[i]) coloured("green", 40) bordercolor("black", 20)
// AND $GapFilledHigh[i] = 0
ELSIF $HighGapStatus[i] = 0 THEN
DRAWRECTANGLE($GapStartHigh[i], $HighGapsTop[i], barindex, $HighGapsBottom[i]) coloured("green", 40) bordercolor("black", 20)
ENDIF

// Low gaps
IF Low < $LowGapsBottom[i] AND High > $LowGapsTop[i] AND $GapFilledLow[i] = 0 THEN // Gap Status 5
$LowGapStatus[i] = 5
$GapEndLow[i] = BarIndex
$GapFilledLow[i] = 1
ELSIF High > $LowGapsTop[i] AND Low < $LowGapsBottom[i] AND $GapFilledLow[i] = 0 THEN // Gap Status 6
$LowGapStatus[i] = 6
$GapEndLow[i] = BarIndex
$GapFilledLow[i] = 1
ELSIF Low > $LowGapsBottom[i] AND Low < $LowGapsTop[i] AND $GapFilledLow[i] = 0 THEN // Gap Status 7
$LowGapsTop[i] = low
$LowGapStatus[i] = 7
ELSIF High > $LowGapsBottom[i] AND High < $LowGapsTop[i] AND $GapFilledLow[i] = 0 THEN // Gap Status 8
$LowGapsBottom[i] = high
$LowGapStatus[i] = 8
ENDIF

IF $LowGapStatus[i] <> 0 AND $GapFilledLow[i] = 1 THEN
DRAWRECTANGLE($GapStartLow[i], $LowGapsTop[i], $GapEndLow[i], $LowGapsBottom[i]) coloured("red",40) bordercolor("black", 20)
// AND $GapFilledLow[i] = 0 THEN
ELSIF $LowGapStatus[i] = 0 THEN
DRAWRECTANGLE($GapStartLow[i], $LowGapsTop[i], barindex, $LowGapsBottom[i]) coloured("red",40) bordercolor("black", 20)
ENDIF

NEXT

RETURN

Re: File CAC 40 du jeudi 6 juin 2024

par X@vi3r » 06 juin 2024 17:21

Et ben, rapide :top:

Re: File CAC 40 du jeudi 6 juin 2024

par JPM55 » 06 juin 2024 17:22

Il me reste à trouver comment laisser les OB non "comblés" sur le graphe...

Re: File CAC 40 du jeudi 6 juin 2024

par X@vi3r » 06 juin 2024 17:30

Je regarderai demain, c'est qu'il est tard ici...
...
...
Et oui dejà 17H00 :lol:

Ras le bol du code pour aujourd'hui ;)

Re: File CAC 40 du jeudi 6 juin 2024

par JPM55 » 06 juin 2024 17:33

Fait, j'ai mis à jour le code dans le post précédent :top:

Re: File CAC 40 du jeudi 6 juin 2024

par falex » 06 juin 2024 17:58

Ouch un "For" dans du code prt c'est pas ce qui se fait de mieux. C'est souvent source de ralentissement. Si tu as moyen de faire sans la boucle "For" ... sinon ...

Sujets similaires
Éclipse du soleil ce jeudi 10 juin
Fichier(s) joint(s) par Marco88 » 09 juin 2021 08:56 (6 Réponses)
day trading du jeudi 08 juin > verrouillé ?
par Francis1 » 08 juin 2023 07:56 (7 Réponses)
⏰ Le Good Morning Trading Du 17 Juin 2024
Fichier(s) joint(s) par nuts » 17 juin 2024 08:23 (13 Réponses)
RDP intégrale juin 2024
par nuts » 28 juin 2024 22:14 (0 Réponses)
File du week-end du 9 - 10 juin
par Amarantine » 09 juin 2018 10:59 (17 Réponses)
File du week-end du 8-9 juin
Fichier(s) joint(s) par Guipit » 08 juin 2019 09:00 (90 Réponses)
File du week-end, il fait beau 15 16 juin
Fichier(s) joint(s) par Florian » 15 juin 2019 08:46 (78 Réponses)
File FOREX de Juin 2019
par Miju » 18 juin 2019 18:30 (3 Réponses)
la file du dernier week-end de juin
Fichier(s) joint(s) par ChristelleP » 27 juin 2020 02:35 (61 Réponses)