Bullish Piercing Scanner

A piercing pattern is known in technical analysis to be a potential signal for a bullish reversal. The formation in its strictest form is rather rare, but tends to perform better the longer the downtrend in front of it. When technical studies such as RSI , Stochastic or MACD are showing a bullish divergence at the same time a piercing pattern appears, it strengthens the likelihood that this two-day pattern is meaningful.

This is a two-candle pattern. The previous candle must be bearish , the recent candle must open below the close of the previous candle, the recent candle must close above the middle of the previous candle. You can adjust the closing and opening gap between the two candles within this scanner's settings (price).




Doesn't work!
@biswad, on what?
ammartr TsangYouJun
@TsangYouJun, got this error -

line 8: 'float' could not be a variable or function name
Script 'Piecing Pattern Scanner' has been saved
Add to Chart operation failed, reason: line 8: 'float' could not be a variable or function name
@garbte, from my code, float is on line-5. Perhaps if you post your code to me as a link, I can review it.
ammartr TsangYouJun
@TsangYouJun, Also this -

Add to Chart operation failed, reason: line 14: Undeclared identifier 'green'
@garbte, if you're using Pine Script v4, be sure to specify color using hex-values, for example black would be #000000.
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 關於 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特