Bollinger Band Squeeze with RSI Divergence

Forums ProRealTime English forum ProScreener support Bollinger Band Squeeze with RSI Divergence

Viewing 4 posts - 1 through 4 (of 4 total)
  • #28333

    Hi

    I am looking for some assistance on creating a high ‘A quality’ setup for proscreener  to do the following Bollinger Band squeeze with RSI divergence trades.

    See the video here after the 6 minute marker, which explains the trading strategy. https://www.youtube.com/watch?v=7PY4XxQWVfM&list=TLUTNeV0_uFOc

    I have created some code (far from perfect) to detect the boll squeeze and a trigger bar outside the upper bollinger (see below),  but need RSI divergence detected which is inline with the relevant candles for the swing pivot ighs.  So for example, when price makes a higher high, and RSI makes a lower high, go short.

    I have looked at the platform RSI divergence indicators and also the RSX indicator Nicholas created here (https://www.prorealcode.com/prorealtime-indicators/divergences-rsx/),, but the coding is beyond my knowledge.

    Anyone up for a challenge.

    Thanks

    Rob

     

    2 users thanked author for this post.
    #28377

    Interesting strategy because it has sense.  The problem here is that you need 3 conditions that could not appear all at the same time:

    • piercing of the bollinger bands
    • a BB squeeze
    • an RSI divergence

    So to give an effective signal that compile all of these informations, we must define first a “lookback window” for these conditions to be true within these periods.

    How much bars in the past from the current candlestick do you want to go back in the past to find if these conditions were fulfilled?

    #28380

    Hi Nicolas,

    Thanks for your fast response.

    For daily timeframe,  the bollinger band squeeze would need to be decreasing over say, 12-15 bars.  Within this band, would need to see the 2 swing highs with the higher high.   And inline with the 2 highs of the candles that are touching or piercing the upper bollinger, to compare the RSI values at this point.  The 2nd candle to pierce the upper bollinger and see a quick rejection would be preferable,  but not absolutely necessary, so an OR maybe good here.

    Entry would be on price action and a close of a bar closing lower than the previous 2-3 bars or even a doji.

    This could be used on the 4 hourly and 1 hourly time frame.  May need to configure the look back periods for the boll band squeeze.

    Many thanks

    Rob

     

    #28411

    This is the code for a complete screener that catch these conditions, from my own view. Only the bearish trades opportunity is coded. You need to test it by yourself! I modified the squeeze condition with a Bollinger Bands contained into a keltner channel instead.

     

    4 users thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)

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