Screener logic problem?

Forums ProRealTime English forum ProScreener support Screener logic problem?

Viewing 6 posts - 1 through 6 (of 6 total)
  • #125640

    Hi

    New to Prorealtime Proscreener.

    I have attempted to code a simple screener that filters for weekly closes over the 10ema.  But it seems to be picking candidates a week late.

    Can someone advise my logic error please?

    My ain is to identify stocks with a weekly close above the 10ema that had a weekly open below the 10ema and are at least $1 in value.

    Attached is the code logic and and example of a stock picked a week late.

    thanks

    #125643

    I think it’s beacuse you have subscribed to free end-of-day data, so it’s 1 day late or 1 week late, depending on your TF.

     

    #125644

    Thanks Robert

    I dont understand that.  If I run a scan now, the week just gone has ended.  Why would it look back a further week?

     

    #125651

    Yes, now charts have been updated.

    Would you mind posting the code written by PRT?  There’s something strange in the second line: close >= 1 (weekly).

    #125653

    I just ran the scan again – still a week late.

    Could it be that Australia/Asia is not deemed ‘closed’ or is not updated by PRT until later in the weekend than now?

    The code:

    many thanks

    #125655

    My charts are updated.

    Australia closes before europe, so your charts should be updated as well, unless there’s some specific unknown reason, such as maintenance.

    The code is correct.

    PRT are likely to update charts correctly, leaving code one bar late.

    Try tomorrow.

     

     

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

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