Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddBar example code anyone?

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

    AddBar example code anyone?

    Hi guys,

    I am looking for a template / example for how to use the AddBar() method within an Indicator to create say a Candlestick plot of a spread between two instruments using 15 MIN bars.

    Maybe there is already an easy way to do this, I would appreciate any ideas / tips.

    Thanks in advance.

    #2
    Hello ours_solaire, and thank you for your question.

    You will want to look at the built-in Heiken-Ashi indicator in NT7, and in CustomPlotSample in NT8, for examples on creating custom plot types. If any specific questions come up, please feel free to ask them here, and we will be happy to assist further.
    Jessica P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by traderqz, Today, 12:06 AM
    10 responses
    18 views
    0 likes
    Last Post traderqz  
    Started by algospoke, 04-17-2024, 06:40 PM
    5 responses
    46 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by arvidvanstaey, Today, 02:19 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Started by mmckinnm, Today, 01:34 PM
    3 responses
    5 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by f.saeidi, Today, 01:32 PM
    2 responses
    9 views
    0 likes
    Last Post f.saeidi  
    Working...
    X