Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy analyser one tick per bar

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

    strategy analyser one tick per bar

    if(FirstTickOfBar)
    {
    Print(Bars.GetTime(1) + " no of ticks " + tickcount);
    tickcount=0;
    }
    tickcount=tickcount+1;

    my print statement shows 1 tick per bar. however i can see roughly 4k entrie every hour which transulates to 300 ticks per bar.
    does the strategy analyser review each saved tick or does it run it only once per bar.

    #2
    junkone, backtesting in the Strategy Analyzer would be done at bar close only. Have you given your code a run in Market Replay?

    Comment


      #3
      in market replay, you have several speed levels. does it skip ticks or does it run thro all the ticks at different speeds

      Comment


        #4
        junkone, it would not skip ticks, their event sequence is maintained.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        68 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        61 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X