//@version=5 indicator("Crypto All-in-One Indicator", overlay=trBitcoin / TetherUSBINANCE:BTCUSDTMohamedazzam1212//@version=5 indicator("Crypto All-in-One Indicator", overlay=true) // ===== EMA ===== ema50 = ta.ema(close, 50) ema200 = ta.ema(close, 200) plot(ema50, color=color.blue, title="EMA 50") plot(ema200, color=color.orange, title="EMA 200") // ===== RSI ===== rsi = ta.rsi(close, 14) rsiOverbought = rsi > 70 rsiOversold = rsi < 30 // ===== MACD ===== = ta.macd(close, 12, 26, 9) macdBull = macdLine > signalLine macdBear = macdLine < signalLine // ===== Supertrend ===== atrPeriod = 10 factor = 3.0 = ta.supertrend(factor, atrPeriod) plot(supertrend, color=direction ? color.green : color.red, title="Supertrend") // ===== Buy / Sell Signals ===== buySignal = ta.crossover(macdLine, signalLine) and close > ema50 and not rsiOverbought sellSignal = ta.crossunder(macdLine, signalLine) and close < ema50 and not rsiOversold plotshape(buySignal, title="BUY", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY") plotshape(sellSignal, title="SELL", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")