Yep use wealthlab for backtesting as much as possible. My current system can not be tested in WL.
WL always trades on bar + 1 because the indicators are calculated at the end of the bar. The system I currently trade calculates values every 5 seconds and then makes trades as required on the current bar. It can be tested but how useful it is I am not sure.
2. Those results... Look dam good but... It was not correctly taking into account the spread of the trade. Dam it. Not so good after spread costs.
3. I have a server on 24x7 which downloads prices every 24 hrs. At the moment I am working a new system so my API will save price data and spread every 5 min.
The API allows for 500 bars of history. Does not matter which time frame.
3 Comments:
Hi,
Yep use wealthlab for backtesting as much as possible. My current system can not be tested in WL.
WL always trades on bar + 1 because the indicators are calculated at the end of the bar. The system I currently trade calculates values every 5 seconds and then makes trades as required on the current bar.
It can be tested but how useful it is I am not sure.
2. Those results... Look dam good but... It was not correctly taking into account the spread of the trade. Dam it. Not so good after spread costs.
3. I have a server on 24x7 which downloads prices every 24 hrs. At the moment I am working a new system so my API will save price data and spread every 5 min.
The API allows for 500 bars of history. Does not matter which time frame.
5:18 PM
for rate data:
http://ratedata.gaincapital.com/
this program helps with the download:
http://www.httrack.com/
(be prepared to leave your machine downloading for 2 days, bandwidth is throttled)
me:
http://www.4xlab.net
-asc0
8:02 AM
I prefer Oanda as a broker and the API gives you more control over what you want to do.
I have never really used Metatrader.
7:44 PM
Post a Comment
<< Home