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 rhyminkevin, Today, 04:58 PM
            3 responses
            47 views
            0 likes
            Last Post Anfedport  
            Started by iceman2018, Today, 05:07 PM
            0 responses
            5 views
            0 likes
            Last Post iceman2018  
            Started by lightsun47, Today, 03:51 PM
            0 responses
            7 views
            0 likes
            Last Post lightsun47  
            Started by 00nevest, Today, 02:27 PM
            1 response
            14 views
            0 likes
            Last Post 00nevest  
            Started by futtrader, 04-21-2024, 01:50 AM
            4 responses
            50 views
            0 likes
            Last Post futtrader  
            Working...
            X