200 day highs – coding help please
Forums › ProRealTime English forum › ProScreener support › 200 day highs – coding help please
- This topic has 5 replies, 3 voices, and was last updated 3 years ago by timmmmmbo.
-
-
01/26/2021 at 6:23 AM #159439
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
01/26/2021 at 9:04 AM #159448here 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.
12345678910hh = highest[200](high)if hh<>hh[1] thenstart=barindexendifc1 = barindex-start<60c2 = close/close[60]>=1.10c3 = close/highest[60](high)>0.6 and close/highest[60](high)<1screener[c1 and c2 and c3] (close/highest[60](high))01/26/2021 at 9:13 AM #159452There you go:
123456HI200 = highest[200](high)c1 = (highest[60](high) = HI200)c2 = (close >= (close[60] * 1.10))HI40 = (highest[60](high) * 0.60)c3 = close >= HI40Screener[c1 and c2 and c3]01/26/2021 at 9:16 AM #159454Ahahah…. you were faster Nicolas!
Very different approach.
01/26/2021 at 10:00 AM #15946201/27/2021 at 11:29 AM #159563 -
AuthorPosts