ludowillems 111 posts msg #133711 - Ignore ludowillems modified |
1/13/2017 10:55:34 AM
dear all,
I would like to make a filter that shows me the statistics of a series of [number] of [bullish] or [bearish] candles in the last [n] candles.
The results could be something like this:
During the last 1000 days:
#ConsecutiveBullBars - occurrences Bull series
3 - 250
4 - 102
5 - 19
6 - 8
7 - 5
Meaning, that in the last 1000 bars, there were only 5 occurrences of 7 consecutive bull candles (or 0.5%) , and so there is a chance of 99.5% that the next candle will be bearish. That's the moment to go short the next day.
Can someone show me how to do this?
Thanks,
Ludo
|