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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    669 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    378 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X