MJ Important Candlestick Patterns + Smart Trend

This script detects 6 important candlestick patterns defined by the author and puts chart labels on your chart for your attention. It also includes a smart trend checking algorithm to detect trends.

The six candlestick patterns covered are:
  • Bullish Engulfing
  • Bearish Engulfing
  • Piercing Line
  • Dark Cloud Cover
  • Bullish Harami
  • Bearish Harami

*** Smart feature of this indicator is that it can detect uptrends or downtrends before alerting you regarding the bullish or bearish reversal candlestick pattern. This is achieved by comparing the typical price (high+low+close divided by 3) of today's candle versus three days ago.