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 sjsj2732, Yesterday, 04:31 AM
                0 responses
                38 views
                0 likes
                Last Post sjsj2732  
                Started by NullPointStrategies, 03-13-2026, 05:17 AM
                0 responses
                287 views
                0 likes
                Last Post NullPointStrategies  
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                289 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                134 views
                1 like
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                95 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Working...
                X