• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 Bionian, Today, 01:21 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by Morton223, Today, 01:31 PM
    0 responses
    2 views
    0 likes
    Last Post Morton223  
    Started by JTizz, Today, 12:55 PM
    2 responses
    6 views
    0 likes
    Last Post JTizz
    by JTizz
     
    Started by fafichuli, Today, 11:21 AM
    8 responses
    29 views
    0 likes
    Last Post fafichuli  
    Started by DTSSTS, Today, 10:48 AM
    3 responses
    18 views
    0 likes
    Last Post DTSSTS
    by DTSSTS
     
    Working...
    X