EMA has a different internal value than the chart

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #165522 quote
    qigley
    Participant
    Junior
    SCREENER[ close = 9.65] ( exponentialaverage[200](close) as "EMA 200" )

    Hi All,

    Executing the above screener, why does the chart  display a different value for the EMA 200 than what Proscreener returns in its results list?

    Chart says 9.4383,  Procscreener result says 9.111 .

    Thanks

    qbe.jpg qbe.jpg
    #165529 quote
    robertogozzi
    Moderator
    Master

    ProScreener has a 254-bar limit.

    Exponential averages need more than the bars within brackets to calculate correctly. Use less period (maybe 100 or even less periods), or, even better, use a Simple Moving Average.

    qigley thanked this post
    #165531 quote
    qigley
    Participant
    Junior

    Hi Roberto,

    I  tried the SMA, and now the values align.

    SCREENER[ close = 9.65] ( average[200](close) as "EMA 200" )

    However I dont quite understand your answer when you say “Exponential averages need more than the bars within brackets to calculate correctly.” can you elaborate?

    qbe2.jpg qbe2.jpg qbe3.jpg qbe3.jpg
    #165539 quote
    robertogozzi
    Moderator
    Master

    The formula to calculate the exponential average for N periods requires about twice that number of bars.

    qigley thanked this post
    38857713-00CF-497D-B0EE-29917835BE5C.jpeg 38857713-00CF-497D-B0EE-29917835BE5C.jpeg
    #165548 quote
    qigley
    Participant
    Junior

    Thats very worthwhile information. to know Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

EMA has a different internal value than the chart


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
qigley @qigley Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by qigley
4 years, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 03/28/2021
Status: Active
Attachments: 4 files
Logo Logo
Loading...