Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

limit order simulated

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

    limit order simulated

    Hello,

    I searched for "limit orders simulated" but couldnt find an answer.

    I want to do the exit with limit orders simulated - same as one can do for stops.
    Sorry, but I didnt find the syntax on the website.

    Thanks
    Tony

    #2
    Hello,

    Simulated Limit orders are not supported. You would only be able to simulate stop orders.

    If you would like to use a simulated limit, you can use a StopLimit order where a limit order will be submitted at that price once the stop order has been reached.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Thanks,

      so there is no possibility then for having the stoploss not simulated and thus on brokers server and a correspondend limit for exit as an OCO only on the computer and not on brokers server (to be safe in case of broken internet-connection)?

      Thanks
      Tony

      Originally posted by NinjaTrader_Matthew View Post
      Hello,

      Simulated Limit orders are not supported. You would only be able to simulate stop orders.

      If you would like to use a simulated limit, you can use a StopLimit order where a limit order will be submitted at that price once the stop order has been reached.

      Comment


        #4
        No, this would not be possible.
        MatthewNinjaTrader Product Management

        Comment


          #5
          Thanks for your reply.

          In the meantime tried to check out your information "...you can use a StopLimit order..." but with

          ExitLongStopLimit(int quantity, double limitPrice, double stopPrice, string signalName, string fromEntrySignal)

          can´t do simulated. How do you mean this would work?

          Thanks in advacne for clearifying.

          Best
          Tony


          Originally posted by NinjaTrader_Matthew View Post
          No, this would not be possible.
          Last edited by tonynt; 10-12-2012, 12:11 PM. Reason: typing error

          Comment


            #6
            Hi,

            From the strategy, it would not be available directly - you can use these through manual orders on the SuperDOM or Chart Trader.

            What you can do is program your strategy to not submit the limit order until a specific condition has been met.
            MatthewNinjaTrader Product Management

            Comment


              #7
              Hi,

              this is what I´m already doing now in my scripts. But because of computer ressources I wanted to use chart-trader with limits/stops I could do in charttrader (even its not supported - but this is not the question).

              As you say ".. SuperDom or Charttrader" let me ask you if one can change the following ATM-order for working simulated (as stop or limit)

              Order o = a.CreateOrder(Instrument,OrderAction.Buy,OrderType .Limit,TimeInForce.Day,qnt1, GetCurrentBid()-(stopdistance*TickSize),0,"","Entry");

              ??

              Thanks
              Tony


              Originally posted by NinjaTrader_Matthew View Post
              Hi,

              From the strategy, it would not be available directly - you can use these through manual orders on the SuperDOM or Chart Trader.

              What you can do is program your strategy to not submit the limit order until a specific condition has been met.

              Comment


                #8
                Yes, that would work for entries.
                MatthewNinjaTrader Product Management

                Comment


                  #9
                  Hi,

                  I know this works for entries;-)

                  I wrote

                  As you say ".. SuperDom or Charttrader" let me ask you if one can change the following ATM-order for working simulated (as stop or limit)

                  thought it is clear as we discussed the exits.

                  So let me repeat more accurate: can the posted syntax/code be changed so that it works as stop or limit for exits simulated?

                  Thanks
                  Tony




                  Originally posted by NinjaTrader_Matthew View Post
                  Yes, that would work for entries.

                  Comment


                    #10
                    No, they cannot. You will not be able to accomplish this in your strategy.
                    MatthewNinjaTrader Product Management

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by mattdowns1234, Today, 06:57 PM
                    0 responses
                    12 views
                    0 likes
                    Last Post mattdowns1234  
                    Started by dgee949, Today, 06:26 PM
                    0 responses
                    19 views
                    0 likes
                    Last Post dgee949
                    by dgee949
                     
                    Started by dgee949, Today, 05:58 PM
                    0 responses
                    27 views
                    0 likes
                    Last Post dgee949
                    by dgee949
                     
                    Started by thepcmd, Today, 05:14 PM
                    0 responses
                    31 views
                    0 likes
                    Last Post thepcmd
                    by thepcmd
                     
                    Started by xmess777, Today, 04:58 PM
                    0 responses
                    22 views
                    0 likes
                    Last Post xmess777  
                    Working...
                    X