I hope someone is available to help with my question. I wanted to search for an answer in this forum but seem unable to find the search button!?
In my screener, I need to check whether the market price (high) has at any time been above the upper band in the previous (n) periods. How would I achieve this please. Thanks in advance.
Simon
JSParticipant
Veteran
Hi Simon,
Try this one…
TimeFrame(Daily)
n=20 //Periods
BBUp=BollingerUp[20](close)
C1=Summation[n](High>BBUp)>=1
Screener[C1](High>BBUp as "Crossing High BBUp")