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 soon123, Today, 12:18 AM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by space_trader, Today, 12:52 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by ybhx0315, Yesterday, 09:06 PM
    0 responses
    15 views
    0 likes
    Last Post ybhx0315  
    Started by parkinsonbr, Yesterday, 08:23 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by fxRichard, Today, 04:35 AM
    2 responses
    14 views
    0 likes
    Last Post fxRichard  
    Working...
    X