Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator syntax help

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

    indicator syntax help

    I'm very new to Ninja and am having problems creating an indicator. I have used the indicator wizard along with some copying / pasting from other indicators to create bollinger bands around rsi.

    In the "On bar update" section I am getting an error stating that the line is a property, but is being used as a method.

    I attached a text file (RelativeRSI.txt) of the code. Anyone who can shed some light on the subject would be greatly appreciated.

    Thanks,

    Safetrading
    Attached Files

    #2
    After a quick glance, you likely want to rename the RSI property since this is an internal class name for the RSI indicator.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks a bunch! As soon as you mentioned it the light went on! That did the trick for that. Just one other question, probably easier than the last one, but I don't see it yet.

      I uploaded the revised code for the indicator. It now displays the upper & middle band, but the lower band displays at the same elevation as the middle band. I preceeded the standard deviation number with a minus sign, but that didn't do the trick. What did I miss?

      By the way, thanks for taking the time to respond. You saved me hours of scratching my head.

      Safetrading

      Originally posted by NinjaTrader_Ray View Post
      After a quick glance, you likely want to rename the RSI property since this is an internal class name for the RSI indicator.
      Attached Files

      Comment


        #4
        You will have to debug this one.
        RayNinjaTrader Customer Service

        Comment


          #5
          No problem. Thanks for your earlier assistance and have a great day.

          Originally posted by NinjaTrader_Ray View Post
          You will have to debug this one.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          626 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          359 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          562 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          567 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X