Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Saved backtest chart data disappears
Collapse
X
-
Saved backtest chart data disappears
Hi guys, When I load saved backtest results, my files still exist and all trade and summary data for a particular backtest is displayed, but the chart window (i.e. actual price bars, indicators and buy/sell signals) is completely blank. The time and price axes seem to show the correct historical range for the particular backtest but there's just no graphical data. There is no problem when I run a new backtest with the same parameters. Everything displays nicely until I save and try and reopen the file. Any ideas? regardsTags: None
-
Yes, I'm using 6.5.1000.14.
If it makes a difference, I am using contract data which I can no longer get from my data provider (as it's too old) but the data is stored in NT's historical data base.
Also, if I run a backtest and then select another contract (e.g. suppose I've run the backtest on ES 03-09 and now select ES 06-09 in the Analyzer but do nothing else) then an hourglass appears for a few seconds and all the chart data disappears without my doing anything else. If I select the original contract again, the chart remains blank (other than grid lines and correct axes labels) and to get it back I need to re-run the backtest.
I've tried rebooting but to no effect. I've also tried repairing the database but to no effect.
The only thing I can think of now is to uninstall NT completely and/or reset the database but I don't want to lose the saved strategy data I've accumulated. Is there anyway to store this outside of NT and then re-import it?
Thanks
Comment
-
trader_rick, thanks for the reply, on which contract (if current front month or not) should not matter as long as the needed data is present in the database - have you tried confirming this on regular charts and by exporting it via Tools > Historical Data > Export?
This would also be the way to save it, if you want to completely reinstall NT fresh and start with a fresh database file, too (done by removing MyDocuments folder prior to reinstall).
If you like, please send me your logs via the Help > Mail to Support feature before the reinstall, I'll review those then for clues as to why you see this.BertrandNinjaTrader Customer Service
Comment
-
Thanks for the reply Bertrand. I have located the source of the problem. It only occurs in those strategies which use the DrawRegion( ) function. Please see if you can reproduce this. thanks
Comment
-
-
Could unfortunately not reproduce here, test strategy with DrawRegion call worked well, it would also be expected that you need to rerun the backtest on a different contract, just switching the contract would generate the new chart window, but no rerun it.BertrandNinjaTrader Customer Service
Comment
-
Hi Bertrand, Well, the effect is definitely there. If it helps, I am using the long version of the overloaded function signature of DrawRegion( ) to colour in between 2 Bollinger Bands. In the meantime, I have created a preprocessor compilation switch which will remove the code containing DrawRegion( ) when I want to examine my historical strategy results. The chart data is then displayed normally. regards
Comment
-
I have attached a minimal strategy which reproduces this problem. The strategy never actually enters any orders but does draw regions correctly when you run a backtest. However, if you then try saving the backtest and re-open the saved file, the graphical data disappears.Attached Files
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
10 responses
1,768 views
0 likes
|
Last Post
by Leafcutter
Today, 03:01 AM
|
||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
30 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
943 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
10 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
7 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
Comment