• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EnterLong(100000) vs. EnterLong() problem

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

    EnterLong(100000) vs. EnterLong() problem

    Hi,
    I have a strategy written in NT7 and using EnterLong() I had no problems to test it on MRD (market replay data). But I want to start using it live so I have to adjust number of units for lots (or minilots, ...). When I use EnterLong(100000) instead of EnterLong() then I get two trades instead of one trade (see attached image). The same happens for position exit: One exit is Quantity=1 and the second exit has got Quantity with the remaining number of units up to the lot size of 100000. When I use standard EnterLong() without numbers, then everything is fine. With this problem also emerged another one with rejecting stupid orders generated by the not-wanted opened trades (see attached images). Why this happens and what shall I do to correct this erroneous behaviour?
    Thank you
    N.
    Attached Files

    #2
    Hello,

    Since you are asking about NT7, I will have someone reply to you on Monday. Thank you for your patience.
    In the future, please post all of your NT7 questions on this forum thread:
    http://www.ninjatrader-support2.com/vb/forumdisplay.php?f=44
    Thank you!
    DenNinjaTrader Customer Service

    Comment


      #3
      nicknamed,

      When you are simulating if you do not want partial fills you should check the option to enforce immediate fills and uncheck the option to have partial fills in Tools>Options.
      Josh P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by iq200, 11-09-2019, 08:26 AM
      5 responses
      56 views
      0 likes
      Last Post koganam
      by koganam
       
      Started by johng964, Today, 02:57 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_RyanS  
      Started by spamula, Today, 03:00 PM
      2 responses
      16 views
      0 likes
      Last Post spamula
      by spamula
       
      Started by MARTIN MARTIN, Today, 01:01 PM
      0 responses
      16 views
      0 likes
      Last Post MARTIN MARTIN  
      Started by bouncetherubble, Today, 10:21 AM
      2 responses
      21 views
      1 like
      Last Post bouncetherubble  
      Working...
      X