Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaTrader7 ingnoring some sent EnterLong commands - seems like a BUG

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

    #16
    Hi zooinek,

    Yes, each one was entered one by one, as you mentioned.

    "My question is: why are these two entries (executed in different time) entered on THE SAME PRICE LEVEL ??"

    The conditions for the entry are satisfied on the previous bar, with both BIP=0 and BIP =1 , NinjaTrader will execute the entry at the next available price level, or the open on the next bar. The entry is made at the open of the bar, along with the price target. Again, another entry is entered, since the condition was satisfied on the previous bar for BIP=1 as well, so again the entry is entered, at the open, along with the price target.
    TimNinjaTrader Customer Service

    Comment


      #17
      Look...
      there is new bar created on BIP=0 (GBPUSD)
      Conditions are satisfied so on NEXT BAR'S OPEN on GPBUSD is new trade entered. The trade will exit on profittarget.
      Now new bar is created with BIP=1 (EURUSD) conditions are again satisfied, so new trade is requested (EnterLong(0, 1, "tradeID")) on GBPUSD. So this trade should be realized on ANOTHER NEXT BAR OPEN on GBPUSD. Not on the same bar's open as the previous trade. Because this current running (not closed yet) bar of GBPUSD (where is already realized and exit on PT the first trade) has OPEN price as old information.
      I am trying to find answer for this for one week. Could you please finally give me understable explanation whad happed there? What happen (step by step) in the bar, how it was creating and the reason WHY are two different trades, traded in two different time entered on the same price?

      Because I this this is not possible in real.
      Because in two different times there are also two different pricelevels. So how is it possible? The two different trades (I mean entered in different time) have completely same enters?

      Thank you
      Last edited by zooinek; 06-21-2010, 12:41 AM.

      Comment


        #18
        Hi zooinek,

        My apologies for the confusion, I will attempt to explain this again....

        Let's say the entries and profit target occurred on bar 100...

        1. On bar 99, there is a BIP=0, where entry conditions are satisfied. NinjaTrader "remembers this" and will enter later. It will not enter on that same bar in backtesting.

        2. STILL on bar 99, there is BIP=1, again, where entry conditions are satisfied, NinjaTrader "remembers this" and will enter later. It will not enter on that same bar in backtesting.

        3. The open of bar 100 occurs. There is 1 entry and a nearly simultaneous exit on Profit Target, before the bar is closed

        4. Since the Profit Target was hit on bar 100, leaving the strategy flat, and NinjaTrader still has the second "remembered" entry, it is executed, while on bar 100, with another nearly simultaneous exit on Profit Target.
        TimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X