Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        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.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by LawrenHom, Today, 10:45 PM
            0 responses
            1 view
            0 likes
            Last Post LawrenHom  
            Started by love2code2trade, Yesterday, 01:45 PM
            4 responses
            28 views
            0 likes
            Last Post love2code2trade  
            Started by funk10101, Today, 09:43 PM
            0 responses
            7 views
            0 likes
            Last Post funk10101  
            Started by pkefal, 04-11-2024, 07:39 AM
            11 responses
            37 views
            0 likes
            Last Post jeronymite  
            Started by bill2023, Yesterday, 08:51 AM
            8 responses
            44 views
            0 likes
            Last Post bill2023  
            Working...
            X