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
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?