Screener 15 minutes timeframe open range bar volume

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #143037 quote
    snow_onar
    Participant
    Senior

    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.

    if time >= 152900 then
    startbar = barindex
    endif
    
    if time >= 154600 then
    startbar = 0
    endif
    
    myvolume = volume
    
    v1 = Average[20](myvolume)
    
    if volume > v1[1] and startbar = 1 then
    c1=1
    else
    c1=0
    endif
    
    criterium = volume
    
    screener [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

    #143038 quote
    robertogozzi
    Moderator
    Master

    Try this:

    c1 = 0
    if OpenTime = 153000 then
        c1 = volume > Average[20](volume)
    endif
    screener[c1](volume as "volume")
    #143080 quote
    snow_onar
    Participant
    Senior

    @robertogozzi

    Thanks for your help. I tested the code today at 3.30 pm. But the screener is empty 🙁

    c1= 0
    if OpenTime = 153000 then
        c1 = volume > Average[20](volume)
    endif
    screener[c1](volume as "volume")
    #143094 quote
    robertogozzi
    Moderator
    Master

    Please 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:

    c1 = 0
    if Time = 154500 then
        c1 = volume > Average[20](volume)
    endif
    screener[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.

    #143117 quote
    snow_onar
    Participant
    Senior

    I tested your suggestion with 1 minute timeframe. Screener is empty -:)

    c1 = 0
    if Time = 101800 then
    c1 = close > close[1]
    endif
    
    
    screener[c1](time as "volume")

    Thanks for your support.

    #143119 quote
    robertogozzi
    Moderator
    Master

    It 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.

    #143120 quote
    snow_onar
    Participant
    Senior

    Are you using V10.3 or V11?

    I am using Prorealtime V11. It do not work.

    #143122 quote
    robertogozzi
    Moderator
    Master

    v10.3 with IG.

    I only have v11 with eod data (not intraday).

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Screener 15 minutes timeframe open range bar volume


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
snow_onar @snow_onar Participant
Summary

This topic contains 7 replies,
has 2 voices, and was last updated by robertogozzi
5 years, 6 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 08/31/2020
Status: Active
Attachments: No files
Logo Logo
Loading...