flintlockwood

Reversal Candlestick Pattern With Trend Indentifier

This script help to identified popular candlestick pattern combined with trend identifier.
Most script only focus on criteria of the pattern. Such as how much the length of the body compared to previous candle etc.
Besides criteria of the candle, this script also considered the trend into the logic.
For example bullish engulfing is a bullish reversal signal, which is only valid in a down trend.

To identified trend, I'm using RSI. Normally, RSI less than 50 is considered a down trend, and RSI greater than 50 is considered up trend. In this script, you can customize the criteria of how much RSI is up trend and down trend.
Default value RSI >= 55 is up trend, RSI <= 45 is down trend.

Your feedback and suggestion is welcome.

Supported pattern:
  • White Marubozu (wm)
  • Black Marubozu (bm)
  • Hammer (h)
  • Hanging Man (hm)
  • Inverted Hammer (ih)
  • Shooting Star (ss)
  • Bullish Engulfing (e)
  • Bearish Engulfing (e)
  • Tweezer Bottom (tb)
  • Tweezer Top (tt)
  • Three White Soldiers (tws)
  • Three Black Crows (tbc)
  • Morning Star (ms)
  • Evening Star (es)
  • Three Inside Up (tiu)
  • Three Inside Down (tid)


Reference:
babypips.com
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?