CDLHARAMI
Type:
cdlharami• Category:indicators
Description
Harami Pattern
Parameters
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
dataExp | string | prices data | no | |
open | string | no | ||
high | string | no | ||
low | string | no | ||
close | string | no | ||
pattern | string | no | "CDLHARAMI" |
Help
CDLHARAMI
Harami Pattern
Description
The CDLHARAMI worker is an indicator used in financial analysis to identify the Harami pattern in price charts. The Harami pattern is a two-candlestick pattern that can indicate a potential reversal in the market.
What does this worker do?
The CDLHARAMI worker takes in price data and returns a signal when a Harami pattern is detected. The Harami pattern consists of two candlesticks:
- The first candlestick is a large candlestick with a long body.
- The second candlestick is a small candlestick that is completely inside the body of the first candlestick.
The worker uses the following parameters:
dataExp: prices dataopen: opening priceshigh: highest priceslow: lowest pricesclose: closing pricespattern: the Harami pattern signal
How to interpret the results
When the CDLHARAMI worker returns a signal, it indicates that a Harami pattern has been detected. The interpretation of the signal depends on the context of the market and the trend.
- A bullish Harami pattern (green signal) indicates a potential reversal to the upside.
- A bearish Harami pattern (red signal) indicates a potential reversal to the downside.
Usage
To use the CDLHARAMI worker, simply pass in your price data and configure the parameters as needed.
Example Usage
An example of how to use the CDLHARAMI worker is shown in the following animation:

For a quick overview, see the short animation:

Additional Information
The Harami pattern is a popular indicator used in technical analysis. It is considered a reversal pattern, meaning that it can indicate a change in the direction of the market. However, like all indicators, it should be used in conjunction with other forms of analysis and risk management techniques to maximize its effectiveness.
Knowledge about this indicator
The Harami pattern was first introduced by Japanese rice traders in the 18th century. It is a versatile pattern that can be used in various markets, including stocks, forex, and commodities. The pattern's reliability increases when it appears at the end of a strong trend.