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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      37 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, Yesterday, 02:41 AM
      0 responses
      17 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      25 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      34 views
      0 likes
      Last Post CarlTrading  
      Working...
      X