• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy on the open

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

    Buy on the open

    I am trying to buy on the open of the daily bar if a condition exists, however in backtest the strategy is getting in on the next bars open regardless of calculateonbarclose true or false.

    Thanks.

    #2
    Hello brucelevy,

    Thanks for your post.

    In backtesting the bars do not process all the ticks that made up the bar thus your strategy will only execute once at the end of the bar regardless of the CalculateOnBarClose setting.

    You may want to modify your strategy for backtesting purposes, please see: http://ninjatrader.com/support/forum...ead.php?t=6652
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by faisamtrader, Today, 10:03 PM
    0 responses
    1 view
    0 likes
    Last Post faisamtrader  
    Started by johnnybegoode, Today, 08:11 PM
    0 responses
    2 views
    0 likes
    Last Post johnnybegoode  
    Started by Bionian, Today, 02:47 PM
    2 responses
    19 views
    0 likes
    Last Post Bionian
    by Bionian
     
    Started by RickB60, Today, 01:55 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by filopearson, Today, 01:18 PM
    6 responses
    11 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X