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 giulyko00, 04-24-2024, 12:03 PM
            9 responses
            43 views
            0 likes
            Last Post giulyko00  
            Started by memonic, Yesterday, 01:23 PM
            2 responses
            24 views
            0 likes
            Last Post memonic
            by memonic
             
            Started by merc410, Today, 03:41 AM
            2 responses
            15 views
            0 likes
            Last Post merc410
            by merc410
             
            Started by sugalt, 04-30-2024, 04:02 AM
            2 responses
            13 views
            0 likes
            Last Post sugalt
            by sugalt
             
            Started by Ndakotan1313, 03-14-2024, 05:02 PM
            2 responses
            64 views
            0 likes
            Last Post blaise_code  
            Working...
            X