• 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

Problems when backtesting

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

    Problems when backtesting

    I ve inserted Print (ToTime(Time[0])); inside onBarUpdate(), and when I backtest the strategy, using output window, on a 1 minute bar data series, the time[0] is printed twice per bar like that:

    155500
    155500
    155600
    155600
    155700
    155700

    what is going on?

    #2
    Hello Dafonseca,

    Thank you for your post.

    Are you calling any additional data series from the script?

    Can you share a sample of your code?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Yes I am using two series, and that is what is causing the problem,,,
      I understood that when using more than one series, I must all ways pay attention to get the right serie for a specific condition,
      Thank you..

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by rickyblah12, Today, 01:01 PM
      0 responses
      7 views
      0 likes
      Last Post rickyblah12  
      Started by dadarara, Today, 12:18 PM
      0 responses
      8 views
      0 likes
      Last Post dadarara  
      Started by joemiller, Today, 07:33 AM
      0 responses
      8 views
      0 likes
      Last Post joemiller  
      Started by TheGameOfProbabilities, 07-18-2019, 06:56 AM
      7 responses
      38 views
      0 likes
      Last Post DaveS
      by DaveS
       
      Started by claxxical, Yesterday, 10:00 PM
      0 responses
      12 views
      0 likes
      Last Post claxxical  
      Working...
      X