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 jclose, Today, 09:37 PM
            0 responses
            4 views
            0 likes
            Last Post jclose
            by jclose
             
            Started by WeyldFalcon, 08-07-2020, 06:13 AM
            10 responses
            1,413 views
            0 likes
            Last Post Traderontheroad  
            Started by firefoxforum12, Today, 08:53 PM
            0 responses
            10 views
            0 likes
            Last Post firefoxforum12  
            Started by stafe, Today, 08:34 PM
            0 responses
            10 views
            0 likes
            Last Post stafe
            by stafe
             
            Started by sastrades, 01-31-2024, 10:19 PM
            11 responses
            169 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Working...
            X