Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer Stop Loss Take Profit

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

    Strategy Analyzer Stop Loss Take Profit

    I've searched the forum and can't seem to find an answer to the issue I'm having. I built a strategy that includes a take profit and stop loss. However, when I run it in the Strategy Analyzer, sometimes, it will take another trade even though my TP/SL hasn't been hit. I have restricted the trading time from 5a-12p and it's limited to 1 entry per direction. I changed the Entry handling option, but it's canceling a current entry to open a new one instead of waiting until it's flat.

    Any ideas or suggestions on how to correct this? Thanks.

    #2
    check your settings in case orders is set to 2 instead 1 (one Trade at a time)

    Comment


      #3
      Well it's set to 1 in the strategy and analyzer. The strategy is long only.
      Attached Files

      Comment


        #4
        Hello coolbreeze,

        Thanks for your post.

        With reference to "...it will take another trade even though my TP/SL hasn't been hit." Are you seeing additional entries in the same direction or is this a change of direction (was long then short, etc.)?

        If it is indeed a change of direction then you would need to ensure that your entry conditions include a check to see that you are in a flat market position before placing the entry order. An entry order in the opposite direction will automatically issue an order to close the current direction (Called "Close Position") and then a second order to leave you in that direction. For example if you were in a long position and the strategy issued an EnterShort(), you would see 1 sell order called Close Position which will flatten the position and then a 2nd sell order is issued to leave you in the desired direction.

        Paul H.NinjaTrader Customer Service

        Comment


          #5
          It was in the same direction. I lost some of my settings last night, so I'll recreate the strategy and try again.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by lightsun47, Today, 03:51 PM
          0 responses
          5 views
          0 likes
          Last Post lightsun47  
          Started by 00nevest, Today, 02:27 PM
          1 response
          10 views
          0 likes
          Last Post 00nevest  
          Started by futtrader, 04-21-2024, 01:50 AM
          4 responses
          46 views
          0 likes
          Last Post futtrader  
          Started by Option Whisperer, Today, 09:55 AM
          1 response
          14 views
          0 likes
          Last Post bltdavid  
          Started by port119, Today, 02:43 PM
          0 responses
          10 views
          0 likes
          Last Post port119
          by port119
           
          Working...
          X