// 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
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.