Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SampleMarketDepth

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

    SampleMarketDepth

    Hi Ninja Team,

    I see you have started to add some examples for NT7 in the Reference Samples section. Any chance of getting the SampleMarketDepth sample updated for NT7? It doesn't import now.

    Thanks!

    EDIT: I've imported the NT7 version of SampleCustomEvents and see the Layer II book code. I'm working on something that uses market depth from two instruments in a single strategy. Would the best way to do that be to make sure the variable names shared between the two Layer II Books are unique (say, public double PriceA for one and public double PriceB for the other), and then have two instances of the array in OnMarketDepth, one with BarsInProgress == 0 and the other with BarsInProgress==1?

    Pardon the pun but I'm out of my depth .
    Last edited by MXASJ; 02-24-2010, 03:00 AM.

    #2
    MXASJ,

    Correct, if you have two instruments and you want two books you will need two sets of all the variables and objects used in the reference sample.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    591 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    342 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    555 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X