Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator plot as candles

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

    Indicator plot as candles

    Hi, in some external indicators I saw plot shaped as bars or candles - open, close, high, low. Is this supported directly in NT7 and 8? If not, what's the best practice for coding it? Thank you.

    #2
    Hello,

    It would depend on what you had seen regarding how that would be accomplished.

    There are some pre-defined Plot styles you can use that includes a Bar type, you could test these using an indicator that has a plot like the SMA. In the Plot options, you can see the different Plot Styles. If any of these are specifically what you had seen, you could set the PlotStyle from script using the following:

    Code:
    Add(new Plot(Color.Blue, PlotStyle.Bar, "myPlot"));



    Otherwise could you provide an image of the item you had seen for me to better understand the question?

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    134 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    75 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    119 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    114 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    90 views
    0 likes
    Last Post CarlTrading  
    Working...
    X