Can’t get specific date on screener to work

Forums ProRealTime English forum ProScreener support Can’t get specific date on screener to work

Viewing 11 posts - 1 through 11 (of 11 total)
  • #158599

    I want to use a specific date in my screener. My understanding is, I need to create a “date” indicator myself in probuilder to work as a variable in a screener?

    so i went into probuilder and my syntax is:

    Its divided by 100000 as it doesn’t seem to display correctly on the chart. I have attached screenshot of the chart.

    I have produced simple screener below to illustrate date issue as i’m clearly not doing something correct here as the screener is blank.

     

     

    #158602

    That seems correct. Try eliminating line 1 from the indicator.

     

    #158605

    Deleted line 1 on the indicator but the screener is still showing no stocks.

    #158613

    Is that date the current date?

    Because screeners can only screen live.

    Or try replacing the last line with:

    So that you check conditions for all days in 2021.

     

    #158681

    I’ve changed the last line to what you suggested but it still brings up nothing.

    I was under the impression from previous threads that you could scan on a specific day? https://www.prorealcode.com/topic/scan-on-specific-date/

    Do you know why the indicator shows the date with several decimals instead of the format its suppose to (YYYYMMDD)? I found a thread where someone else also said the date is not showing how it should? https://www.prorealcode.com/topic/date-in-proscreener-is-displayed-as-20-2m/ Is this a glitch with the software?

    #158684

    You shouldn’t use division, because it may be displayed by the indicator as, say, 20M, but it’s kept internally as a complete number, so it won’t affect expressions.

    It’s not a real glitch, simply date & time data type are not supported.

    I think you should try removing the division and compare the returned value with a complete date such as 20210104.

    #158687

    This is what I get without the division (see screenshot), it reverts to two decimals. So when i enter a date in screener as YYYMMDD it doesn’t recognise it.

    #158819

    (see screenshot),

    What screenshot? There is nothing attached.

    #158831

    I click select file and can see the picture attached but then when i submit nothing is showing up?

    #158850

    This is the indicator:

    This is the screener:

    they work.

     

    #158858

    Thankyou Roberto! This works perfectly now, thanks for all your help.

Viewing 11 posts - 1 through 11 (of 11 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login