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 judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            57 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            35 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            19 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            9 views
            0 likes
            Last Post cre8able  
            Working...
            X