Long term/Short term MA trend screener error

Forums ProRealTime English forum ProScreener support Long term/Short term MA trend screener error

Viewing 3 posts - 1 through 3 (of 3 total)
  • #223020

    Hi, I am trying to setup a simple screener to identify stocks in both a ST and LT uptrend.

    It is pretty simple but I am getting results that are not correct. I have tried a number of variations of the code and the current one has the LT trend calculation as the screener. The screener (LT trend calc, which is the EMA144/EMA233) gives me a figure of greater than one but when I look at some of the results the EMA233 is clearly above the EMA144 which would result in a screener calcuation of less then 1 but that is not the result given.

    See attached eg for Alderan resources (AL8). Of the 43 results, at least 6 are incorrect.

     

     

    #223022
    JS

    Hi @langdon

    ProScreener uses the last 256 bars (Premium 1024 bars) to make calculations, probably your EMA233 needs more history for a correct calculation…

    #223034

    Yes, as JS  said, EMAs require more than twice the periods written within brackets, thus exceeding the built-in limits.

     

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

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