Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SampleMACrossOver strategy doesn't work correctly

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

    SampleMACrossOver strategy doesn't work correctly

    I backtested 60 minutes $EURUSD with the SampleMACrossOver strategy in NT6.5 and found that the exit were always wrong, they did not occur after the MA crossovers. No modification was made to the SampleMACrossOver strategy. Attached is the screenshot.

    I tried to create a new strategy using 2 sma crossovers and the same problem is still there. Wrong exit.
    Attached Files

    #2
    Not sure why you think there is something wrong. You have set "Exit on Close" = true which closes the position at the end of trading session (day break).

    Comment


      #3
      Thanks for your help. I thought 'exit on close' meant exit all position when i close the chart. After setting 'exit on close' = false, the strategy worked as how I want.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      387 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      256 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      215 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      300 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      265 views
      0 likes
      Last Post CarlTrading  
      Working...
      X