Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to submit order when the first tick met the conditions

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

    how to submit order when the first tick met the conditions

    Im trying the strategy on replay.

    I found out the conditions is correctly shown at all time. But when I look at the pass order, all of them will be submitted at the Open of the next bar. The exit of the order is correct.

    How do I change this?

    I can see there is exit by the end of the bar can be True or False, but I dont see Enter by the tick or end of the bar setting.

    Which setting did I miss?

    Im seeing these in the pass historys before the recorded data, could it be just for, and all new order will be submitted whenever the first tick met conditions in future bars?

    Thanks.

    #2
    Backtested orders always are entered on the opening of the next bar. There is no way around.

    Comment


      #3
      That's ok for backtest order.

      If im going to run the strategy in a live simulated enviroment, am I going to see the entry/exit at the intra-bar?

      I am going to run the strategy using live data to forward test. So want to make sure my setting is right, so the entry/exit is at the intra-bar before I start.

      Thanks.
      Last edited by MoreYummy; 08-15-2008, 08:12 AM.

      Comment


        #4
        Note: You could test the live behavior on the sim feed/account to see how it works. Yes, orders are submitted right as you trigger the order method in your OnBarUpdate method.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by usazencort, Today, 01:16 AM
        0 responses
        1 view
        0 likes
        Last Post usazencort  
        Started by kaywai, 09-01-2023, 08:44 PM
        5 responses
        603 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by xiinteractive, 04-09-2024, 08:08 AM
        6 responses
        22 views
        0 likes
        Last Post xiinteractive  
        Started by Pattontje, Yesterday, 02:10 PM
        2 responses
        21 views
        0 likes
        Last Post Pattontje  
        Started by flybuzz, 04-21-2024, 04:07 PM
        17 responses
        230 views
        0 likes
        Last Post TradingLoss  
        Working...
        X