HPotter

Piercing Line automatic finding script

Hi
Let me introduce my Piercing Line automatic finding script.
This is a bullish reversal pattern formed by two candlesticks. Following a downtrend,
an up candlestick with a long real body is followed by a lower open on the next
candlestick. This session finishes as an up candlestick and closes above the midpoint
of the prior candlestick's real body. It is the reverse of the Dark Cloud.

Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 10/04/2014
//    This is a bullish reversal pattern formed by two candlesticks. Following a downtrend, 
//    an up candlestick with a long real body is followed by a lower open on the next 
//    candlestick. This session finishes as an up candlestick and closes above the midpoint 
//    of the prior candlestick's real body. It is the reverse of the Dark Cloud.
////////////////////////////////////////////////////////////

study(title = "Piercing Line", overlay = true)
upper = highest(10)[1]
barcolor(close[1] < open[1] ?  open < low[1] ? close > close[1] + ((open[1] - close[1])/2) ? close < open[1] ? yellow :na :na  : na : na)