Screener 15 minutes timeframe open range bar volume
Forums › ProRealTime English forum › ProScreener support › Screener 15 minutes timeframe open range bar volume
- This topic has 7 replies, 2 voices, and was last updated 4 years ago by
robertogozzi.
-
-
08/31/2020 at 10:46 AM #143037
Hello
How can I scan for the volume for a specific barindex (time 3.30 pm) bar? I tried the following code? But it is not working.
123456789101112131415161718192021if time >= 152900 thenstartbar = barindexendifif time >= 154600 thenstartbar = 0endifmyvolume = volumev1 = Average[20](myvolume)if volume > v1[1] and startbar = 1 thenc1=1elsec1=0endifcriterium = volumescreener [c1] (criterium as "volume")I would like to screens for stocks that meet the following criterias:
After the first 15 minutes open range bar (3.30 pm) in Switzerland. I would like to see stocks that 15 minutes open range bar volume is bigger than the average[20](volume) in the 15 minutes timeframe.
Thanks for your help and support.
Onar Snow
08/31/2020 at 11:49 AM #143038Try this:
12345c1 = 0if OpenTime = 153000 thenc1 = volume > Average[20](volume)endifscreener[c1](volume as "volume")08/31/2020 at 4:00 PM #143080Thanks for your help. I tested the code today at 3.30 pm. But the screener is empty 🙁
OpenTime Volume 3.30 pm12345c1= 0if OpenTime = 153000 thenc1 = volume > Average[20](volume)endifscreener[c1](volume as "volume")08/31/2020 at 5:17 PM #143094Please do not use the leading ”@“ with usernames unless you are posting in a huge thread and want to refer one specific user among many.
It’s just the two of us!
My fault, I forgot that ProScreener only supports TIME, not OpenTime:
12345c1 = 0if Time = 154500 thenc1 = volume > Average[20](volume)endifscreener[c1](volume as "volume")so you have to use the time the candle clises, not when it opens.
Of course the condition will be true only at that time, unless you remove line 1.
09/01/2020 at 9:21 AM #14311709/01/2020 at 10:11 AM #143119It works for me, but there must be a candle at that exact time (the signal only lasts one bar, so at 101900 it will be lost, unless you remove line 1) and that candle must meet conditions.
09/01/2020 at 10:26 AM #14312009/01/2020 at 11:22 AM #143122v10.3 with IG.
I only have v11 with eod data (not intraday).
-
AuthorPosts
Find exclusive trading pro-tools on