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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            152 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            89 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            131 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            127 views
            1 like
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            107 views
            0 likes
            Last Post CarlTrading  
            Working...
            X