Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

 macd crossover strategy not working correctly

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

     macd crossover strategy not working correctly

    I'm trying to figure out why sometimes the rules in my strategy don't trigger it goes past the entry point it should not be doing that at all. i am using the macd crossover strategy

    Click image for larger version

Name:	Screen Shot 2024-08-20 at 10.10.09 AM.png
Views:	0
Size:	0
ID:	1318213
    Last edited by hockey1092; 09-15-2024, 09:02 PM.

    #2
    I'm trying to figure out why sometimes the rules in my strategy don't trigger it goes past the entry point it should not be doing that at all. i am using the macd crossover strategy
    Attached Files

    Comment


      #3
      Hello hockey1092,

      To better understand what is happening you can use prints to see why the condition was not true on those bars. The best way would be to print the values used in your crossover for the current and previous bar and the current bar time so you can compare the values on each bar by the time.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Working...
      X