Strange SMA behavior

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #217681 quote
    benkunzbenkunz
    Participant
    New

    Hi,

    I’m trying to create a simple screener and the behavior seems weird to me. but I guess there is an explanation somewhere 🙂

    
    TIMEFRAME(daily)
    SMA50 = average[50](close)
    SMA200 = average[200](close)
    
    c1 = SMA50 > SMA200
    
    SCREENER [c1]

    my screener returns the “AXA” stock. I’m attaching the chart of AXA. We can clearly see that the SMA50 is below the SMA200, not above. Why was it returned by the screener ?
    regards

    Capture-decran-2023-07-15-a-11.47.39.jpg Capture-decran-2023-07-15-a-11.47.39.jpg
    #217684 quote
    JSJS
    Participant
    Master

    Hi,

    I see that you work with graphs where the historical data has not been adjusted after, for example, dividend payments…

    If you do not adjust the historical data there is a chance of “gap” formation, as in your graph, which cause wrong results in your screener…

    Go to “SetUp – Platform – Charts – Customize historical data”

    benkunz thanked this post
    #217691 quote
    benkunzbenkunz
    Participant
    New
    that did the trick! 🙂
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Strange SMA behavior


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
benkunz @benkunz Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by benkunzbenkunz
3 years, 2 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 07/15/2023
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...