Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

also number of contrat

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

    also number of contrat

    hello how to also set the contract number in strategie

    #2
    Hello Yesiam,

    You can hard code the Quantity for any order in the Enter method overload parameters.

    For example:

    EnterLong(2, "myEntry");

    EnterLong(int quantity, string signalName)

    This would place an order with a contract size of 2.

    http://ninjatrader.com/support/helpG.../enterlong.htm

    You can also set the Default quantity when starting a script in the Strategy Parameters.
    To do this set 'Set order quantity' to 'Default Quantity', and set a quantity.
    http://ninjatrader.com/support/helpG...tegyProperties
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you , how to deal with the strategy say " remit"

      Comment


        #4
        in c# than you

        Comment


          #5
          Hello Yesiam,

          I am not understanding.

          Can you clarify your inquiry?

          Are you receiving an error message?
          If so, please include the error message.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            I want to remit all the loss after a gain I these not the coded in ninjascript

            Comment


              #7
              Hello Yesiam,

              Thank you for your response.

              Please provide a bit more detail on this. Are you looking to measure the gain to ensure you gain back a previous loss?

              I look forward to assisting you further.

              Comment


                #8
                No example I lost 8 position
                Then after these 8 positions I won 1 position
                I remit these 8 losses
                After a gain
                I want to do a similar thing at her

                With ninja script i am not able to do a thing

                Comment


                  #9
                  Hello Yesiam,

                  Thank you for your response.

                  Please see my response at the following link: http://ninjatrader.com/support/forum...86&postcount=4

                  You can specify the order quantity in the order methods.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Charazlexa, Today, 12:59 AM
                  0 responses
                  2 views
                  0 likes
                  Last Post Charazlexa  
                  Started by space_trader, Today, 12:52 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post space_trader  
                  Started by soon123, Today, 12:18 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post soon123
                  by soon123
                   
                  Started by AxelrodWins, Yesterday, 07:07 PM
                  1 response
                  2 views
                  0 likes
                  Last Post NinjaTrader_Marco  
                  Started by StockJock, Yesterday, 11:05 PM
                  0 responses
                  12 views
                  0 likes
                  Last Post StockJock  
                  Working...
                  X