// Define entry and exit conditions if crossover(close, ema) and rsi < oversold strategy.entry("Buy", strategy.long) if crossunder(close, ema) and rsi > overbought strategy.entry("Sell", strategy.short)
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.