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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        55 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        142 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X