Professional Documents
Culture Documents
A Very Interesting RSI Trading Strategy - by Sofien Kaabar, CFA - Jan, 2024 - Medium
A Very Interesting RSI Trading Strategy - by Sofien Kaabar, CFA - Jan, 2024 - Medium
The RSI is based on the principle that as prices rise, the security becomes
overbought, and as prices fall, the security becomes oversold. The RSI
helps traders to identify potential trend reversals or price corrections.
The RSI calculation involves comparing the average gain of the security
over a given period to the average loss of the security over the same
period. The default version of the RSI is then plotted on a scale of 0 to
100, with readings above 70 considered overbought, and readings below
30 considered oversold. The RSI is a popular indicator among traders
because it can provide early warning signals of potential market trends.
https://kaabar-sofien.medium.com/a-very-interesting-rsi-trading-strategy-448ce9d36899 Page 1 of 8
A Very Interesting RSI Trading Strategy | by Sofien Kaabar, CFA | Jan, 2024 | Medium 14/1/2024, 12:55 AM
It’s worth noting that the RSI should not be used in isolation as a sole
basis for making trading decisions. Traders typically use the RSI in
conjunction with other technical analysis tools and market indicators to
gain a more comprehensive understanding of the market conditions and
make informed trading decisions. Generally, the RSI is calculated over a
rolling period of 14.
14-period RSI
Pre-order my new book with O’Reilly Media, Deep Learning for Finance
now on Amazon! In today’s fast-paced financial landscape, staying ahead
of the game is essential. With the fusion of deep learning and finance,
time series analysis will become second nature to you! Algorithms are
covered from A-Z and range from simple linear regression to complex
LSTM architectures, and even temporal convolutional neural networks! A
dedicated GitHub repository is provided.
https://kaabar-sofien.medium.com/a-very-interesting-rsi-trading-strategy-448ce9d36899 Page 2 of 8
A Very Interesting RSI Trading Strategy | by Sofien Kaabar, CFA | Jan, 2024 | Medium 14/1/2024, 12:55 AM
https://kaabar-sofien.medium.com/a-very-interesting-rsi-trading-strategy-448ce9d36899 Page 3 of 8
A Very Interesting RSI Trading Strategy | by Sofien Kaabar, CFA | Jan, 2024 | Medium 14/1/2024, 12:55 AM
Signal chart
// This source code is subject to the terms of the Mozilla Public Lic
// © Sofien-Kaabar
//@version=5
indicator("RSI Technique - V", overlay = true)
lookback = input(defval = 8, title = 'Lookback')
https://kaabar-sofien.medium.com/a-very-interesting-rsi-trading-strategy-448ce9d36899 Page 4 of 8
A Very Interesting RSI Trading Strategy | by Sofien Kaabar, CFA | Jan, 2024 | Medium 14/1/2024, 12:55 AM
Signal chart
Of course, not all techniques are perfect. You are bound to encounter a
few bad signals, especially during trending periods as illustrated by the
following Figure:
https://kaabar-sofien.medium.com/a-very-interesting-rsi-trading-strategy-448ce9d36899 Page 5 of 8
A Very Interesting RSI Trading Strategy | by Sofien Kaabar, CFA | Jan, 2024 | Medium 14/1/2024, 12:55 AM
Signal chart
https://kaabar-sofien.medium.com/a-very-interesting-rsi-trading-strategy-448ce9d36899 Page 6 of 8
A Very Interesting RSI Trading Strategy | by Sofien Kaabar, CFA | Jan, 2024 | Medium 14/1/2024, 12:55 AM
Signal chart
Of course, tightening may also remove good signals. Take a look at the
same chart with no tightening:
https://kaabar-sofien.medium.com/a-very-interesting-rsi-trading-strategy-448ce9d36899 Page 7 of 8
A Very Interesting RSI Trading Strategy | by Sofien Kaabar, CFA | Jan, 2024 | Medium 14/1/2024, 12:55 AM
Signal chart
https://kaabar-sofien.medium.com/a-very-interesting-rsi-trading-strategy-448ce9d36899 Page 8 of 8