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
// 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
//////////////////////////////////////////////////////////// // 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)