HPotter

Dark Cloud automatic finding script

Hi
Let me introduce my Dark Cloud automatic finding script.
This is a bearish reversal pattern formed by two candlesticks within a uptrend.
Consists of an up candlestick followed by a down candlestick which opens lower
than the prior candlestick and closes below the midrange of the prior candlestick.
It is the reverse of the Piercing Line.

Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 11/04/2014
//    This is a bearish reversal pattern formed by two candlesticks  within a uptrend. 
//    Consists of an up candlestick followed by a down candlestick which opens lower 
//    than the prior candlestick and closes below the midrange of the prior candlestick. 
//    It is the reverse of the Piercing Line.
////////////////////////////////////////////////////////////

study(title = "Dark Cloud", overlay = true)
barcolor(open[1] < close[1] ? open > high[1] ? close < close[1] - ((close[1] - open[1]) / 2) ? close > open[1] ? yellow :na :na :na :na )