Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tick Data and Volume based Backtest

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

    #46
    Hello newworldguy,

    Thank you for your response.

    This is possible through Position.Quantity in NinjaScript: http://www.ninjatrader.com/support/h...7/quantity.htm

    Please let us know if you have any questions.

    Comment


      #47
      Chelsea,

      The Multiple Positions example doesn't seem to do the trick! The script is still existing all the long positions!

      Comment


        #48
        Hi newworldguy,

        Have you set Entries per direction to 2 as per the instructions in post #44?

        I have tested this script and it is working correctly. Anytime there is an exitlong1 there is no exitlong2.

        (The complete position is exited with the Exit on close. If you do not want the positions to close at the end of the day set Exit on close to False in the strategy parameters.)
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X