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

Simulated Stop Orders

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

    Simulated Stop Orders

    Hi there,

    Is there any working example or documentation about custom orders and the creation of simulated stop orders available?
    It seems that NinjaTrader.Cbi.CustomOrder is the key to these orders...

    Thanks in advance!

    #2
    Hello Ruppschtaler,

    Thank you for your note.

    The following page of our helpguide covers simulated stop orders in NT7,
    https://ninjatrader.com/support/help...top_orders.htm

    The following is a link to the SetTrailStop and SetStopLoss section of our helpguide which you can use a syntax accepting true or false for whether or not the stop is simulated, see the following two links,
    https://ninjatrader.com/support/help...ttrailstop.htm
    https://ninjatrader.com/support/help...etstoploss.htm

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      By way of reviving this lonely topic; just exactly what is the usage of
      a NinjaTrader.Cbi.CustomOrder in NT8 ?

      hyperscalper

      Comment


        #4
        Hello hyperscalper,

        CustomOrder is used for some under-the-hood ATM strategy handling. This is going to contain a list of properties for an ATM order. This is kept undocumented/unsupported and is not documented for public use.

        In general this is null for <account>.CreateOrder().
        https://ninjatrader.com/support/help...reateorder.htm
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Th;anks for the info; but you realize it doesn't help at all in understanding
          the context in which such a parameter might be used...
          You should change the documentation to reflect that it ain't
          anything we "mere mortals" can expect to use
          hyperscalper
          Last edited by Hyper; 11-02-2020, 05:35 AM.

          Comment


            #6
            Hello hyperscalper,

            It would not be used. It is not documented as it is not intended to be used by NinjaScript developers.

            The documentation does show supplying a null value for this parameter, which what you should do.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by RaddiFX, Yesterday, 11:57 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Marco  
            Started by Tonofit, Today, 12:00 AM
            0 responses
            1 view
            0 likes
            Last Post Tonofit
            by Tonofit
             
            Started by ck6libra, Yesterday, 11:20 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by witipica, Yesterday, 10:02 PM
            1 response
            13 views
            0 likes
            Last Post NinjaTrader_ChrisSch  
            Started by rtwave, Yesterday, 09:52 PM
            0 responses
            8 views
            0 likes
            Last Post rtwave
            by rtwave
             
            Working...
            X