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 Hwop38, 05-04-2026, 07:02 PM
            0 responses
            173 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            328 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            252 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            354 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            181 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X