Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 Austiner87, Today, 03:42 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by cshox, Today, 11:11 AM
      2 responses
      14 views
      0 likes
      Last Post cshox
      by cshox
       
      Started by algospoke, Today, 06:53 PM
      0 responses
      5 views
      0 likes
      Last Post algospoke  
      Started by mlprice12, 12-21-2021, 04:55 PM
      3 responses
      293 views
      0 likes
      Last Post paypachaysa  
      Started by lorem, 04-25-2024, 09:18 AM
      20 responses
      85 views
      0 likes
      Last Post lorem
      by lorem
       
      Working...
      X