correct way to place overbought and oversold parameters of the RSI

Created at 07 Aug 2020, 01:03
SA

samuel.jus.cornelio

Joined 19.03.2020

correct way to place overbought and oversold parameters of the RSI
07 Aug 2020, 01:03


 

Hi guys, please. what is the correct way to place overbought and oversold parameters of the RSI? thank you for the kindness

 

 

 [Parameter("Source")]

        public DataSeries Source { get; set; }



        [Parameter("Periods", DefaultValue = 14)]
        public int Periods { get; set; }


        [Parameter("overbought", DefaultValue < 60)]
        public double overbought { get; set; }
       

        [Parameter("oversold", DefaultValue > 40)]
        public double oversold { get; set; }


@samuel.jus.cornelio
Replies

PanagiotisCharalampous
07 Aug 2020, 08:18

Hi samuel.jus.cornelio,

You do not pass these values as parameters to the indicator. They are not a part of the indicator's calculation.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous