Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add a Zero Line to TSI

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

    Add a Zero Line to TSI

    Hello,
    I would like to add a Zero Line to the TSI indicator.
    I tried this but it did not plot. Does anyone know why ?
    {
    Add(new Plot(Color.Green, "TSI"));
    Add(new Line(Color.DarkViolet, 0, "Zero line")); //I added this line

    fastAbsEma = new DataSeries(this);
    fastEma =
    new DataSeries(this);
    slowAbsEma =
    new DataSeries(this);
    slowEma =
    new DataSeries(this);
    }
    How can I add a Zero Line to TSI that will plot?

    Thanks

    #2
    Hi dwalls,

    Try:

    Add(new Line(System.Drawing.Color.DarkViolet, 0, "Zero line"));

    Comment


      #3
      Thx Paul,
      I tried it but that one didnt work.
      But thanks for trying.

      dwalls

      Comment


        #4
        Add(new Line(new Pen(Color.DarkViolet, 1), 0, "Zero line"));
        eDanny
        NinjaTrader Ecosystem Vendor - Integrity Traders

        Comment


          #5
          That is curious. The

          Add(new Line(System.Drawing.Color.DarkViolet, 0, "Zero line"));

          worked on my Vista and XP NT Charts.

          Go figure!

          Comment


            #6
            I got it to work.

            Thanks guys.

            Comment

            Latest Posts

            Collapse

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