HPotter

Bearish Engulfing automatic finding script

4405 vizualizações
2177
4405 11
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.
Remover dos scripts favoritos Adicionar aos scripts favoritos
////////////////////////////////////////////////////////////
//  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)
DONATE/TIP

BTC: 3FKWwtaYrf5NHZzaCi1fyAfQj7XSgtyCqe
IS it possible to code this for a total engulfing script? I mean for a candle that totally engulfs the previous day not just the body?
+1 Resposta
nick.osborn.71 nick.osborn.71
Here is an example of what I mean http://screencast.com/t/2riRh43vHd
Resposta
HPotter nick.osborn.71
I think it work the same.
Resposta
Nice job Harry thanks for the help
Resposta
HPotter TraderBoo
You are welcome.
Resposta
is there a scripting community on Tradingview??
Resposta
HPotter TraderBoo
I don`t know. I just started write the scripts.
Resposta
Sure, click make it main and then open code from the chart and click Save. Then this script will be in your Indicators -> Customs Scripts.

Yes, pattern is yellow

Resposta
HPotter HPotter
Right corner icon, Make it mine.
Resposta
so the candles in yellow Bearish Engulfing
Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de criptomoedas Calendário econômico Como Funciona Recursos gráficos Preços Regras da Casa Moderadores Soluções para sites e corretoras Widgets Soluções em Gráficos Central de Ajuda Solicitação de recurso Blog & Notícias FAQ Wiki Twitter
Perfil Configurações de perfil Conta e cobrança TradingView Coins Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar