# Define inputs
input lookback = 1;
input minVolumeMultiplier = 1.5;

# Calculate engulfing condition
def engulfingBullish = close > open and open < close and close > open;
def volumeMultiplier = volume / Average(volume, lookback);

# Plotting the bubble if engulfing condition is met with high volume
plot engulfingWithHighVolume = engulfingBullish and volumeMultiplier >= minVolumeMultiplier;

# Mark the candle with a bubble
AddChartBubble(engulfingWithHighVolume, high, "Bullish Engulfing", color.green, yes);
免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。