Breakout next 5 Bars

Forums ProRealTime English forum ProOrder support Breakout next 5 Bars

Viewing 15 posts - 31 through 45 (of 47 total)
  • #207851

    Thx, dont know whats wrong yesterday. Now it works if the first bar behind the popgun breaks out. Do you have any solution for the last 4 bars?

    #207852

    Now it works if the first bar behind the popgun breaks out. Do you have any solution for the last 4 bars?

    If you are using a low value for  A4 and A6 then likely bar 1 after the popgun will be the bar where a trade is entered.

    Please post a screenshot showing an example of where bars 2 to 4 after popgun should enter a trade but do not.

    #207887
    2 users thanked author for this post.
    #207888

    Hi, heres an example. The third bar should be fill the buy order.

    #207891

    The trade starts at entry stop
    the entry stop = high + 25 percent from the range high-low
    you can change the entry stop auf 0 percent, so the trade start at high stop
    // schönen Gruß an tippi
    // und korrigiere mal deinen Namen Killerplautze

    #207894

    The third bar should be fill the buy order.

    What value were you using for A4?

    #207906

    I have tried out 1, 5 and 10.

    #207911

    Please say what instrument and timeframe and values of A4 to A7 and at exactly what date and time you are analysing then I will set up exactly the same conditions and we can compare notes etc?

    If anybody can spot something I’ve missed or you wish to tweak the code further (or rewrite code from scratch) then please feel free.

    #207920

    A popgun is a well-known chart pattern consisting of 3 candles. 2 outside candles that completely enclose an inside candle with its highs and lows.

    For the sake of simplicity, the breakout is traded in the trend direction which is determined by the 2nd outside candle. This is where the impulse wave according to the Elliot Wave Theory comes into play. The breakout is determined when the high or low of the 2nd outside candle is exceeded within the next 5 candles. There is a little or no dispute about this.

    The difficulties are determining in the target!
    The question arises whether to use points in general or points or a percentage of the price of the value or as a percentage of the 2nd outside or even as a percentage of the 1st outside candle or even more so according to some other target profit or a trailings stop or or or….

    Here we worked with percentages of the 2nd outside.
    The author means that one jumps into the impulse coming from the 2nd outside and then takes the impulse over a certain “distance”, e.g. from 25% of the range of the 2nd outside to 50% of the range of the 2nd outside. Cause PopGuns can be traded in all markets and all time frames, so you can take this “distance” very often with gains.

    1 user thanked author for this post.
    #207922

    see attached

    1 user thanked author for this post.
    #207927

    correction…

    line 50
    // percentrangestart = support or resistance from the range High-Low in percent, possible exit from a trade

    #207928

    correction…

    line 50
    // percentrangeend = support or resistance from the range High-Low in percent, possible exit from a trade

    so, now but…………….

    #207929

    gl and lg at all
    i m off to next weekend

    #207935

    I’m sorry.
    I need to revise the code again. The stop does not work correctly yet.
    Will done next weekend.

    2 users thanked author for this post.
    #208499

    I’m a bit confused now, are you guys talking about an indicator or an algo now???? Find the popgun interesting as an indicator. Even better in Algo, of course ??? Is there a ready made algo as Itf. ????

Viewing 15 posts - 31 through 45 (of 47 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login