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
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?