NexusFi: Find Your Edge


Home Menu

 





Backtest will not complete


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Silver Dragon with 3 posts (1 thanks)
    2. looks_two toddma with 2 posts (0 thanks)
    3. looks_3 redratsal with 1 posts (0 thanks)
    4. looks_4 shodson with 1 posts (0 thanks)
    1. trending_up 2,000 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

Backtest will not complete

  #1 (permalink)
 
toddma's Avatar
 toddma 
vancouver canada
 
Experience: Intermediate
Platform: multicharts, ninjatrader
Trading: forex
Posts: 53 since Jul 2012
Thanks Given: 14
Thanks Received: 6

Hello,
I am trying run a back test on a system that I have written. It plots the buy and sell signals appropriately when the strategy is applied to a blank chart but when I attempt to run a backtest in strategy analyzer it just says "backtest in process..." and it will not complete.

I don't see the status bar or any indication that anything is happening. I am connected to IB and don't have any issues loading any other charts.
Does anyone have any idea what is wrong?

Thanks in advance.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
22 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
 
Silver Dragon's Avatar
 Silver Dragon 
Cincinnati Ohio
Legendary Master Data Manipulator
 
Experience: Intermediate
Platform: TastyWorks / NT
Broker: TastyWorks /NT
Trading: FX, Stocks, Options
Posts: 2,107 since Feb 2011
Thanks Given: 6,422
Thanks Received: 5,238


toddma View Post
Hello,
I am trying run a back test on a system that I have written. It plots the buy and sell signals appropriately when the strategy is applied to a blank chart but when I attempt to run a backtest in strategy analyzer it just says "backtest in process..." and it will not complete.

I don't see the status bar or any indication that anything is happening. I am connected to IB and don't have any issues loading any other charts.
Does anyone have any idea what is wrong?

Thanks in advance.

The status bar is located on the bottom of the main control panel right hand side. Yes, i know this makes no sense. If your loading data which has not been previously loaded it may take a long time to download depending on your date range. There will be a status showing the data is loading.


SD

nosce te ipsum

You make your own opportunities in life.
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 
toddma's Avatar
 toddma 
vancouver canada
 
Experience: Intermediate
Platform: multicharts, ninjatrader
Trading: forex
Posts: 53 since Jul 2012
Thanks Given: 14
Thanks Received: 6


Thank you - I think I see on the Control Center page where the status bar would be (abort button on the right hand side - bottom of the page?) However, when I start a backtest nothing happens, no sign of anything going on.

I do have strategies running live - maybe that is interfering? It's really odd. I have had backtests work fine in the past. Could it be because my strategy is coded incorrectly? But if that's the case its strange that it plots the signals on a blank chart.

Anyone have any other thoughts?
Thanks again.

Started this thread Reply With Quote
  #4 (permalink)
 
Silver Dragon's Avatar
 Silver Dragon 
Cincinnati Ohio
Legendary Master Data Manipulator
 
Experience: Intermediate
Platform: TastyWorks / NT
Broker: TastyWorks /NT
Trading: FX, Stocks, Options
Posts: 2,107 since Feb 2011
Thanks Given: 6,422
Thanks Received: 5,238


toddma View Post
Thank you - I think I see on the Control Center page where the status bar would be (abort button on the right hand side - bottom of the page?) However, when I start a backtest nothing happens, no sign of anything going on.

I do have strategies running live - maybe that is interfering? It's really odd. I have had backtests work fine in the past. Could it be because my strategy is coded incorrectly? But if that's the case its strange that it plots the signals on a blank chart.

Anyone have any other thoughts?
Thanks again.

Try running the Sample MA crossover strategy which came with Ninja. If it completes then it may be code in your strategy as you suggested.

SD

nosce te ipsum

You make your own opportunities in life.
Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
Silver Dragon's Avatar
 Silver Dragon 
Cincinnati Ohio
Legendary Master Data Manipulator
 
Experience: Intermediate
Platform: TastyWorks / NT
Broker: TastyWorks /NT
Trading: FX, Stocks, Options
Posts: 2,107 since Feb 2011
Thanks Given: 6,422
Thanks Received: 5,238


toddma View Post
Thank you - I think I see on the Control Center page where the status bar would be (abort button on the right hand side - bottom of the page?) However, when I start a backtest nothing happens, no sign of anything going on.

I do have strategies running live - maybe that is interfering? It's really odd. I have had backtests work fine in the past. Could it be because my strategy is coded incorrectly? But if that's the case its strange that it plots the signals on a blank chart.

Anyone have any other thoughts?
Thanks again.

Something else; You should consider having a second machine to do your testing on. I have had strange things happen to my live strategies while running backtests and optmizations at the same time as my live strategies.

SD

nosce te ipsum

You make your own opportunities in life.
Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090

Check your Ram memory and your CPU performance while You are backtesting.

Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709


Silver Dragon View Post
Something else; You should consider having a second machine to do your testing on. I have had strange things happen to my live strategies while running backtests and optmizations at the same time as my live strategies.

SD

Ditto that. Anything running live strategies on live money should be as dedicated as possible to that and nothing else. You don't want to increase the chances of something screwing up while it's in a position.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on July 28, 2012


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts