NSE:CNXIT   Nifty IT Index
# 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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。