Bollinger band counter trend alert.
1. First bar must touch the top/bottom of bollinger band.
2. Second bar close must be opposite the first bar that touched the top/bottom of band. Example: If first bar is green. Second bar after the close must be red.
3. If First bar touch the top. Third bar needs to break the high of the second bar and alert will be made. Alternatively, if First bar touch the bottom. Third bar needs to break the low of the second bar and alert will be made.
4. Same rule as #3 except if third bar did not break second bar. It’s valid up to the fourth bar.
If no setup is found it just looks for a new touch of band then it goes to sequence of 1 to 4 again until there is a valid alert.
Also please make a dashboard so I can see multiple time frame setups and other pairs.