Code Pop Gun Rebound

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #36152 quote
    bluetime6
    Participant
    Average

    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

    #36153 quote
    bluetime6
    Participant
    Average

     

    //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

    #36154 quote
    bluetime6
    Participant
    Average
    
    //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
    #36155 quote
    GraHal
    Participant
    Master

    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"
    #36156 quote
    GraHal
    Participant
    Master

    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"
    
    #36157 quote
    bluetime6
    Participant
    Average

    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
    .....
    
    
    #36158 quote
    bluetime6
    Participant
    Average

    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
    .....
    #36159 quote
    bluetime6
    Participant
    Average
    //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
    .....
    #36160 quote
    GraHal
    Participant
    Master
    If PGShort Then
    Sellshort 1 Contract at Market
    Endif
    
    If PGLong Then
    Buy 1 Contract at Market
    Endif
    #36161 quote
    bluetime6
    Participant
    Average

    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

    GraHal thanked this post
    #36162 quote
    bluetime6
    Participant
    Average
    //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
    .....
    GraHal thanked this post
    #36163 quote
    bluetime6
    Participant
    Average

    ?? BBC codes?

    #45222 quote
    pmeier
    Participant
    Junior

    Hallo,

    ist high und close richtig?

    Muss es nicht high und low sein?

    VG

    Peter

    #45403 quote
    Nicolas
    Keymaster
    Master

    @pmeier
    Was meinen Sie?

    #45425 quote
    pmeier
    Participant
    Junior

    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.

Viewing 15 posts - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.

Code Pop Gun Rebound


ProBuilder Support

New Reply
Author
author-avatar
bluetime6 @bluetime6 Participant
Summary

This topic contains 19 replies,
has 6 voices, and was last updated by JohnScher
7 years, 7 months ago.

Topic Details
Forum: ProBuilder Support
Language: German
Started: 05/20/2017
Status: Active
Attachments: 2 files
Logo Logo
Loading...