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 ntbone, Yesterday, 11:42 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by mr_trade, 11-26-2020, 05:01 PM
    5 responses
    58 views
    0 likes
    Last Post mr_trade  
    Started by evanp90, 01-14-2021, 07:03 PM
    3 responses
    32 views
    0 likes
    Last Post fx.practic  
    Started by fernlicht, Today, 04:01 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by Leeroy_Jenkins, Today, 03:51 AM
    1 response
    12 views
    0 likes
    Last Post Leeroy_Jenkins  
    Working...
    X