Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

only one buy or sell order at a time

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

    only one buy or sell order at a time

    I have written a simple strategy to

    set 1-enter long

    set 2-exit

    set 3-enter short

    set 4-exit

    It seems as if the strategy is doing both at once. How can I assure that I will only be long or short at any given time.

    #2
    Only place your entry orders if you are coming from a market position of flat. In the condition builder add yourself conditions to check for this. You can do that by expanding the Strategy category on both sides and selecting the appropriate items.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thank you, Josh.

      How can I set this strategy to run in simulation in real time, so I can watch it work for a while?

      Comment


        #4
        Hi TurnSignalJim, best would be to start it from the chart and select the Sim101 account for execution to test - http://www.ninjatrader-support.com/H...romAChart.html

        Comment


          #5
          Thank you, Bertrand.

          Comment


            #6
            Part of my strategy is to open on the first fresh MA cross of the day but the backtest shows that the strategy is entering a trade on the open and not waiting for a cross. How can I arrange to wait for the first trade of the day upon the first cross of the day?

            Comment


              #7
              Please post screenshots of what you have already.
              Josh P.NinjaTrader Customer Service

              Comment


                #8
                I sent you an email

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                558 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                324 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                545 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                547 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X