The name RAM originated because of three popular technical indicators Relative Strength Index (RSI), Average True Range (ATR), and Moving average convergence/divergence were used all together to create three conditions individually first and once all three conditions meet at once then we considered a potential opportunity either for buy or sell and produce signals. Before we dive into how the strategy work let's clarify all the 3 indicators which has been used.
RSI (Relative Strength Index):
The RSI is a popular indicator used to assess the overbought and oversold conditions of a financial instrument. It measures the speed and change of price movements.
Overbought Level: The RSI Overbought Level is set to 65, indicating that when the RSI goes above this level, it suggests that the instrument may be overbought or overvalued.
Oversold Level: The RSI Oversold Level is set to 35, indicating that when the RSI goes below this level, it suggests that the instrument may be oversold or undervalued.
ATR (Average True Range):
The ATR is a volatility indicator that measures the average range between the high and low prices of a financial instrument. It provides insight into market volatility. There is an ATR calculation and ATR Simple Moving Average calculation done in the script which provides insights into market volatility. By comparing the current ATR value to its SMA, this indicator takes into consideration the volatility conditions while generating trading signals, aiming to capture potential price movements during periods of increased volatility.
MACD (Moving Average Convergence Divergence):
The MACD is a trend-following momentum indicator that helps identify potential trend reversals. It consists of two lines: the MACD Line and the Signal Line.
MACD Line: The MACD Line represents the difference between the short-term and long-term moving averages. Crossovers of the MACD Line above the Signal Line indicate potential buying opportunities.
Signal Line: The Signal Line is a moving average of the MACD Line. Crossovers of the MACD Line below the Signal Line indicate potential selling opportunities and crossovers of the MACD line above the signal line indicate potential buying opportunities.
Trading Strategy:
Buy Signal: A buy signal is generated when the RSI is below the oversold level, the ATR is higher than its Simple Moving Average (indicating higher volatility), and there is a bullish crossover of the MACD Line above the Signal Line.
Sell Signal: A sell signal is generated when the RSI is above the overbought level, the ATR is higher than its Simple Moving Average (indicating higher volatility), and there is a bearish crossover of the MACD Line below the Signal Line.
The plot shapes function is used to visually represent the buy and sell signals on the price chart. Green "BUY" labels are displayed below the price bars for buy signals, while red "SELL" labels are displayed above the price bars for sell signals.
This strategy aims to identify potential buying and selling opportunities based on the combination of RSI, ATR, and MACD indicators. However, please note that the effectiveness and profitability of the strategy may vary depending on market conditions and individual trading preferences.
*Disclaimer*
Trading involves risk. Also, clarify that past performance is not indicative of future results and that individuals should only trade with the capital they can afford to lose.