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 frslvr, Today, 04:29 PM
          0 responses
          11 views
          0 likes
          Last Post frslvr
          by frslvr
           
          Started by wjadevries, Today, 04:18 PM
          0 responses
          4 views
          0 likes
          Last Post wjadevries  
          Started by shahabjet1, Today, 03:47 PM
          2 responses
          12 views
          0 likes
          Last Post shahabjet1  
          Started by JTizz, Today, 03:21 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by EB Worx, Today, 02:49 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X