KtL

Bullish Harami blue, Bullish Engulfinger black, Hammer yellow

383
Copyright by HPotter v1.0 24/03/2014
// This is a bullish reversal pattern formed by two candlesticks in which a small
// real body is contained within the prior session's unusually large real body.
// Usually the second real body is the opposite color of the first real body.
// The Harami pattern is the reverse of the Engulfing pattern.

// Bullish Engulfinger, Hammer by KtL
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 24/03/2014
//    This is a bullish reversal pattern formed by two candlesticks in which a small 
//    real body is contained within the prior session's unusually large real body.
//    Usually the second real body is the opposite color of the first real body. 
//    The Harami pattern is the reverse of the Engulfing pattern. 
//     Bullish Engulfinger, Hammer by KtL
////////////////////////////////////////////////////////////

study(title = "Bullish Harami (blue), , HammBullish Engulfinger ", overlay = true)

barcolor(open[1] > close[1] ? close > open ? close <= open[1] ? close[1] <= open ? close - open < open[1] - close[1] ? blue :na :na : na : na : na)

barcolor(open[1] > close[1] ? close > open ? close >= open[1] ? close[1] >= open ? close-open>open[1]-close[1] ? black :na :na : na : na : na)

barcolor(high-low > 3 * (open-close) ? (close - low) /(.001 + (high - low)) > 0.6 ? (open-low) / (.001 + high - low) > 0.6 ? yellow :na :na : na)