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 swestendorf, Today, 11:14 AM
    2 responses
    5 views
    0 likes
    Last Post NinjaTrader_Kimberly  
    Started by xiinteractive, 04-09-2024, 08:08 AM
    4 responses
    12 views
    0 likes
    Last Post xiinteractive  
    Started by Mupulen, Today, 11:26 AM
    0 responses
    1 view
    0 likes
    Last Post Mupulen
    by Mupulen
     
    Started by Sparkyboy, Today, 10:57 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by TheMarlin801, 10-13-2020, 01:40 AM
    21 responses
    3,917 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Working...
    X