Code Pop Gun Rebound
Forums › ProRealTime Deutsch forum › ProBuilder Support › Code Pop Gun Rebound
- This topic has 19 replies, 6 voices, and was last updated 6 years ago by JohnScher.
-
-
05/20/2017 at 2:09 PM #36152
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
05/20/2017 at 2:17 PM #36153//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
05/20/2017 at 2:18 PM #36154PG Indicator1234567891011121314151617181920212223//Maybe in this way to start coding://indicator PGPG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1]Return = PG// indicator to trade the PG ShortPG = 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 LongPG = High[2]>High[1] and Close[2]<Close[1] and High>High[1] and Close <Close[1] and Open<Open[1]Return = PG Long05/20/2017 at 2:45 PM #36155Gute Arbeit! Kleinere Veränderung unten (nein = nach Rückkehr), um es zu arbeiten?
Farbcodes sind falsch, ich habe sie gemacht! 🙂
1234567891011121314//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 ShortPGShort = 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 LongPGLong = 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"05/20/2017 at 3:09 PM #36156Korrigiert Ich wünschte, dass Bearbeitungspost war länger als 5 Minuten!
Kriterien für kurze und lange Bedürfnisse tweaking?
1234567891011121314//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 ShortPGShort = 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 LongPGLong = 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"05/20/2017 at 3:32 PM #36157Das 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?
1234567891011121314151617181920212223242526272829//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 ShortPGShort = 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 LongPGLong = 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 codeIF PG Short then... ?buy 2 contracts at market.....05/20/2017 at 3:35 PM #36158little bit better than before
Code Pop-Gun-Rebound12345678910111213141516171819202122232425262728293031//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 ShortPGShort = 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 LongPGLong = 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 codec1 = CALL "Pg Short"IF PG Short then... ?buy 2 contracts at market.....05/20/2017 at 3:36 PM #36159Coe Pup-Gun-Rebound12345678910111213141516171819202122232425262728293031//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 ShortPGShort = 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 LongPGLong = 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 codec1 = CALL "PG Short"IF c1 then... ?buy 2 contracts at market.....05/20/2017 at 3:43 PM #3616005/20/2017 at 3:51 PM #36161Nein, 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
1 user thanked author for this post.
05/20/2017 at 3:54 PM #36162PG Rebound123456789101112131415161718192021222324252627282930//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 ShortPGShort = 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 LongPGLong = 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 codec1 = CALL "PG Short"IF c1 thenbuy 2 contracts at market with next bar open.....1 user thanked author for this post.
05/20/2017 at 3:55 PM #3616309/02/2017 at 1:38 PM #4522209/04/2017 at 5:00 PM #4540309/04/2017 at 9:21 PM #45425Hello,
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.
-
AuthorPosts