200 day average cross over problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25816 quote
    braazebraaze
    Participant
    New

    Hi guys,

    Thanks for any help in advance.

    I’m having issues with a really basic screener.

    All I want to scan for is UK shares where the price has crossed over the 200 day moving average and closed above it. (On daily chart)

    On the screener ive set up I seem to be getting mixed results. – Some stocks that have crossed that day, some that crossed the previous day, some that have finished below the 200 day!

    The code im using is this –

    indicator1 = Average[200](close)
    c1 = (close CROSSES OVER indicator1)
    
    indicator2 = Volume
    c2 = (indicator2 >= 500000)
    
    indicator3 = Average[200](close)
    c3 = (DClose(0) >= indicator3)
    SCREENER[c1 AND c2 AND c3] ((close/DClose(1)-1)*100 AS "%Chg yest.")

     

    Thanks

    Braaze

    #25836 quote
    NicolasNicolas
    Keymaster
    Legend

    The c3 condition is not needed if you are screening the daily timeframe only, because the Close should be already above the 200 MA because it has crosses on the last candlestick (c1 condition).

    indicator1 = Average[200](close)
    c1 = (close CROSSES OVER indicator1)
    
    indicator2 = Volume
    c2 = (indicator2 >= 500000)
    
    SCREENER[c1 AND c2] ((close/DClose(1)-1)*100 AS "%Chg yest.")

    About bad results, I can see 2 different problems:

    1. You not have subscribed to the live data of the shares lists you screened (End Of Day results only in this case).
    2. You have changed timezone/schedules of some shares/markets and this will not affect at all ProScreener calculation, only what you see on screen.
Viewing 2 posts - 1 through 2 (of 2 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

200 day average cross over problem


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
braaze @braaze Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
9 years, 7 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 02/20/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...