Screener and Indicator showing different values

Forums ProRealTime English forum ProScreener support Screener and Indicator showing different values

Viewing 9 posts - 1 through 9 (of 9 total)
  • #168835

    Hi all,

    I was wondering if anyone could help.

    I’ve made a screener, that I’m also using as an indicator so I can visually see. However, despite copying and pasting the code across, they show different values.

    I’m plotting the higher and low and center values. All of them differ in my indicator values when compared to those I output from my screener… Can anyone help?

    Thank you

    #168854

    At first sight it seems not related to the 254-bar limit of screeners, but it could be despite the sum of single periods, because LINEARREGRESSION could need more than its periods to make correct calculations.

    It looks like SMA vs. EMA. EMA’s need more bars than SMA to calculate the correct values for the same periods.

    Try replacing LINEARREGRESSION with AVERAGE.

    If this solves your problem then you need to use shorter periods.

    #168871

    Thank you for your reply.

    I’ve tried replacing the LinearRegression with average, but they still seem to differ… Any other ideas? I’m a bit puzzled 🙂

    #168872

    Just to add actually, even the smoothRSI value

    Differs on the screener and indicator, surely these should be the same? And shouldn’t take more than the 254 bars

    #168888

    As to smoothRSI, it works fine (see pic), both as an indicator and a screener. Sometimes there can be some minor differences due to a different update timing.

    As to the whole screener & indicator, there are always some minor differences (just a few decimals). I cannot tell what’s the source of those differences as they don’t seem related to the 254-bar limit. They are most likely due to some different rounding.

     

     

    #168899

    Thank you for trying this out.

    Yeah, in a lot of cases it is decimal, but occasionally it can be off by 3 or so. I thought it could be to do with real time vs slightly delayed, but 3 difference is too high for this. Both are in timeframes of 5 minutes, could this be anything to do with it?

    Thank you again

    Jono

    #168902

    Okay, so I’ve no figured out what is causing the differences, but do not understand why.

    I have an indicator that plots the smoothRSI line we have been talking about, but also on that indicator I have an RSI[78] that is hidden (this is the default one that comes with the software, so I cannot edit anything other than nbr and close etc). Now if I remove this the smoothRSI value changes…

    What exactly does the built in RSI indicator do? The line I’m getting from having them both on the same chart is what I’m after, not the one if RSI[78] is removed. I’m just not sure what this indicator is doing to the rest of the values.

    If you want to try and duplicate this, add a new indicator using the default rsi and set it to 78 on close. Create a new indicator with the smoothRSI line from before and add this to the RSI indicator. Now Create a screener with the smoothRSI line and compare.

     

    #168928

    I tested a simple 78-period RSI and I experienced some small differences.

    I can’t find out the cause, so you’d better hit Ctrl+M and open a ticket with the assistance.

     

    #168931

    Thank you 🙂

    I’ve done as you suggested. I’ll update this post once I hear back for anyone else that encounters the same problem

     

    1 user thanked author for this post.
Viewing 9 posts - 1 through 9 (of 9 total)

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