Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Bollinger Bands on RSI

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bollinger Bands on RSI

    I am trying to develop an indicator by plotting bollinger bands on rsi.It should help in better identifying overbought and oversold conditions.My code has errors and is not compiling.every help will be usefull.thank you.
    i attatch the file here
    Attached Files

    #2
    Hi easyfying,

    you selected identical names for the variable and the property. I guess that is what the compiler complains about?


    [Description("default SuperRSI period 14 ")]
    [Category("Parameters")]
    public int SuperRSIperiod
    {
    get { return SuperRSIperiod; }
    set { SuperRSIperiod = Math.Max(1, value); }
    }


    Regards
    Ralph

    Comment


      #3
      Hi Ralph,
      Thanks for reply.I edited my code and rewrote it.I am getting one error while compiling.It says the type NinjaTrader.Indicator.Bbrsi holds already a definition for rsPeriod.
      The idea is to plot rsi bands and then plotting bollinger bands using rsi values as input values.Any help would be very usefull.
      Here is the edited code as attachment .
      regards.
      easyfying
      Attached Files

      Comment


        #4
        Could someone please guide how to get sma of rsi and then use this sma as a dataseries input.Thank you

        Comment


          #5
          Originally posted by easyfying View Post
          ... the type NinjaTrader.Indicator.Bbrsi holds already a definition for rsPeriod...
          Same problem, you have named a property and a private variable with the same name "rsPeriod".

          Regards
          Ralph

          Comment


            #6
            thnks ,i will again work on it.
            regards
            easyfying

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by percy3687, Today, 12:28 AM
            0 responses
            4 views
            0 likes
            Last Post percy3687  
            Started by sofortune, Yesterday, 11:45 PM
            1 response
            4 views
            0 likes
            Last Post sofortune  
            Started by zzeric, Yesterday, 11:23 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by Pep de lou, Yesterday, 08:14 PM
            2 responses
            20 views
            0 likes
            Last Post bltdavid  
            Started by fingers, 12-15-2023, 08:44 AM
            6 responses
            140 views
            0 likes
            Last Post bltdavid  
            Working...
            X