What Am I Missing – Scan not working
Forums › ProRealTime English forum › ProScreener support › What Am I Missing – Scan not working
- This topic has 13 replies, 2 voices, and was last updated 2 years ago by GraHal.
-
-
01/22/2022 at 10:05 PM #186337
Ive attached a screenshot of a stock listing from my newly created scan. The weekly chart (left) shows one of the stocks selected.
To the right is the scan code I generated. In summary, the scan should find all NYSE stocks where:
- Currently weekly low is lower than all 3 prior weeks
- Current weekly close > prior week’s close
- Volume >= 50 SMA of volume
Any/all help appreciated!!
Thanks!
01/23/2022 at 10:57 AM #186346It’s helpful to post your code on here as then I could copy and paste your code and run it on my Platform and see what I get and also I can easily make changes if your code does not work.
Above is quicker problem solving than me suggesting changes to you and you making changes and then me having to check back on here to see if my suggestion worked or not etc.
There does not appear to be anything wrong with your code btw.
01/23/2022 at 1:54 PM #186355Thanks! Good suggestion. I have included code below –
c1 = (low < low[2])
c2 = (close > close[1])
indicator1 = Volume
indicator2 = Average[50](indicator1)
c3 = (indicator1 >= indicator2)c4 = (low < low[3])
c5 = (low < low[1])
SCREENER[c1 AND c2 AND c3 AND c4 AND c5] (Variation AS “%Chg prev bar”)
Thanks again!
01/23/2022 at 2:04 PM #18635601/23/2022 at 2:33 PM #186362Thanks. The chart attachment on original post (wkly on left) clearly shows that the stock highlighted does not meet
the scan requirement: current low is lower than lows of past three weeks. There are others where current close
is not greater than the prior week’s close. Not sure what it’s doing, but I can see what it’s not doing.
As you have the code, perhaps you can pull up a few of the stocks you get as results and see if the
conditions are met.
Thanks again.
01/23/2022 at 2:49 PM #18636301/23/2022 at 2:55 PM #18636501/23/2022 at 5:14 PM #186367I think it is time related. My current scan shows conditions met for 1st 4 stocks IF I
exclude last week. I’m on Denver time, I think its +7. Let me set on +0 and see what happens.
Doesnt seem like that would be a problem as week is over, but what the hey, I’ll give it shot. 👍
Thanks!
01/23/2022 at 5:22 PM #18636801/23/2022 at 7:06 PM #186378Clutching at straws now, but I got to thinking … when does the week end … just before the new week starts? Which is 00:00 Monday.
So maybe that’s why the wek just passed is excluded because the week hasn’t passed yet?? 🙂
I have Display weekend data ticked … do you?
01/23/2022 at 9:17 PM #18638901/23/2022 at 10:42 PM #18639401/24/2022 at 12:44 AM #18640601/24/2022 at 9:58 AM #186438Try selecting the option for timezone as set on my computer … same as I do (but for Denver UTC – 07:00), see attached.
The weekend data option may appear and / or your Screener may then work correctly anyway with above settings?
-
AuthorPosts
Find exclusive trading pro-tools on