RSI candles smoothed with Keltner channel

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #139192 quote
    BryggareBryggare
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    BryggareBryggare
    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.
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

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 BryggareBryggare
6 years, 2 months ago.

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