Steep angle up

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #228617 quote
    marco7630
    Participant
    New

    Hi,

    I would to see all the stocks on a daily time frame that fit the following criteria

    1. The angle of the EMA10 daily over the last 5 days should be at least 45% (up)
    2. The EMA200 daily has been rising for at least 20 days

    Thanks

    Gr Marco

    #228683 quote
    JS
    Participant
    Veteran

    Hi Marco,

    Determining an angle, for example 45 degrees, is difficult…
    An alternative could be:
    The EMA10 is up at least 45% over the last five days…

    TimeFrame(Daily)
    EMA10=ExponentialAverage[10](Close)
    EMA200=ExponentialAverage[200](Close)
    
    C1=(EMA10-EMA10[5])/EMA10[5]*100>=45
    C2=Summation[20](EMA200>EMA200[1])=20
    
    Screener[C1 and C2]
    Scherm­afbeelding-2024-02-24-om-11.50.18.png Scherm­afbeelding-2024-02-24-om-11.50.18.png
    #228685 quote
    marco7630
    Participant
    New

    Hi JS,

    Is it possible to say:

    • The EMA10 is up at least 5 times daily ATR percentage over the last 5 days

    Furthermore is it possible to add dates in the code?

    For example. I want to see at the stocks that meet the requirements on 13-12-23?

     

    Gr Marco

    #228692 quote
    JS
    Participant
    Veteran

    Hi Marco,

    Here is the custom screener…
    It is possible to use dates in your screener, but you must consider the maximum history of a screener…
    In this case, you’re using an EMA200 that already uses (much) more history, and when you also investigate the past, you’re probably short of history…

    TimeFrame(Daily)
    
    //If Date=20231213 then
    
    EMA10=ExponentialAverage[10](Close)
    EMA200=ExponentialAverage[200](Close)
    ATR5=AverageTrueRange[5](Close)
    
    C1=(EMA10-EMA10[5])>=5*ATR5
    C2=Summation[20](EMA200>EMA200[1])=20
    
    //EndIf
    
    Screener[C1 and C2]
    #228785 quote
    marco7630
    Participant
    New

    Thanks JS

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

Steep angle up


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
marco7630 @marco7630 Participant
Summary

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

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 02/23/2024
Status: Active
Attachments: 1 files
Logo Logo
Loading...