Kann das jemand programieren?
Siehe Bild.
Ich habe eigentlich nur Probleme mit dem genauen Einstieg, direkt “with next bar open”
https://picload.org/view/ridrcoga/chart-20052017-1500-eonse.png.html
//Maybe in this way to start coding:
//indicator PG
PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1]
Return = PG
// indicator to trade the PG Short
PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open>Open[1]
Return = PG Short
// indicator to trade the PG Long
PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open<Open[1]
Return = PG Short
//Maybe in this way to start coding:
//indicator PG
PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1]
Return = PG
// indicator to trade the PG Short
PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open>Open[1]
Return = PG Short
// indicator to trade the PG Long
PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open<Open[1]
Return = PG Long
Gute Arbeit! Kleinere Veränderung unten (nein = nach Rückkehr), um es zu arbeiten?
Farbcodes sind falsch, ich habe sie gemacht! 🙂
//https://www.prorealcode.com/reply/36155/edit/
//indicator PopGunG
//PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1]
//Return PG
//indicator to trade the PG Short
PGShort = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open>Open[1]
//indicator to trade the PG Long
PGLong = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open<Open[1]
Return PGShort coloured(256,0,0) AS "PopShort", PGLOng coloured(0,150,0) AS "PopShort"
Korrigiert Ich wünschte, dass Bearbeitungspost war länger als 5 Minuten!
Kriterien für kurze und lange Bedürfnisse tweaking?
//https://www.prorealcode.com/topic/code-pop-gun-rebound/#post-36155
//indicator PopGun
//PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1]
//Return PG
//indicator to trade the PG Short
PGShort = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open>Open[1]
//indicator to trade the PG Long
PGLong = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open<Open[1]
Return PGShort coloured(255,0,0) AS "PopShort", PGLong coloured(0,255,0) AS "PopLong"
Das ist aber schön.
So eine schnelle Antwort.
Und dann auch noch auf deutsch.
Ich bin begeistert.
Wie bekomme ich jetzt den direkten Einstieg nah der Triggerkerze hin?
//https://www.prorealcode.com/topic/code-pop-gun-rebound/#post-36155
//.................................................................
// Indicator
// just info
//indicator PopGun
//PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1]
//Return PG
//indicator to trade the PG Short
PGShort = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open>Open[1]
//indicator to trade the PG Long
PGLong = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open<Open[1]
Return PGShort coloured(255,0,0) AS "PopShort", PGLong coloured(0,255,0) AS "PopLong"
// End indicator
//.................................................................
//
// main code
IF PG Short then
... ?
buy 2 contracts at market
.....
little bit better than before
//https://www.prorealcode.com/topic/code-pop-gun-rebound/#post-36155
//.................................................................
// Indicator
// just info
//indicator PopGun
//PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1]
//Return PG
//indicator to trade the PG Short
PGShort = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open>Open[1]
//indicator to trade the PG Long
PGLong = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open<Open[1]
Return PGShort coloured(255,0,0) AS "PopShort", PGLong coloured(0,255,0) AS "PopLong"
// End indicator
//.................................................................
//
// main code
c1 = CALL "Pg Short"
IF PG Short then
... ?
buy 2 contracts at market
.....
//https://www.prorealcode.com/topic/code-pop-gun-rebound/#post-36155
//.................................................................
// Indicator
// just info
//indicator PopGun
//PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1]
//Return PG
//indicator to trade the PG Short
PGShort = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open>Open[1]
//indicator to trade the PG Long
PGLong = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open<Open[1]
Return PGShort coloured(255,0,0) AS "PopShort", PGLong coloured(0,255,0) AS "PopLong"
// End indicator
//.................................................................
//
// main code
c1 = CALL "PG Short"
IF c1 then
... ?
buy 2 contracts at market
.....
If PGShort Then
Sellshort 1 Contract at Market
Endif
If PGLong Then
Buy 1 Contract at Market
Endif
Nein, nicht long nach einer PG Long, sondern Short(!), wir traden den Rücklauf nach der Triggerkerze
(PG´s brechen seltener bei der 1. Kerze nach der Triggerkerze aus. Grundsätzlich können wir die Long nach PG Long zusätzlich programmieren. Kursziel 1 260% Ext. von der Aussenkerze, Kursziel 2 423 von der Ext. )
Aber hier geht erst mal nur um den Rebound nach der Triggerkerze. War die Triggerkerze Long, dann “withnext bar open” Short !!
https://picload.org/view/ridrcoga/chart-20052017-1500-eonse.png.html
//https://www.prorealcode.com/topic/code-pop-gun-rebound/#post-36155
//.................................................................
// Indicator
// just info
//indicator PopGun
//PG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1]
//Return PG
//indicator to trade the PG Short
PGShort = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open>Open[1]
//indicator to trade the PG Long
PGLong = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open<Open[1]
Return PGShort coloured(255,0,0) AS "PopShort", PGLong coloured(0,255,0) AS "PopLong"
// End indicator
//.................................................................
//
// main code
c1 = CALL "PG Short"
IF c1 then
buy 2 contracts at market with next bar open
.....
Hallo,
ist high und close richtig?
Muss es nicht high und low sein?
VG
Peter
Hello,
as i understood a pop gun is defined by a middle candle which is between two out candles that are higher and lower than the middle candle.
The screener defines the middle candle between high and close. As i understood popgun should be defined between high and low instead.