Probability of a run of events being followed by another event

Forums ProRealTime English forum ProBuilder support Probability of a run of events being followed by another event

Viewing 2 posts - 1 through 2 (of 2 total)
  • #104170

    Here is  little indicator that allows you to measure the percentage of times in history that a run of events has occurred and all resulted in a second event. So for example if a week ends down how often has there been a run of 3 times in a row of that week being followed by an up week? In the image shown we can see that there has been 121 times that a run of three down weeks followed by three up weeks has occurred which is only 20% of runs managing to reach three. These three first events do not have to be in three candles in a row because the indicator just ignores candles where the first event does not occur and just uses those where it does.

    Obviously the runs will depend on your starting point and also a run of 6 is actually 4 runs of three (bets 123, 234, 345 and 456)but we only see it as two runs in this simple indicator.

    The idea for it came from thinking about the gamblers way of putting everything on red and if it comes up red then putting everything on red again and if that wins do it again! What are your chances of winning that series of bets? Well now we know that if we keep betting on every down week on the DJI that it will go up the next week our chance of winning all three bets is just 20%.

    You can change the events in the indicator to test all sorts of things to maybe find a better edge.

    I’m sure that I wrote a far more complicated candle run analyser a while back which I think I made a topic about.

     

     

     

    #104172

    I knew that I did something similar before!

    https://www.prorealcode.com/prorealtime-indicators/candle-run-analysis-tool/

    https://www.prorealcode.com/prorealtime-indicators/candle-run-analysis-graph/

    The coding is a bit clunky as it was in my early days of learning PRT code!

Viewing 2 posts - 1 through 2 (of 2 total)

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