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 zstheorist, Today, 07:52 PM
    0 responses
    3 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    149 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    5 views
    0 likes
    Last Post tkaboris  
    Working...
    X