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 agclub, 04-21-2024, 08:57 PM
            4 responses
            18 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by Irukandji, Today, 04:58 AM
            0 responses
            3 views
            0 likes
            Last Post Irukandji  
            Started by fitspressoburnfat, Today, 04:25 AM
            0 responses
            2 views
            0 likes
            Last Post fitspressoburnfat  
            Started by Skifree, Today, 03:41 AM
            1 response
            4 views
            0 likes
            Last Post Skifree
            by Skifree
             
            Started by usazencort, Today, 01:16 AM
            0 responses
            4 views
            0 likes
            Last Post usazencort  
            Working...
            X