Breakout im 15 Minuten chart
Forums › ProRealTime Deutsch forum › ProOrder Support › Breakout im 15 Minuten chart
- This topic has 5 replies, 2 voices, and was last updated 1 hour ago by
axmichi.
-
-
10/26/2025 at 9:24 AM #253045
Hallo
ich möchte gern ein System mit einem Breakout umändern und weiß nicht wie das geht:
Hier die Regeln, einiges passt anderes nicht:
Es geht um den Ausbruch aus der Open Range von 15:30 – 16:30 Uhr auf 15 minuten basis
Alle 4 kerzen der Range liegen über dem 350er EMA auf Stundenbasis
Wenn diese Zeit abgelaufen ist kommt eine Stoporder auf das Hoch der Range.
Der Trade soll wenn er nicht in den Stop läuft um 2130 geschlossen werden.
Der Stopp loss kommt auf das Level von 20 % (Range) über das Tief der Range, siehe Bild orange Linie
Läuft der Trade auf 40% der Range in den Gewinn, dann wird der Trade getrailt, siehe Bild orange Linie
Hier mein Code, kann das bitte jemand ändern:
DEFPARAM CumulateOrders = False
//DEFPARAM flatbefore = 090000
DEFPARAM flatafter= 213000Position=1 // KONSTANTE KONTRAKTANZAHL!!
Startzeit=163000
Endzeit=193000// Spanne 1530-1630 in Hi and Lo ermitteln
// ————————
once Bars=4 // 15 x 4 Minute
once Hi=0
once Lo=0
If time = 163000 then // Das ist das Ende der 1545 Kerze. Also INCLUSIVE DIESER
Hi=highest[Bars](high)
Lo=lowest[Bars](low)
endif
Spannepoints=(Hi-Lo)/pointsize // Spanne in Punktenonce Tradetag=0
If onmarket then
Tradetag=date
endifOTD = Barindex – TradeIndex(1) > IntradayBarIndex //one trade X day
If not onmarket and time>= Startzeit and time < Endzeit and OTD and Tradetag<>date then
buy Position Lot AT Hi stopSET stop ploss spannepoints
ENDIF
Vielen Dank
10/26/2025 at 1:00 PM #253050Versuchen Sie Folgendes:
1234567891011121314151617181920212223242526272829303132333435DEFPARAM CumulateOrders = False//DEFPARAM flatbefore = 090000DEFPARAM flatafter= 213000Timeframe(1h,UpdateOnClose)Ema350 = average[350,1](close)Timeframe(default)ONCE Position = 1 // KONSTANTE KONTRAKTANZAHL!!ONCE Startzeit = 163000ONCE Endzeit = 193000ONCE AboveEMA = 0// Spanne 1530-1630 in Hi and Lo ermitteln// ————————once Bars=4 // 15 x 4 Minuteonce Hi=0once Lo=0If time = 163000 then // Das ist das Ende der 1545 Kerze. Also INCLUSIVE DIESERHi=highest[Bars](high)Lo=lowest[Bars](low)AboveEMA = (summation[4](close > Ema350) = 4)endifSpannepoints=low + ((Hi-Lo)/pointsize * 0.20) // Spanne in Punktenonce Tradetag=0If onmarket thenTradetag=dateendifOTD = Barindex - TradeIndex(1) > IntradayBarIndex //one trade X dayIf not onmarket and time>= Startzeit and time < Endzeit and OTD and Tradetag<>date AND AboveEMA and (close < Hi) thenbuy Position Lot AT Hi stopSET stop price spannepointsENDIFSie haben nicht angegeben, was Sie tun möchten, wenn der Preis 40 % der Spanne erreicht.
1 user thanked author for this post.
10/26/2025 at 1:18 PM #25305410/27/2025 at 9:40 AM #253065Mir ist noch etwas aufgefallen, der SL schließt die Trades schon oben in der range.
In Zeile 23 müsste die Berechnung stimmen, jedoch werden die Trades falsch geschlossen.
Wenn z. B die Range 100 Punkte ist, dann soll der Sl bei 20 % also 20 Punkte über dem Low schließen.
Siehe Bild
10/27/2025 at 4:36 PM #253089Probieren Sie diese modifizierte Version aus, bei der ich auch den Trailing Stop hinzugefügt habe:
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152DEFPARAM CumulateOrders = False//DEFPARAM flatbefore = 090000DEFPARAM flatafter= 213000Timeframe(1h,UpdateOnClose)Ema350 = average[350,1](close)Timeframe(default)ONCE Position = 1 // KONSTANTE KONTRAKTANZAHL!!ONCE Startzeit = 163000ONCE Endzeit = 193000ONCE AboveEMA = 0// Spanne 1530-1630 in Hi and Lo ermitteln// ————————once Bars=4 // 15 x 4 Minuteonce Hi=0once Lo=0If time = 163000 then // Das ist das Ende der 1545 Kerze. Also INCLUSIVE DIESERHi=highest[Bars](high)Lo=lowest[Bars](low)AboveEMA = (summation[4](close > Ema350) = 4)IF Not OnMarket THENSpannepoints=low + ((Hi-Lo) * 0.20) // Spanne in PunktenStartTrailing=low + ((Hi-Lo) * 0.40) // Spanne in PunktenENDIFendifonce Tradetag=0If onmarket thenTradetag=dateendifOTD = Barindex - TradeIndex(1) > IntradayBarIndex //one trade X dayIf not onmarket and time>= Startzeit and time < Endzeit and OTD and Tradetag<>date AND AboveEMA and (close < StartTrailing) and (close > Spannepoints) thenbuy Position Lot AT Hi stopSET stop price spannepointsTrailingSL = 0ENDIFIF OnMarket AND TrailingSL = 0 THENIF close > StartTrailing THENTrailingSL = lowest[8](low)SET stop price TrailingSLENDIFENDIFIF OnMarket AND TrailingSL THENTrailingSL = max(TrailingSL,lowest[8](low))SET stop price TrailingSLENDIFgraphonprice StartTrailing coloured("Blue")graphonprice TrailingSL coloured("Red")10/27/2025 at 7:52 PM #253103 -
AuthorPosts
