• 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 mreanuzlazx, Today, 01:30 AM
    0 responses
    1 view
    0 likes
    Last Post mreanuzlazx  
    Started by xinepev, Today, 12:33 AM
    0 responses
    4 views
    0 likes
    Last Post xinepev
    by xinepev
     
    Started by sun0781, Yesterday, 05:02 PM
    0 responses
    7 views
    0 likes
    Last Post sun0781
    by sun0781
     
    Started by ronhb107, 09-12-2019, 10:09 AM
    4 responses
    44 views
    0 likes
    Last Post Mr.Trader  
    Started by rwilliam, Yesterday, 03:55 PM
    0 responses
    4 views
    0 likes
    Last Post rwilliam  
    Working...
    X