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)
I am trying run a walk forward analysis on TS and I have downloaded 4 yrs. of MES 1440min data. All the data shows up in my chart analysis window but when I run my test it only uses ~50% of my data.
There are no time based bits in my code, I tried reloading the data with the same result and I have "all data" selected in the dropdown.
I've tried other strategies on the data too with the same results.
I've only recently started testing on daily bars so I'm wondering if it has something to do with that...Maybe the data only goes so far back BUT it shows up visually just not taking any trades.
that would at least account for 200 bars, but based on your description of "it only uses ~50% of my data" I am not sure if this is it.
Did lowering the Max bars back number change the behavior on your end and do you see more trades now?
Yeah, I increased the bars back in the properties tab and seems to have resolved the issue. Of course I was messing with a lot of things so it's hard to 100% attribute it to that though I'm it had something to do with it. I'm currently re-installing TS since I lost a bunch of the fields in the optimization report - they disappeared and I couldn't add them back in from their list... fun fun fun
we might be misunderstanding each other. A decrease in the number should make more data available in case Max Bars Back was the culprit. Increasing the number would result in even more bars not being available for strategy calculations. The name the developers used can be a bit misleading, apart from this feature being one of the most misunderstood within Tradestation. You might benefit from the information in this wiki link as it gives some good examples and clarifies everything you need to know about this feature: https://community.tradestation.com/wiki/display/EasyLanguage/Understanding+MaxBarsBack
I am getting a "this page isn't working error" when trying to check out the link above.
My understanding is that you need the maxbarsback setting set based on any lookback period you may have in your code. i.e. if you have a 200 MA you need to be referencing 200 or more bars back. That seems fairly intuitive to me so maybe I am still misunderstanding it haha
the link appears to work for me, but you should be able to find the page in the Wiki directly, too.
Based on your description it sounds like you are understanding the feature correctly.