Original By ClarkFX
Original By ClarkFX
Original By ClarkFX
All workings by ClarkFX, not me, permission granted by him to repost here
"In this thread, I will be teaching readers one of my methods for performing accurate backtests of automated trading systems as well as post-test analysis. This method is great for someone who does not have much start up capital as it is completely free, yet still very powerful and comprehensive.
My aim is to help readers set up a complete system development infrastructure. By the end of the tutorial, one will be able to very easily develop and test trading systems with a high efficiency.
The setup process is pretty straightforward:
1) Download tick data
2) Format the data so it can be used in our testing
3) Streamline steps 1 & 2
4) Further formatting so we have the data required to test various styles of algorithms
5) The actual backtesting
6) Analysis
It primarily focuses around MetaTrader 4 but also incorporates other software designed around MT4 that are easily accessible for any individual (as well as a small piece of Python code I wrote a couple days ago).
This thread will cover:
Setup and Tools Required
Getting Tick Data
Formatting Tick Data for MT4
Importing Data
Converting to Various Time Frames
Example Backtest
Backtest Result Analysis Technique
Portfolio Backtest and Analysis
In the following posts I will start discussing each in detail. I recommend readers to read this thread in order as it is step-by-step.
Note: I am not endorsed by any of the companies or products I am discussing. In no way do I intend to sell anything. I'm in a giving mood today.
If you'd like to collect your own tick data from any broker via MetaTrader 4, visit this thread: Collect your own tick data via EA"
Original By ClarkFX
Original By ClarkFX
All workings by ClarkFX, not me, permission granted by him to repost here
"In this thread, I will be teaching readers one of my methods for performing accurate backtests of automated trading systems as well as post-test analysis. This method is great for someone who does not have much start up capital as it is completely free, yet still very powerful and comprehensive.
My aim is to help readers set up a complete system development infrastructure. By the end of the tutorial, one will be able to very easily develop and test trading systems with a high efficiency.
The setup process is pretty straightforward:
1) Download tick data
2) Format the data so it can be used in our testing
3) Streamline steps 1 & 2
4) Further formatting so we have the data required to test various styles of algorithms
5) The actual backtesting
6) Analysis
It primarily focuses around MetaTrader 4 but also incorporates other software designed around MT4 that are easily accessible for any individual (as well as a small piece of Python code I wrote a couple days ago).
This thread will cover:
Setup and Tools Required
Getting Tick Data
Formatting Tick Data for MT4
Importing Data
Converting to Various Time Frames
Example Backtest
Backtest Result Analysis Technique
Portfolio Backtest and Analysis
In the following posts I will start discussing each in detail. I recommend readers to read this thread in order as it is step-by-step.
Note: I am not endorsed by any of the companies or products I am discussing. In no way do I intend to sell anything. I'm in a giving mood today.
If you'd like to collect your own tick data from any broker via MetaTrader 4, visit this thread: Collect your own tick data via EA"