RSI candles smoothed with Keltner channel

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #139192 quote
    Bryggare
    Participant
    Average

    I would like some help to make a screener for the candles in this indicator.  I would like to have one screener when it goes from red candle to green candle and one screener when it gos from green candle to red candle. It is important for me that  it is two diffrent screeners. One that I can use in bull markets and one that I could use in bear markets.

    I would be very happy if you could help me.

    #139206 quote
    robertogozzi
    Moderator
    Master

    Red to Green:

    // RSI candles smoothed
    //
    // https://www.prorealcode.com/prorealtime-indicators/rsi-candles-smoothed-with-keltner-channel/
    //
    RSIp         = 14  //RSI period
    SmoothPeriod = 3   //Smoothing period (0=no smoothing)
    SmoothType   = 1   //Moving average type for smoothing
    SmoothPeriod = max(SmoothPeriod,1)
    rsiO         = average[SmoothPeriod,SmoothType](rsi[RSIp](open))
    rsiC         = average[SmoothPeriod,SmoothType](rsi[RSIp](close))
    Bullish      = rsiC > rsiO
    Bearish      = rsiC < RsiO
    Red2Green    = Bearish[1] AND Bullish
    SCREENER[Red2Green]

    Green to Red:

    // RSI candles smoothed
    //
    // https://www.prorealcode.com/prorealtime-indicators/rsi-candles-smoothed-with-keltner-channel/
    //
    RSIp         = 14  //RSI period
    SmoothPeriod = 3   //Smoothing period (0=no smoothing)
    SmoothType   = 1   //Moving average type for smoothing
    SmoothPeriod = max(SmoothPeriod,1)
    rsiO         = average[SmoothPeriod,SmoothType](rsi[RSIp](open))
    rsiC         = average[SmoothPeriod,SmoothType](rsi[RSIp](close))
    Bullish      = rsiC > rsiO
    Bearish      = rsiC < RsiO
    Green2Red    = Bullish[1] AND Bearish
    SCREENER[Green2Red]
    #139219 quote
    Bryggare
    Participant
    Average

    Thank you works very good

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

RSI candles smoothed with Keltner channel


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Bryggare @bryggare Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Bryggare
5 years, 8 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 07/13/2020
Status: Active
Attachments: No files
Logo Logo
Loading...