Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bid/Ask Order Management

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

    Bid/Ask Order Management

    When I do an OCO order. Buy Stop limit with a sell of 2 ticks profit and a stop of 2 ticks.

    Are the sell orders placed at the bid or ask?

    With tight sells between the upper and lower ticks, it would be advantageous to be able to set the sells at the ask versus the bid.

    Is there a way to control the bid or ask in a strategy order?

    #2
    Hi rtj4201, thanks for your post in a NinjaScript strategy you could for example choose to place them either at the Bid (GetCurrentBid) or Ask (GetCurrentAsk).

    Comment


      #3
      I am new to NT.

      How do I do that?

      Comment


        #4
        Hi rtj4201, great to have you here - you can enter GetCurrentBid and GetCurrentAsk for example in your price for the limit order -

        Code:
        EnterLongLimit(GetCurrentBid(), "myBuyLimitOrder");
        For some basic strategies and code, you can review those tutorials - http://www.ninjatrader-support.com/H...verview39.html

        Comment


          #5
          I'm still confused. If I am using the DOM on the chart, are you saying I can code this in there?

          Comment


            #6
            No, this was an example if you are looking to code an automatic strategy using our NinjaScript - http://www.ninjatrader-support.com/H...verview39.html

            On ChartTrader you could for example use the 'Quick Buttons' to place orders at the Bid or the Ask - http://www.ninjatrader-support.com/H...ngOrders2.html

            Comment


              #7
              I like to drop and drag the orders on the screen. If i hit the bid or ask
              buttons then I have to read a popup screen and then accept the order.

              Is there anyway to take the safetys off of the bid and ask buttons so
              i can bypass the popups?

              Comment


                #8
                Sure, just go to Tools > Options in the Control Center and uncheck 'Confirm order placement' under 'General'. Thanks!

                Comment


                  #9
                  When you setup a chart, does it display bid, ask or last on the chart.

                  Can you change it to show any of the above?

                  Comment


                    #10
                    The charts will show the last price, execept for FOREX where normally the Bid is used. Unfortunately there is no option to change this, but you could check out those scripts from our sharing section - http://www.ninjatrader-support2.com/...rch=bid&desc=1

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    110 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    59 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    37 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    41 views
                    0 likes
                    Last Post TheRealMorford  
                    Started by Mindset, 02-28-2026, 06:16 AM
                    0 responses
                    78 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Working...
                    X