ProScreener triggers signal too late

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #37922 quote
    SAcht
    Participant
    Junior

    Dear all,

    I have got a problem with ProScreener and I have spent a lot of time on fixing it. However, I was not successful, so you are basically my last hope 😉

    Unfortuately, ProScreener does not seem to only list values that fulfill my defined criterion on weekly basis.

    This is the code (it is based on Nicholas’ MBFX timing indicator, which you can find in the library):

    //PRC_MBFX Timing | indicator
    //25.04.2017
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    //translated from Pinescript indicator code
    
    //---Settings
    showHLC=1 //boolean variable
    //Range1=4
    //Range2=8
    //---End of settings
    middle = (((high + low) / 2) + ((high[1] + low[1]) / 2) + ((high[2] + low[2]) / 2) + ((high[3] + low[3]) / 2) + ((high[4] + low[4]) / 2)) / 5
    scale = (((high - low) + (high[1] - low[1]) + (high[2] - low[2]) + (high[3] - low[3]) + (high[4] - low[4])) / 5) * 0.2
    hh = (high - middle) / scale
    l = (low - middle) / scale
    c = (close - middle) / scale
    if showHLC then
    ht=average[1]((hh+l+c)/3)
    else
    ht=c
    endif
    
    indicator1 = ht
    c1 = (indicator1 CROSSES OVER 0)
    
    
    SCREENER[c1] ((close/DClose(1)-1)*100 AS "% Gestern")

    The goal is to come up with stocks for which the MBFX value (ht) just crosses over the value 0, on weekly level.
    However, when I just run this ProScreener on the German XETRA, one of the listed stocks is Lanxess (see enclosed picture)

    Apparently, this stock has triggered the signal last week, not this one. Consequently, the trigger comes too late.

    Do you have any idea how to fix this? Otherwise, ProScreener is not useful at all for my trading strategy…

    Unbenannt.jpg Unbenannt.jpg
    #37924 quote
    Nicolas
    Keymaster
    Master

    Do you have subscription to live data for this particular share?

    #37925 quote
    SAcht
    Participant
    Junior

    Unfortunately, I do not have live data for this share.

    I fully understand that this week’s candle will be shown as soon as the week has been closed.
    But does not buying the data mean that the signal will have a delay of two weeks?

    #37952 quote
    Nicolas
    Keymaster
    Master

    Crosses are always confirmed 1 bar later. Bt, if you launch a Sunday screener on a market shares you do not have real time, its calculations will be done on Thursday data.
    Indeed, in order for an end-of-day EOD client to have access to Friday data on a stock market, the current day must be the next trading day in the market, case on Monday.

    #38069 quote
    SAcht
    Participant
    Junior

    Thanks a lot for letting me know, Nicholas – very good to know!

    #38235 quote
    SAcht
    Participant
    Junior

    So, just to make sure that I purchase the correct data:

    If I want ProScreener to list stocks for which the signal is generated this week, I need to buy realtime data – correct?

    #38236 quote
    Nicolas
    Keymaster
    Master

    Please find attached a test that seems ok for NASDAQ/NYSE stocks for which I got live datas. RSI[14] crosses over 50 this week.

    stock-screener-weekly.png stock-screener-weekly.png
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

ProScreener triggers signal too late


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
SAcht @sacht Participant
Summary

This topic contains 6 replies,
has 2 voices, and was last updated by Nicolas
8 years, 9 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 06/09/2017
Status: Active
Attachments: 2 files
Logo Logo
Loading...