Moving averages daily

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #214451 quote
    marco7630
    Participant
    New
    Hello,
    I would like to see all the assets that meet the following requirements (daily timeframe)
    Stoch RSI 14 needs to be above 70
    The SMA5, SMA10, EMA20 need to be green (going up)
    The current price candle needs to cross over the SMA20
    Daily average volume above 1 million
    Price needs to be above 10
    Thanks
    gr Marco
    #214452 quote
    robertogozzi
    Moderator
    Master

    There you go:

    TimeFrame(Daily)
    lengthRSI   = 14 //RSI period
    lengthStoch = 14 //Stochastic period
    myRSI       = RSI[lengthRSI](close)
    MinRSI      = lowest[lengthStoch](myrsi)
    MaxRSI      = highest[lengthStoch](myrsi)
    StochRSI    = ((myRSI-MinRSI) / (MaxRSI-MinRSI))*100
    Sma5        = average[5,0](close)
    Sma10       = average[10,0](close)
    Sma20       = average[20,0](close)
    VolSMA      = average[100,0](volume)
    c1          = StochRSI > 70
    c2          = Sma5  > Sma5[1]
    c3          = Sma10 > Sma10[1]
    c4          = Sma20 > Sma20[1]
    c5          = close CROSSES OVER Sma20
    c6          = Volsma > 1000000
    c7          = close > 10
    Cond        = c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7
    SCREENER[Cond]

    I tested it on a daily chart, selecting ALL the available indices and markets. Only 3-4 signals were returned, due to strict conditions, which you can modify whenever you need to.

    #214455 quote
    marco7630
    Participant
    New

    Thanks Roberto

    #214457 quote
    marco7630
    Participant
    New

    Hi Roberto,

     

    I see a little mistake. I miss the EMA20. Line 15 should be the EMA20.

     

    gr Marco

    #214473 quote
    robertogozzi
    Moderator
    Master

    My fault, I misread that line.

    There you go:

    TimeFrame(Daily)
    lengthRSI   = 14 //RSI period
    lengthStoch = 14 //Stochastic period
    myRSI       = RSI[lengthRSI](close)
    MinRSI      = lowest[lengthStoch](myrsi)
    MaxRSI      = highest[lengthStoch](myrsi)
    StochRSI    = ((myRSI-MinRSI) / (MaxRSI-MinRSI))*100
    Sma5        = average[5,0](close)
    Sma10       = average[10,0](close)
    Sma20       = average[20,0](close)
    Ema20       = average[20,1](close)
    VolSMA      = average[100,0](volume)
    c1          = StochRSI > 70
    c2          = Sma5  > Sma5[1]
    c3          = Sma10 > Sma10[1]
    c4          = Ema20 > Ema20[1]
    c5          = close CROSSES OVER Sma20
    c6          = Volsma > 1000000
    c7          = close > 10
    Cond        = c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7
    SCREENER[Cond]
    #215112 quote
    marco7630
    Participant
    New

    Hi Roberto,

     

    What do i need to add to only see assets that have a bolinger bandwidth (20,2) of at least 0.10?

     

    gr Marco

    #215114 quote
    robertogozzi
    Moderator
    Master

    I added line 20:

    TimeFrame(Daily)
    lengthRSI   = 14 //RSI period
    lengthStoch = 14 //Stochastic period
    myRSI       = RSI[lengthRSI](close)
    MinRSI      = lowest[lengthStoch](myrsi)
    MaxRSI      = highest[lengthStoch](myrsi)
    StochRSI    = ((myRSI-MinRSI) / (MaxRSI-MinRSI))*100
    Sma5        = average[5,0](close)
    Sma10       = average[10,0](close)
    Sma20       = average[20,0](close)
    Ema20       = average[20,1](close)
    VolSMA      = average[100,0](volume)
    c1          = StochRSI > 70
    c2          = Sma5  > Sma5[1]
    c3          = Sma10 > Sma10[1]
    c4          = Ema20 > Ema20[1]
    c5          = close CROSSES OVER Sma20
    c6          = Volsma > 1000000
    c7          = close > 10
    c8          = BollingerBandWidth[20](close) >= 0.1
    Cond        = c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7 AND C8
    SCREENER[Cond]
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Moving averages daily


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
marco7630 @marco7630 Participant
Summary

This topic contains 6 replies,
has 2 voices, and was last updated by robertogozzi
2 years, 9 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 05/10/2023
Status: Active
Attachments: No files
Logo Logo
Loading...