Good day
I’m a brand new PRT user and last did programming in the late 1990’s!
I’ve created a screener on ProRealTIme ProScreener that looks at weekly candles and identifies:
1. Last Week’s Close was Lower that 2 Weeks Ago’s High
AND
2. This Current Week’s Close is Higher than is Higher than Last Week’s High
QUERY 1:
The program seems to work fine except for one issue: it seems to use the “Current Close” as the prior week’s Close. When does it define “Close” for international stocks? I normally run this program on Sunday nights, so I would have expected it to pick up the close on the prior Friday, 2 days earlier. Instead, it seems to pick up the close 2 Fridays earlier (9 days earlier).
QUERY 2:
Given that I want it to pick up the latest weekly close, how should I do that?
Hello 3Shot,
Personally I should add [0] to the close condition like: close[0]. If this does not help in the weekly search conditions, you might think about adding a daily search for the close and ask for the close[0]. As last friday close is last weekly close too.
Hope this helps.
Regards, Geraldo
1/ Because you are an EOD (End Of Day) user, screener will always pick the previous period as it would be the current one.
2/ Subscribe to the shares list and you’ll get rid of this “limitation”.
Thank u for your responses. I’ll test them out (where applicable) next weekend.
Hi Nicolas
I have the same problem !
It’s Saturday and proscreener doesn’t consider the current week as ended.
Can prorealtime make something for end of day user and make friday the last day of the week ? for stock markets and forex that the last week day.
I get also the same problem during march with nasdaq stock on daily time frame, proscreener always consider the current day as not ended at 22h (french hour) may be due to summer time in US and not in europe