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
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 如何運作 圖表功能 價格 網站規則 版主 網站 & 經紀商解決方案 小工具 圖表解決方案 幫助中心 功能請求 部落格 & 新聞 常見問題 維基 推特
概述 個人資料設定 賬戶和賬單 TradingView幣 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出