HPotter

Bearish Engulfing automatic finding script

Hi
Let me introduce my Bearish Engulfing automatic finding script.
This is a bearish candlestick reversal pattern formed by two candlesticks.
Following an uptrend, the first candlestick is a up candlestick which is
followed by a down candlestick which has a long real body that engulfs or
contains the real body of the prior bar. The Engulfing pattern is the reverse
of the Harami pattern.

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?
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 01/04/2014
//
//    This is a bearish candlestick reversal pattern formed by two candlesticks. 
//    Following an uptrend, the first candlestick is a up candlestick which is 
//    followed by a down candlestick which has a long real body that engulfs or 
//    contains  the real body of the prior bar. The Engulfing pattern is the reverse 
//    of the Harami pattern. 
////////////////////////////////////////////////////////////

study(title = "Bearish Engulfing", overlay = true)
barcolor(close[1] > open[1] ? open > close ? open >= close[1] ? open[1] >= close ? open - close > close[1] - open[1] ? yellow :na :na : na : na : na)