Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart Middle Mouse Click

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

    Chart Middle Mouse Click

    Can you add the bar number to the data shown in the info box popup for chart middle mouse click?

    #2
    Hello dtl-saw,

    Thank you for writing in.

    I have submitted your feedback as a feature request. We value customer feedback in improving our platform!

    Meanwhile, what you could do is create an indicator that simply will plot the value of CurrentBar.

    Here's an example:
    Code:
    protected override void OnStateChange()
    {
    	if (State == State.SetDefaults)
    	{
    		IsOverlay									= true;
    		IsAutoScale								= false;
    		AddPlot(Brushes.Yellow, "Current Bar");
    	}
    }
    
    protected override void OnBarUpdate()
    {
    	Value[0] = CurrentBar;
    }
    
    public override string FormatPriceMarker(double price)
    {
        // we want to remove the trailing decimals from the plot
        return price.ToString("N0");
    }


    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      perfect, exactly what I was looking for.
      Thanks

      Comment

      Latest Posts

      Collapse

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