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.
즐겨찾기 스크립트에서 빼기 즐겨찾기 스크립트에 넣기
////////////////////////////////////////////////////////////
//  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 응답
nick.osborn.71 nick.osborn.71
Here is an example of what I mean http://screencast.com/t/2riRh43vHd
응답
HPotter nick.osborn.71
I think it work the same.
응답
Nice job Harry thanks for the help
응답
HPotter TraderBoo
You are welcome.
응답
is there a scripting community on Tradingview??
응답
HPotter TraderBoo
I don`t know. I just started write the scripts.
응답
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

응답
HPotter HPotter
Right corner icon, Make it mine.
응답
so the candles in yellow Bearish Engulfing
응답
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 사용안내 차트 특징 프라이싱 프렌드 리퍼하기 하우스룰(내부규정) 헬프 센터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 라이트웨이트 차팅 라이브러리 블로그 & 뉴스 트위터
프로화일 프로화일설정 계정 및 빌링 프렌드 리퍼하기 나의 서포트 티켓 헬프 센터 공개아이디어 팔로어 팔로잉 비밀메시지 채팅 로그아웃