Hi guys,
Was wondering if anyone would be interested in using this Excel/VBA backtesting spreadsheet I've made...I'd like to see if I should clean this up and release it for people to download, learn and test different strategies they have.
Basically it'll pull online data from yahoo finance and create statistics to measure your strategy's effectivenss on stocks. It also has pre-made functions that do things for you like calculate trailing standard deviation, averages, median, etc. Also, it has a screener functionality that basically screens the market for your patterns that you program. This'll be an upgrade to people who like to use FINVIZ, like myself.
But I think the best thing is that you can customize your code and interface any way you want....so you're not limited to what a backtesting software gives you, but you can create anything! Below is an example of a code for a simple moving average golden-cross/dead-cross strategy:
'[ENTRY SIGNALS]
'Filter #1: Uptrend --> 20-SMA above 60-SMA
If i < UBound(c) Then
If ma20(i) > ma60(i) Then
signal_filters(i) = signal_filters(i) + 1
End If
End If
'[EXIT SIGNALS]
'Exit #1: Downtrend --> 20-SMA below 60-SMA
If i <= UBound(c) Then
If ma20(i) < ma60(i) Then
exit_signals(i) = exit_signals(i) + 1
End If
End If
Here is a YouTube video demonstrating the functionalities:
https://www.youtube.com/watch?v=_QSyPCNg4kM&feature=youtu.be&hd=1
And here is what the result looks like:
And here is the interface:
Here is the result of a screener that screens stocks on your strategy:
And here is a large-scale backtester that will check your strategy against all the stocks you selected with a single click of a button:
Would just like to gauge the demand before I dive into this, debug everything and write a manual for people to use...
The target audience would be people who are familiar with excel/vba but are frustrated with the lack of resources to do a healthy backtest of their strategies without paying for it.
Let me know what you guys think!! PM me/reply here if interested!
Oh, and please let me know if something like this already exists.
Was wondering if anyone would be interested in using this Excel/VBA backtesting spreadsheet I've made...I'd like to see if I should clean this up and release it for people to download, learn and test different strategies they have.
Basically it'll pull online data from yahoo finance and create statistics to measure your strategy's effectivenss on stocks. It also has pre-made functions that do things for you like calculate trailing standard deviation, averages, median, etc. Also, it has a screener functionality that basically screens the market for your patterns that you program. This'll be an upgrade to people who like to use FINVIZ, like myself.
But I think the best thing is that you can customize your code and interface any way you want....so you're not limited to what a backtesting software gives you, but you can create anything! Below is an example of a code for a simple moving average golden-cross/dead-cross strategy:
'[ENTRY SIGNALS]
'Filter #1: Uptrend --> 20-SMA above 60-SMA
If i < UBound(c) Then
If ma20(i) > ma60(i) Then
signal_filters(i) = signal_filters(i) + 1
End If
End If
'[EXIT SIGNALS]
'Exit #1: Downtrend --> 20-SMA below 60-SMA
If i <= UBound(c) Then
If ma20(i) < ma60(i) Then
exit_signals(i) = exit_signals(i) + 1
End If
End If
Here is a YouTube video demonstrating the functionalities:
https://www.youtube.com/watch?v=_QSyPCNg4kM&feature=youtu.be&hd=1
And here is what the result looks like:
And here is the interface:
Here is the result of a screener that screens stocks on your strategy:
And here is a large-scale backtester that will check your strategy against all the stocks you selected with a single click of a button:
Would just like to gauge the demand before I dive into this, debug everything and write a manual for people to use...
The target audience would be people who are familiar with excel/vba but are frustrated with the lack of resources to do a healthy backtest of their strategies without paying for it.
Let me know what you guys think!! PM me/reply here if interested!
Oh, and please let me know if something like this already exists.
Last edited: