Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bar Indicator Border Plot Possible?

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

    Bar Indicator Border Plot Possible?

    Any way to overload a bar plot so it draws a thin black border around the colored bar. This would be similar to a candlestick plot.

    Code:
    Add(new Plot(new Pen(Color.Navy,6), PlotStyle.Bar, "Indicator"));

    #2
    Hello,

    Thank you for the question.

    Unfortunately the Plots would be unable to be modified in this way. The PlotStyle would be just Bar as it is.

    If you wanted to draw a border around the Bar, you would likely need to use the Plot override and manually draw both the Bar and the Border using the Graphics object. You can see a sample of the Plot override in the CustomPlotSample indicator that comes with the platform.


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kawalecld, Today, 12:21 PM
    0 responses
    5 views
    0 likes
    Last Post kawalecld  
    Started by exjayess, Today, 11:04 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by robertlaub, Today, 11:11 AM
    2 responses
    5 views
    0 likes
    Last Post robertlaub  
    Started by sdauteuil, Today, 10:28 AM
    0 responses
    6 views
    0 likes
    Last Post sdauteuil  
    Started by KirkHammett, Today, 08:11 AM
    0 responses
    7 views
    0 likes
    Last Post KirkHammett  
    Working...
    X