Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple Trades Within A Strategy

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

    Multiple Trades Within A Strategy

    I built a strategy to run of which it runs fine, but what is happening is the strategy enters a trade and during the trade the strategy gets triggered again, but doesn't enter another trade. It seems that in order for another trade to be triggered, the current trade has to be closed. How can I get it to run another trade while one trade is already running? I know how to backtest it in strategy analyzer, but can't find out how to do it in the real time.

    Thanks,
    Mike

    #2
    Hello Mikehoustonmsu,

    You should to look at the following properties.
    EntriesPerDirection
    EntryHandling

    These properties can be specified when you run your strategy or declared in code.

    You can change EntriesPerDirection to allow more than one trade in any direction. EntryHandling can be set to allow this from any signals or uniquely named signals
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      These links show that I have to input code to get the number of trades allowed to work. Is there a setting to where I don't have to put in the code?

      Comment


        #4
        Hi Mike,

        You can set these values whenever you apply a strategy to a chart or run from the control center. You do not have to type it in the code. Attached screenshot indicating these settings.
        Attached Files
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Yes, that is for backtesting, but what about real time?

          Comment


            #6
            The screenshot I included is for running strategies in real time from the control center. You can find the same settings when applying a strategy to a chart. From where are you running the strategy?
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            647 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            368 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
            571 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