52 week low in the past
Forums › ProRealTime English forum › ProScreener support › 52 week low in the past
- This topic has 5 replies, 2 voices, and was last updated 1 year ago by
marco7630.
Viewing 6 posts - 1 through 6 (of 6 total)
-
-
04/25/2024 at 4:11 PM #23195504/25/2024 at 6:11 PM #231956
Try this one:
1234567891011121314151617181920212223Timeframe(Weekly)Wlow = closeFOR j = 1 TO 51Wlow = min(Wlow,close[j])NEXTIF Date > 20231110 THENWlow = 999999999ENDIF//Timeframe(Daily)myLow = WlowCond = 0FOR i = 0 TO 230IF Date[i] = 20231110 THENIF close[i] = myLow[i] THENIF low[i] <> high[i] THENCond = close[i]breakENDIFENDIFENDIFNEXTSCREENER[Cond](Cond AS "52w low")1 user thanked author for this post.
04/29/2024 at 7:30 AM #232008Hi Roberto,
Thanks.
Unfortunately it does not work. The results i get are not 52 week lows on the 10th of november 23. In attachment you find the results.
1 stock of which i am sure it was 52 week low on that date is not in the list. It is: VUZI
Can you check? Thanks
gr Marco
05/04/2024 at 7:53 AM #23230905/06/2024 at 8:58 AM #232359You asked for the lowest CLOSE, this is the code for the lowest LOW:
1234567891011121314151617181920212223Timeframe(Weekly)Wlow = lowFOR j = 1 TO 51Wlow = min(Wlow,low[j])NEXTIF Date > 20231110 THENWlow = 999999999ENDIF//Timeframe(Daily)myLow = WlowCond = 0FOR i = 0 TO 230IF Date[i] = 20231110 THENIF low[i] = myLow[i] THENIF low[i] <> high[i] THENCond = low[i]breakENDIFENDIFENDIFNEXTSCREENER[Cond](Cond AS "52w low")In addition, try replacing any occurrence of DATE (closing date) by OPENDATE (opening date).
05/07/2024 at 2:42 PM #232430 -
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)
Find exclusive trading pro-tools on 
Similar topics: