Analyse Gap down Statistik erstellen

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #249904 quote
    axmichi
    Participant
    Senior

    Hallo,

    für eine Studie  im Mini Nasdaq100Full0925, möchte ich gern herausfinden, wie oft es bei den  letzten 200 Korrektur-Kerzen (Tagesbasis) vorgekommen ist, dass der Tag danach, im 15 Minuten Chart  mit dem ersten Kurs um 08 Uhr mit einem  großen GAP nach unten geöffnet hat. Siehe Bild

    Wie im Bild zu sehen ist ein Korrektur Kerze auf Tagesbasis, für mich eine Kerze, die im Minus endet und bei der der RSI 4 unter der 30er Linie ist.

    Kann man so etwas mit einem Backtest simulieren??

    Wie hoch ist die prozentuale Wahrscheinlichkeit, dass bei den letzten 200 Korrekturkerzen ein großes Gap down entstanden ist.

    Wie hoch ist die prozentuale Wahrscheinlichkeit, dass bei den letzten 200 Koerrkturkerzen ein kleines Gap enstanden ist. Der Kurs also zwischen dem Tagestief und dem Schlusskurs um 23 Uhr, eröffnet hat.

    Vielen Dank

    #249918 quote
    JS
    Participant
    Senior

    Hallo,
    Probieren Sie diese aus…

    MaxCount=200
    is8am=(hour=8) and (minute=0)
    
    Once CountCorrections=0
    Once CountLargeGaps=0
    Once CountSmallGaps=0
    Once LastWasCorrection=0
    
    RSIYesterday=RSI[4](DClose(1))
    isCorrection=DClose(1)<DOpen(1) and RSIYesterday<30
    
    If isCorrection then
    lastWasCorrection=1
    else
    lastWasCorrection=0
    EndIf
    
    If lastWasCorrection=1 and is8am and countCorrections<MaxCount then
    countCorrections = countCorrections + 1
    
    If Open<DLow(1) then
    CountLargeGaps=CountLargeGaps + 1
    ElsIf Open>= DLow(1) and Open<DClose(1) then
    CountSmallGaps=CountSmallGaps + 1
    EndIf
    EndIf
    
    If CountCorrections>0 then
    PercLargeGap = Round(countLargeGaps / countCorrections * 100,0)
    PercSmallGap = Round(countSmallGaps / countCorrections * 100,0)
    else
    PercLargeGap = 0
    PercSmallGap = 0
    Endif
    
    RETURN CountCorrections as "Corrections", CountLargeGaps as "Large Gaps", CountSmallGaps AS "Small Gaps", PercLargeGap as "%LargeGap", PercSmallGap as "%SmallGap"
    Iván González and robertogozzi thanked this post
    #249935 quote
    axmichi
    Participant
    Senior

    WOW das ist der Wahnsinn, danke IHNEN

    Können Sie mir sagen, warum das Ergebnis bei mir im 15 min Chart so anders aussieht oder ein anderes Erbebnis bringt? Siehe Foto

    JS thanked this post
    #249943 quote
    JS
    Participant
    Senior

    Hallo,

    Sie sollten sich mein Ergebnis nicht ansehen, da ich nur überprüft habe, ob der Code funktioniert und nichts anderes in Bezug auf Zeiten usw. geändert habe…

    #249987 quote
    axmichi
    Participant
    Senior
    OK , ich danke Dir….
    JS thanked this post
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Analyse Gap down Statistik erstellen


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
axmichi @axmichi Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by axmichi
5 months, 2 weeks ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 08/20/2025
Status: Active
Attachments: 3 files
Logo Logo
Loading...