Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do I make this indicator display 50 lines?

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

    How do I make this indicator display 50 lines?

    Hello All,

    I recently downloaded Multilines, which was under Version 7 Miscellaneous.

    It has 21 lines. I tried to make it 51 lines, but it still only displays 21.
    I basically copied the previous work to 20, and repeated it to 50.

    Could you please look at the attachment and let me specifically know what to change?

    The 51 line indicator is renamed EuroLevels.


    Thank you.
    Attached Files

    #2
    Brojas,

    It looks like lines 123-153 have duplicate line settings. You likely are just getting a plot overwriting another plot here.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      So what can I literally do to correct this?

      I'm a newbie with NT Script.


      Thanks.

      Comment


        #4
        brojas,

        Sure, no problem.

        Look at these lines below. This is how the lines are set for all bars prior to these lines.

        Code:
        if (lineCount >= 20)	Line19.Set(midPoint[B] +[/B] (lineSpacing * 10));
        if (lineCount >= 21)	Line20.Set(midPoint[B] -[/B] (lineSpacing * 10));
        However, as soon as you added your new lines, you set their Y position to be the same thing :

        Code:
        if (lineCount >= 22)	Line21.Set(midPoint[B] - [/B](lineSpacing * 11));
        if (lineCount >= 23)	Line22.Set(midPoint[B] -[/B] (lineSpacing * 11));
        I would suggest changing it to :

        Code:
        if (lineCount >= 22)	Line21.Set(midPoint[B] + [/B](lineSpacing * 11));
        if (lineCount >= 23)	Line22.Set(midPoint [B]-[/B] (lineSpacing * 11));
        Please let me know if I may assist further.
        Adam P.NinjaTrader Customer Service

        Comment


          #5


          Thank you

          Comment


            #6
            brojas,

            No problem, please don't hesitate to contact us should you require additional assistance.
            Adam P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by love2code2trade, Yesterday, 01:45 PM
            4 responses
            28 views
            0 likes
            Last Post love2code2trade  
            Started by funk10101, Today, 09:43 PM
            0 responses
            7 views
            0 likes
            Last Post funk10101  
            Started by pkefal, 04-11-2024, 07:39 AM
            11 responses
            37 views
            0 likes
            Last Post jeronymite  
            Started by bill2023, Yesterday, 08:51 AM
            8 responses
            44 views
            0 likes
            Last Post bill2023  
            Started by yertle, Today, 08:38 AM
            6 responses
            26 views
            0 likes
            Last Post ryjoga
            by ryjoga
             
            Working...
            X