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 open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?
////////////////////////////////////////////////////////////
//  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)