|

Upgrade Your Trading With This Market Pattern

Pattern recognition is a vast field and can have many innovative ideas or unexplored techniques. This article sheds some light on a type of pattern that can be applied in a different way.

What is a Pattern?

A market pattern refers to recurring and recognizable formations or trends in financial markets, such as stock markets, commodity markets, or foreign exchange markets. These patterns are observed in price charts and are based on historical price movements and trading volumes. Market patterns are used by traders and analysts to predict potential future price movements and make informed trading decisions.

There are various types of market patterns, each with its own characteristics and implications. Some common market patterns include:

  1. Reversal patterns: These patterns indicate a potential change in the prevailing trend. Examples include head and shoulders, double tops, and double bottoms. These patterns suggest that a trend may be reaching its end and a reversal could occur.
  2. Continuation patterns: These patterns suggest that the current trend is likely to continue after a brief consolidation period. Examples include flags, pennants, and triangles.
  3. Candlestick patterns: These patterns are derived from Japanese candlestick charts and provide insights into price movements. Examples include doji, hammer, and engulfing patterns.

And there is also the application of patterns on technical indicators. In this article, we’ll apply a candlestick pattern on the RSI and see what type of signals it may give. Let’s do a quick introduction to this pattern.


The Doji Pattern

Candlestick charts are among the most famous ways to analyze the time series visually. They contain more information than a simple line chart and have more visual interpretability than bar charts.

The Doji pattern is a one-candlestick contrarian configuration but we generally observe what happens before it and one candlestick after it so that we confirm the type of the Doji. The Doji’s general shape is a candlestick that resembles a plus sign which simply means that the close price equals the open price.

The bullish Doji is composed of a plus sign candlestick that has the open price equal to the close price. It should be followed by a confirmation bullish candlestick and preceded by a bearish candlestick. The following Figure shows a theoretical illustration of the bullish Doji.

The bearish Doji is composed of a plus sign candlestick that has the open price equal to the close price. It should be followed by a confirmation bearish candlestick and preceded by a bullish candlestick. The following Figure shows a theoretical illustration of the bearish Doji.

The Relative Strength Index (RSI)

The relative strength index (RSI) is a technical indicator used in financial analysis to measure the magnitude of recent price changes in order to evaluate overbought or oversold conditions of an asset, such as stocks, commodities, or currencies. The RSI is displayed as an oscillator that ranges between 0 and 100, with readings typically plotted on a chart below the price chart. The RSI is calculated using the following steps:

  1. Calculate the average of the price gains and losses over a specific period (usually 14 periods). Price gains are the positive differences between consecutive closing prices, while price losses are the negative differences.
  2. Calculate the relative strength (RS) by dividing the average of gains by the average of losses.
  3. The RSI is then derived by applying the following formula: RSI = 100 — (100 / (1 + RS))

The RSI generates signals based on the concept that price tends to be overbought when it rises too quickly and overextended, and oversold when it falls too rapidly. Here’s how the RSI is interpreted:

  • Overbought (typically above 70): When the RSI reading crosses above the overbought threshold (e.g., 70), it suggests that the asset’s price may have risen too quickly and a potential reversal or correction could be on the horizon.
  • Oversold (typically below 30): When the RSI reading drops below the oversold threshold (e.g., 30), it indicates that the asset’s price may have declined too rapidly and a rebound or recovery could be imminent. 

In strongly trending markets, the RSI can stay overbought or oversold for extended periods, leading to false signals.

SEEMT (South East European Technical Analysis Association) is a premier association dedicated to advancing the art and science of technical analysis. By fostering a community of like-minded professionals and enthusiasts, SEEMT champions the development of robust analytical tools and methodologies. It offers valuable resources, including seminars, networking opportunities, and educational programs, to enhance the skills of its members. Whether you’re a seasoned trader or new to the field, SEEMT’s commitment to knowledge-sharing and innovation ensures a supportive environment for continuous learning and growth.


The RSI-Doji Pattern Recognition

The main aim is to apply the Doji pattern on the RSI. This implies calculating two RSI’s, one on the close price and the other on the open price. Whenever the two RSI’s are equal, a Doji pattern is validated. The following Figure shows the pattern in action:

Signal chart

The following shows how to code this pattern on the RSI using PineScript:

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Sofien-Kaabar
//@version=5
indicator(“RSI – Doji”, overlay = true)
lookback = input(defval = 14, title = ‘Lookback’)
rsi_open = math.round(ta.rsi(open, lookback), 1)
rsi_close = math.round(ta.rsi(close, lookback), 1)
bullish_pattern = rsi_close[1] == rsi_open[1] and ta.rsi(close, lookback) < 40
bearish_pattern = rsi_close[1] == rsi_open[1] and ta.rsi(close, lookback) > 60
plotshape(bullish_pattern,  style = shape.triangleup,   color = color.green,  location =  location.belowbar, size = size.small)
plotshape(bearish_pattern,  style = shape.triangledown, color = color.red,    location =  location.abovebar, size = size.small)

It’s worth noting that the pattern is improved if you combine it with the same pattern applied on the market price.

Signal chart

The following Figure shows more signals:

Signal chart

The following Figure shows more signals:

Signal chart

In conclusion, pattern recognition does not have to be limited to price action. It can be extended to technical indicators as well.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *