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 charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            52 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            142 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            160 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            96 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            276 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X