Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
anyone using ninjatrader's walk forward tool? i understand the basic concept and the importance of out of sample testing, but i am not grasping the functionality of the tool. i was hoping someone with working knowledge of it can translate.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
Can you help answer these questions from other members on NexusFi?
Hi Caprica,
Yes I use it extensively. That is the only tool to use. Optimizer by it self is use less. What it does it actually runs optimizer and then back test on consecutive dates and then advances the optimizer by back test period and run it again and again from the end of optimization period runs back test.
Example: (dd/mm/yy)
From: 23/02/09
To: 16/08/09
Optimization Period: 21 (days)
Test Period: 14 (days)
The only drawback is that for each test (optimization or back test) it needs to collect data to plot the indicators. That means that if you use MA of length 80 on a 5 minute time frame on Pit hours, it won't trade the first day in each test. (Each trading day has 81 bars)!
Thats why I approached Piersh to try to correct it, but because he couldn't help me, I'm doing it manually. I run optimizer, then test, then advance the optimizer and run test again.
baruchs thank you i would very much like your help with this.
so lets say i want to backtest 60 days of data say from 6/25/2009 to 8/25/2009 (today). and i want to use walk-forward to test out of sample data. can I do this?
or do i have to give up some historical data and not use all sixty days worth? in other words lets say the most historical data i have is going back to 6/25/2009 and nothing prior, and i want to use all available historical data, is this going to work or not?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
Hi Caprica,
No, you don't understand it correctly. Walk Forward == Optimize + Back test.
The idea is to optimize your strategy on a given data and then test it on next period.
This way you will see if your strategy is really profitable. Optimizer by it self creates curve fitting, but if it is profitable on the next data then its great, if not then its not so great.
Optimizer: is making lots of back tests with different parameters values, and picking the best values. If you run back test with same values on the same period you will receive same performance, but its worthless.
The bottom line is that you need much more data for testing, and I don't understand why you don't have at least 1 year of data.
hi baruch i think i understand it now. i dont have a 1 year tick data and my strat is tick data not minute data. i guess i could buy it but that just creates a bunch of new problems because of continuous contracts and etc with ninjatrader.
thanks for the info.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain