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 Mindset, Today, 06:46 AM
    0 responses
    7 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    11 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    13 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    81 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    46 views
    0 likes
    Last Post PaulMohn  
    Working...
    X