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 Haiasi, 04-25-2024, 06:53 PM
          2 responses
          16 views
          0 likes
          Last Post Massinisa  
          Started by Creamers, Today, 05:32 AM
          0 responses
          4 views
          0 likes
          Last Post Creamers  
          Started by Segwin, 05-07-2018, 02:15 PM
          12 responses
          1,785 views
          0 likes
          Last Post Leafcutter  
          Started by poplagelu, Today, 05:00 AM
          0 responses
          3 views
          0 likes
          Last Post poplagelu  
          Started by fx.practic, 10-15-2013, 12:53 AM
          5 responses
          5,407 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Working...
          X