Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator line at bottom of Price Panel

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

    indicator line at bottom of Price Panel

    i've searched the threads for ways to do this but couldn't really find anything...
    is there a way to put an indicator line at the bottom of the price panel, like the time remaining indicator, that keeps a fixed position just off the bottom of the Price Panel.
    I wanted to move some color coding from the bars to a Price Panel line without using color background.
    thanks,
    wes

    #2
    You would need to make a custom plot to do this. If you look at the source code for the BarTimer you'll find a Plot method which you can over ride and from here you can do any sort of custom plotting you wish.

    public override void Plot(Graphics graphics, Rectangle bounds, double min, double max)
    {

    // custom plotting goes here
    }
    I would also suggest looking at the CustomPlotSample under Tools--> Edit NinjaScript--> Indicator and this should give you a brief tutorial on these methods.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    153 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
    133 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    128 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