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

Trades to market or limit.

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

    Trades to market or limit.

    Hello. I have developed an indicator that indicated me the bigtrades to the ASK o BID that they have made, and they paint a bubble in the chart window. It's like a time & sale improved.

    I have a question..It's there are any way to coded when we see a trade in the Time&Sale windows (Blocks), if this trade is made to the market or with limits orders...

    In other plataforms there are is an indicators the they tell you if the trade(yo can filter blocks) was made to the market or with limit orders...

    Sometimes when yo are watching the chart (order flow in my case) I can detected that the order was a market or limit, because the reaction of the price. so anyone know something about how to coded this.

    Thaks a lot...
    Last edited by brokerbombero; 12-08-2017, 10:53 AM.

    #2
    Hello brokerbombero,

    Thanks for opening the thread.

    OnMarketDepth() won't say specifically if the order is a limit or market order. I don't know how this would be determined through level 2 data.

    I would start with a clear definition of how you can identify these orders so you can write logic that can be used to analyze the order book.

    I'll leave this thread open ended to other members of the forum if they have any insight on creating such logic.
    JimNinjaTrader Customer Service

    Comment


      #3
      Market orders

      I try to explain again, if anyone know that I'am looking for,...

      I have an indicator (image 1) that it Paint me in the chart the trades agreggated (with timespam less that 200ms). But, when this happens, we don't know if the orders were trade to the market or limit. It's for the context, where we have to discover..

      so I would like to know if there any way(with code) to know when a block of orders appear in the Time&sale (image 2) if was made to market or limits orders.

      Thaks a lot..

      Try to filter for the reaction of the Price if this block is to market o limits....
      Attached Files

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by TradeForge, Today, 02:09 AM
      0 responses
      2 views
      0 likes
      Last Post TradeForge  
      Started by Waxavi, Today, 02:00 AM
      0 responses
      2 views
      0 likes
      Last Post Waxavi
      by Waxavi
       
      Started by elirion, Today, 01:36 AM
      0 responses
      4 views
      0 likes
      Last Post elirion
      by elirion
       
      Started by gentlebenthebear, Today, 01:30 AM
      0 responses
      4 views
      0 likes
      Last Post gentlebenthebear  
      Started by samish18, Yesterday, 08:31 AM
      2 responses
      9 views
      0 likes
      Last Post elirion
      by elirion
       
      Working...
      X