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 cmoran13, Yesterday, 01:02 PM
                0 responses
                29 views
                0 likes
                Last Post cmoran13  
                Started by PaulMohn, 04-10-2026, 11:11 AM
                0 responses
                21 views
                0 likes
                Last Post PaulMohn  
                Started by CarlTrading, 03-31-2026, 09:41 PM
                1 response
                160 views
                1 like
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 04-01-2026, 02:41 AM
                0 responses
                95 views
                1 like
                Last Post CarlTrading  
                Started by CaptainJack, 03-31-2026, 11:44 PM
                0 responses
                148 views
                2 likes
                Last Post CaptainJack  
                Working...
                X