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 The_Sec, Today, 03:37 PM
    0 responses
    2 views
    0 likes
    Last Post The_Sec
    by The_Sec
     
    Started by GwFutures1988, Today, 02:48 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by ScottWalsh, 04-16-2024, 04:29 PM
    6 responses
    32 views
    0 likes
    Last Post ScottWalsh  
    Started by frankthearm, Today, 09:08 AM
    10 responses
    36 views
    0 likes
    Last Post frankthearm  
    Started by mmenigma, Today, 02:22 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X