Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Seeking help with the GRTMultiLine Indicator

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

    Seeking help with the GRTMultiLine Indicator

    I like this indicator, but don’t fully understand how to apply and modify this indicator.
    Here are my questions.
    1. Does anyone have experience with this indicator?
    2. Can this indicator be applied to Automated Trading?
    3. The lines that are displayed on the chart, do not have any labels. How do you add line labels to the program?
    4. Lastly, if you open up the NinjaScrip and go to lines 95 through 120, could someone please explain the purpose of this part of the program.

    if ( lineColor != Plots[0].Pen.Color || lineColor != Plots[5].Pen.Color
    || lineColor != Plots[8].Pen.Color || lineColor != Plots[15].Pen.Color
    || lineColor != Plots[18].Pen.Color || lineColor != Plots[20].Pen.Color )
    {
    Plots[0].Pen.Color = lineColor;
    Plots[1].Pen.Color = lineColor;
    Plots[2].Pen.Color = lineColor;
    Plots[3].Pen.Color = lineColor;
    Plots[4].Pen.Color = lineColor;
    Plots[5].Pen.Color = lineColor;
    Plots[6].Pen.Color = lineColor;
    Plots[7].Pen.Color = lineColor;
    Plots[8].Pen.Color = lineColor;
    Plots[9].Pen.Color = lineColor;
    Plots[10].Pen.Color = lineColor;
    Plots[11].Pen.Color = lineColor;
    Plots[12].Pen.Color = lineColor;
    Plots[13].Pen.Color = lineColor;
    Plots[14].Pen.Color = lineColor;
    Plots[15].Pen.Color = lineColor;
    Plots[16].Pen.Color = lineColor;
    Plots[17].Pen.Color = lineColor;
    Plots[18].Pen.Color = lineColor;
    Plots[19].Pen.Color = lineColor;
    Plots[20].Pen.Color = lineColor;
    }

    Thanks,
    Michael in Michigan
    Attached Files

    #2
    Michael, we would have unfortunately no experience with this custom study - it would be best to contact the author who origignally developed it.

    The part you cited just set the lines plot color to the user input LineColor from the UI, so you can change them all with passing one color in, instead of manually change each to your color input desired.

    Comment


      #3
      Thanks Bertrand.
      I understand that it has to do with line color. But if you use all 21 lines (0 to 20), why does the first part of the "IF" statement only address these lines [0], [5], [8], [15], [18] and [20]? I can't make sense why some lines are here and some are not.

      if ( lineColor != Plots[0].Pen.Color || lineColor != Plots[5].Pen.Color
      || lineColor != Plots[8].Pen.Color || lineColor != Plots[15].Pen.Color
      || lineColor != Plots[18].Pen.Color || lineColor != Plots[20].Pen.Color )

      Best regards,
      Michael in Michigan

      Comment


        #4
        Hello again Bertrand,

        I forgot to mention, I did try to contact the originator, but he has not responded yet.

        Best regards,
        Michael in Michigan

        Comment


          #5
          I see what you're saying Michael, but would unfortunately not have an explanation at this time for the reason.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          571 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          331 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          549 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          549 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X