NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 01-30-2009, 08:09 PM   #1
Bluemaze
Junior Member
 
Join Date: Jul 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
Default Help with backtest

When I run a backtest as attachment shows, two things happen.

1) I get a entry and exit on every bar, which is not what my code intends.
2) In the log file I get an error with the Jurik Indicator, but as you can see they display correctly on the chart.

Any ideas ?
Attached Images
File Type: jpg huh.JPG (76.8 KB, 15 views)
Attached Files
File Type: txt MyJMATrend3.txt (3.7 KB, 7 views)
File Type: txt NinjaTrader Log Entries 2009-01-25 20-34-58.txt (8.7 KB, 4 views)
Bluemaze is offline  
Reply With Quote
Old 01-31-2009, 08:35 AM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

1) I get a entry and exit on every bar, which is not what my code intends.
>>You will need to debug it. I suggest using Print() and/or TraceOrders:
http://www.ninjatrader-support.com/H...aceOrders.html
http://www.ninjatrader-support.com/H...eV6/Print.html

2) In the log file I get an error with the Jurik Indicator, but as you can see they display correctly on the chart.
>>I do not know why this is happenning. You can contact Juirk and ask him. He is on this list:
http://www.ninjatrader.com/webnew/pa...g_3rdparty.htm
NinjaTrader_Ben is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
If you want to backtest with NT , then think again hatori General Programming 5 01-02-2009 06:13 AM
Is there no way to backtest with OnMarketData() ? tradefaz General Programming 6 08-24-2008 08:55 PM
Backtest a strategy jriverac Strategy Development 5 05-23-2008 03:30 AM
Backtest not available BradB Strategy Analyzer 9 11-10-2007 09:41 PM
backtest in replaymode? fliesch Strategy Analyzer 6 06-17-2007 08:43 AM


All times are GMT -6. The time now is 10:46 AM.