Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtesting a strategy does nothing

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

    backtesting a strategy does nothing

    Hello,

    I am new to NinjaTrader. I connected to Kinetic (I also tried simulated data feed). I created a basic strategy following instruction in Youtube. The strategy code is attached. When I try to backtest it, the backtesting finishes immediately and returns a summary with zeros everywhere. No error message is issued. The NinjaTrader log is also attached.
    What can be the reason for this? Please help.

    Thanks,
    Shaul
    Attached Files
    Last edited by shaulgr; 11-24-2012, 11:46 AM. Reason: add NinjaTrader log screenshot

    #2
    Welcome to our forums, have replied this morning to your support inquiry as well.

    Which chart and instrument are you testing on here please?

    Comment


      #3
      From your question I understand my problem. The Type parameter of the backtest pane has a default of Minute, and I must use Day because of Kinetic.
      So I used the sample MA crossover with a Type of Day, and it worked. Thanks!

      One other question: the summary gave a gross profit of $20000 for only 5 trades during the year. Does this make sense ?
      Last edited by shaulgr; 11-26-2012, 01:39 PM. Reason: complete change of reply

      Comment


        #4
        If you're using the free Kinetick End of Day connection, you will need to run the test on a Daily interval.

        If you cannot get any results with your strategy using AAPL on a Daily interval, can you please run a test on the SampleMACrossOver strategy using a Daily interval while connected to Kinetick.
        MatthewNinjaTrader Product Management

        Comment


          #5
          I edited my previous reply (to which you replied with incredible speed!). Can you please look at the edited reply?

          Comment


            #6
            Glad to hear you were able to get it to work.

            Yes, it would be possible to get a PnL of that size depending on how many points were obtained in the position.
            MatthewNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            117 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            166 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            85 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            130 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            88 views
            0 likes
            Last Post PaulMohn  
            Working...
            X