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

Need some help with these constant lines

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

    Need some help with these constant lines

    I have a constant line indicator with labels. It basically plots the lines equidistant from each other based on the first two plot lines I enter (lines 1 and 2). It works great with the first 7 lines, but when I try to add more such as an eighth line, it doesnt plot. What am I missing here?
    I am not sure the best way to copy what i have, its too long to paste on here. I will attach as word file i guess. thanks.
    Attached Files

    #2
    Problem is in your Plot() method. Why are you overriding it? Unfortunately the Plot() method is outside the scope of what we provide technical support for at this time. Thanks for understanding.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Can anyone else help?

      Well I understand if you are unable to help. I am not sure why, but anyway. Is there someone else who may read this thread and give me some help? thanks.

      Comment


        #4
        Hello winJR...I've modified your code to allow for an unlimited number of lines to be coded...but since I'm not entirely sure what you want this indicator to do, it may not be what you intended.

        Ben

        Originally posted by winJR View Post
        Well I understand if you are unable to help. I am not sure why, but anyway. Is there someone else who may read this thread and give me some help? thanks.
        Attached Files

        Comment


          #5
          Thanks much, that is just great!

          You guys are awesome. Thanks for being such a great help. Its great to see people help each other out. Thanks again.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by algospoke, Today, 06:40 PM
          0 responses
          2 views
          0 likes
          Last Post algospoke  
          Started by maybeimnotrader, Today, 05:46 PM
          0 responses
          6 views
          0 likes
          Last Post maybeimnotrader  
          Started by quantismo, Today, 05:13 PM
          0 responses
          6 views
          0 likes
          Last Post quantismo  
          Started by AttiM, 02-14-2024, 05:20 PM
          8 responses
          168 views
          0 likes
          Last Post jeronymite  
          Started by cre8able, Today, 04:22 PM
          0 responses
          8 views
          0 likes
          Last Post cre8able  
          Working...
          X