Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Merging of strategies has P and L issues

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

    Merging of strategies has P and L issues

    I have been backtesting on about 8 weeks data- tweaking a strategy that I realized was biased toward longs and the shorts were letting the side down in terms of profit. So I split them and came up with totally independent way of judging shorts and made it profitable.
    Today I have merged both into one strategy.
    I cant work out how to have a separate profit and stop loss for longs and shorts.
    I tried this in the wizard~ strategy- unrealized P n L set to currency == numeric value
    after this I either put a positive number for a profit target~ 1250 as one condition or as a separate condition- a negative number for a stop loss~ -200.
    In backtesting I wasn't able to achieve the same total profit as the two separate strategies put together because for some reason my stoplosses were smashed through.
    I have basically set up a total of 4 conditions just to handle profit and stop loss for the strategy.
    What am I doing wrong?
    \Thanks
    raycam

    #2
    raycam, you would need to tie the long and short entries to the corresponding long and shorts targets / stops together via the 'from entry signal' parameters. You can set those directly on the 'Stops and Targets' screen in the wizard -

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks- I will give it a go!
      raycam

      Comment


        #4
        Yes yes yes! it worked perfectly. Thank you.

        Comment


          #5
          Great raycam, thanks for reporting back.
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bmartz, 03-12-2024, 06:12 AM
          4 responses
          32 views
          0 likes
          Last Post bmartz
          by bmartz
           
          Started by Aviram Y, Today, 05:29 AM
          4 responses
          12 views
          0 likes
          Last Post Aviram Y  
          Started by algospoke, 04-17-2024, 06:40 PM
          3 responses
          28 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by gentlebenthebear, Today, 01:30 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by cls71, Today, 04:45 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X