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 WHICKED, Today, 09:05 PM
          0 responses
          9 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by luislag14, Today, 06:29 PM
          0 responses
          8 views
          0 likes
          Last Post luislag14  
          Started by Protech, Today, 11:08 AM
          1 response
          23 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by guilhem, Today, 02:09 PM
          1 response
          24 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by Hyper, Today, 12:20 PM
          1 response
          23 views
          0 likes
          Last Post NinjaTrader_Jim  
          Working...
          X