RSI and Random Forest
04 Nov 2014
To install Systematic Investor Toolbox (SIT) please visit About page.
Tad Slaff at InovanceTech published How to Trade the RSI: An analysis using a Support Vector Machine post that I like. Below I will explore it a bit more.
Load Historical Prices. Let’s start with AUD/USD 4 hour bar pricesdropbox.
Create Indicators and Train SVM:
Now that we have found a basic set of rules that the SVM uncovered, lets test to see how well they hold up over new data, our test set.
[1] 57.82313
[1] 57.14286
Wow! 58% (85 correct out of 147 trades) for our short trades and 57% (80 correct out of 140 trades) for our long trades.
Now lets turn this into an actual trading strategy with a stop loss and take profit as our exit conditions.
(this report was produced on: 2014-12-07)