Hi I am wanting to scan for stocks that have made new 200 day highs in the last 60 days… that are currently up atleast 10% in the last 60 days… and are within 40% of the highs of the last 60 days…. is this even possible?
The aim is to capture the first pullback/base after an explosive stage 1 base breakout?
Any help or guidance appreciated thanks
here is the code of the screener you requested:
200 days highest high is not older than 60 days, the difference between the close and close 60 days ago is at least 10% higher, and the price is resting in the 40% area below the 60 days high.
hh = highest[200](high)
if hh<>hh[1] then
start=barindex
endif
c1 = barindex-start<60
c2 = close/close[60]>=1.10
c3 = close/highest[60](high)>0.6 and close/highest[60](high)<1
screener[c1 and c2 and c3] (close/highest[60](high))
There you go:
HI200 = highest[200](high)
c1 = (highest[60](high) = HI200)
c2 = (close >= (close[60] * 1.10))
HI40 = (highest[60](high) * 0.60)
c3 = close >= HI40
Screener[c1 and c2 and c3]
Ahahah…. you were faster Nicolas!
Very different approach.
😆 yes! I made almost the same thing for C3, but realize that if you are superior to 60%, the actual close could also be the 100%, so the current 60 periods highest high, so not in a pullback anymore.
Thanks gents – muchos appreciatos.