Easy to Use MACD+RSI Strategy by TrendsAreSexy
By TrendsAreSexy
Performance Metrics
- Author: TrendsAreSexy
- Symbol: TSX:BIP.UN
- Timeframe: 1 day
- Net P&L: +2,075.63 CAD (+41.51%)
- Win Rate: 100.0%
- Max Drawdown: 0 CAD (0.00%)
- Total Trades: 8
- Sharpe Ratio: 0.332
Description
BEGINNERS REJOICE!Easy to use strategy test using MACD with RSI as a confirming indicator. The code is structured to make it easy to manipulate the variables to your choosing.EASY TO CHANGE CODE VARIABLESLINE 2 = Change the amount you invest every trade and the currencyLINE 8/9/10 = Change the defval of each of these lines to backtest from a certain dateLINE 16/17/18 = Change the MACD sensitivity by changing the defval on each lineLINE 21 = Change the value after close toadjust the sensitivity of the RSILINE 37/39 = Change/remove the variables for macdLine and rsivalue after the crossover/crossunder to adjust your buying point further.As a beginner you may not feel comfortable with shorting stocks, therefore LINE 5 was added to only allows long positions.Funny how a simple indicator can return such a high profitability. Couple this with some trend/exit strategies and you'll have something really special!