How to create specific date in probuilder

Forums ProRealTime English forum ProBuilder support How to create specific date in probuilder

Viewing 8 posts - 1 through 8 (of 8 total)
  • #158327

    Trying to do a screener for a specific date but unsure how to define the variable date in the probuilder section.

    I have put

    myDate = 202002202

    RETURN Date

    Not sure this is displaying it correctly, can anyone help?

     

     

    #158337

    I have now changed it to this – does this look correct?

    myDate = YYYYMMDD
    YYYYMMDD = Date
    RETURN Date

    #158347

    No, your code is wrong.

    YYYYMMDD is the correct date format.

    You can build any date by multiplying single data this way:

    YYYY0000      2020 * 10000   = 20200000 +
    MM00                  2 *     100    =            200 +
    DD                        2 *         1     =                2 =
    YYYYMMDD                             = 20200202

    DATEs are just numbers.

     

     

    #158359

    YYYYMMDD = Date
    RETURN Date

    This is what I have in probuilder to return date – then in screener i will input specific date but it is not working?

     

    #158373

    I have taken this example from another thread. code is by Nicholas. take some time to understand it, feel free to ask questions

     

    setting the idate to your selected date and using date=idate is the key for you I think.

    #158415

    Thanks alot, think I have it now! is the main chart meant to reflect the date i set? as the main chart isn’t switching to the date I have set? instead i am having to manually go to that date.

    #158416

    instead i am having to manually go to that date.

    Yeah, unfortunately they are separate entities, but you can have many many charts, so set it up as you wish 👍

    #158654

    cc267 – Follow the forum rules.

    • Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.
Viewing 8 posts - 1 through 8 (of 8 total)

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