Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Spread Chart...

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

    Spread Chart...

    I'm attempting to create a SpreadChartStyle. I *assume* I need access to AddDataSeries() to define my two instruments. This is not available right now in the chart style. If you can point me in the right direction that would be great.

    #2
    Hi funk101,

    From my understanding the ChartStyle does not create a bar series and does not have OnBarUpdate available. This means that AddDataSeries would not work in this type of script.

    Instead you can use BarsRequest just about anywhere.
    http://ninjatrader.com/support/helpG...arsrequest.htm

    Would this script make more sense as an indicator similar to the spread indicators available for NinjaTrader 7?
    Below is a link to the HeikenAshi indicator that hides the chart bars and replaces these will custom rendered bars.
    http://ninjatrader.com/support/forum...php?linkid=730
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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