OPEN-SOURCE SCRIPT

Candlestick Patterns by Dipak V2

Actualizado
I am really excited to publish my work, I know its at the beginning but there is a lot to come in the future. I am writing a script to identify the candlestick patterns. In this version, I have added Hammer and Hanging Man Pattern in the first version, I know its less but its a beginning, I will keep adding the new information in my script in upcoming versions.

This script is for only learning purpose and not for treading realtime. In this script, it only identifies the pattern and does not check for its confirmation or does not provide any stop-loss, Also it does not check the prior trend before the pattern. These things really matter in the live trade. But in future, I am planning to add these things.

If you like my work, please like or comment your ideas I will try to include those in upcoming versions.


Hanging Man:
Hanging man is a bearish reversal candlestick pattern that signals about the uptrend or advancing phase are over and bulls have lost their control. Color of the candle is not important.

Identity:
1) Comes after a significant up rally or uptrend or advancing phase.
2) Small real body at the top.
3) Long lower shadow at least twice the real body.
4) Very small or no upper shadow.

Confirmation:
Immediate next candle’s close should be below the hanging man’s real body.

StopLoss:
There is a potential resistance level above the top of the hanging man. Stoploss should be above the resistance area or at the high of the hanging man.


Hammer:
Hammer is a bullish reversal candlestick pattern that signals about the downtrend or declining phase are over and bears have lost their control. Color of the candle is not important.

Identity:
1) Comes after significant down rally or downtrend or declining phase.
2) Small real body at the top.
3) Long lower shadow at least twice the real body.
4) Very small or no upper shadow.

Confirmation:
Immediate next candle’s close should be above the hammer’s low.

StopLoss:
There is a potential support level below the low of the hammer. Stoploss should be below the support area or at the low of the hammer.


Note: The candle is the same for Hanging Man and Hammer , Difference is where they appear in the uptrend or in the downtrend that makes the real difference.
Notas de prensa
Hi Everyone,
Thanks for showing your support and liking the script, I am excited to update the script with the below updates.

- Simplified script.
- You can enable or disable certain part patterns form setting.
- Added Bullish Engulfing and Bearish Engulfing.

Now time to learn something, Below are the thing that is have learned in this update:

Engulfing Pattern: There are two Engulfing patterns, Bullish Engulfing and Bearish Engulfing. The engulfing pattern is formed by a combination of two candles. Engulfing means overlapping, In this pattern, the second candle's real body overlaps or Engulfs the first candle's real body. Overlapping upper or lower shadows is not necessary. Engulfing patterns is more of a support and resistance.
Remember the most important thing, We must wait for the closing of a second candle before we recognize it as any candlestick pattern.

The lowest low of the bullish engulfing pattern acts as a Support. If you missed entering the trade then wait for the correction near the support area for entering the trade. The same can be applied for the bearish engulfing pattern there we recognize it as the Resistance. When this support or resistance is broken then the trend may continue to form a new leg, Hence we must use the stoploss.

Identity:
1) Comes after a significant downtrend for bullish engulfing and after an uptrend for bearish engulfing.
2) The color of the first and second candle is opposite.
3) The first candle’s real body is overlapped by the second candle's real body.

StopLoss:
We discussed above how the support and resistance are formed in bullish or bearish engulfing. We can have a stoploss above the resistance for bearish engulfing and below the support for bullish engulfing


Thanks,
Dipak
Bearish EngulfingBullish EngulfingcandlestickpatternengulfingpatternHammerHanging ManTrend Analysis

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad