Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why does not my entry order work?

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

    Why does not my entry order work?

    I have 1 min bar as my primary bar. I made some order entry code in my 10 seconds bar section. The code does go through the 10 seconds bar section, and the conditions are met for the entry order (I used "Print" to print the values before the "if" statement). However, the code inside the "if" statement never goes through. This happens in real time testing (using Sim101 account). What is the reason for this? I am afraid to use real account to test because this problem turns my winning trades to losing ones.

    #2
    Hello,

    I'm not sure. Post your code and I'll take a look. Do you get tick data? If you do not, then the 10 sec. bars won't be called.
    DenNinjaTrader Customer Service

    Comment


      #3
      Sorry, I got a wrong condition.

      Comment

      Latest Posts

      Collapse

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