// Bullish Conditions emaBullish = ta.crossover(emaFast, emaSlow) // Fast EMA crosses above Slow EMA rsiBullish = rsi > 50 and rsi < 70 // RSI in bullish zone but not overbought bullishSignal = emaBullish and rsiBullish and volumeSpike
// Bearish Conditions emaBearish = ta.crossunder(emaFast, emaSlow) // Fast EMA crosses below Slow EMA rsiBearish = rsi < 50 and rsi > 30 // RSI in bearish zone but not oversold bearishSignal = emaBearish and rsiBearish and volumeSpike