Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SampleMarketDepth is back

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

    SampleMarketDepth is back

    Hi,

    I would like to use level II data from SampleMarketDepth in strategy. I realize that its impossible and requires additional programming.

    1. Could You tell me what exactly has to be done to make it work?
    2. In NT7 - will we have access to level II from strategy?
    3. Is there a chance You could write basic strategy sample using level II? (sorry, I had to ask )

    Regards

    #2
    Kowal, the sample is provided to get you going and familiar with the OnMarketDepth() method in NinjaScript, the use would be the same in your custom strategy, but yes it would require custom coding - http://www.ninjatrader-support.com/H...rketDepth.html

    We're always looking to expand our available reference sample materials, please visit this link here at regular intervals for updates -



    If you need custom programming, please consider contacting a consultant from this list - http://www.ninjatrader.com/webnew/pa...injaScript.htm

    Comment


      #3
      Bertrand,

      thanks for quick reply.
      Let me rephrase my second question:
      in NT7 - will we have access to level II data from strategy without additional programing?
      My first question is still one the table. I would like to know what has to be done, so then I could contact consultants and tell them --exactly-- what I need.

      Comment


        #4
        Kowal, in NinjaTrader 7 you'll also need to work with the OnMarketDepth() method to access and use Level2 data in your strategy.

        There's no generic answer to your question 1 unfortunately, you have the access to Level2 data using OnMarketDepth() in your strategy, what you then want to do with this is tied to your custom conditions / filters used for generating the trading decisions based on that.

        Comment


          #5
          Bertrand,

          I did what You said, and believe or not, its working. Strategy takes position depend on changes in level II. Wasnt that hard as I thought.

          Vielen dank!

          Comment


            #6
            Great Kowal, thanks for reporting back.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            152 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            89 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            133 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            127 views
            1 like
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            107 views
            0 likes
            Last Post CarlTrading  
            Working...
            X