Professional-grade market intelligence, realβtime crypto signals, and institutionalβgrade gauges β built for the modern trader.
EXPLORE MORETechnical analysis gauges for Gold, Bitcoin, and 10 major forex pairs. Combines RSI, MACD, moving averages β updated in real time.
Leverage cutting-edge automation to execute your trading strategies with precision.
Copy and paste this EMA crossover strategy directly into TradingView's Pine Script editor. Works on any instrument and timeframe β includes buy/sell signals, stop-loss, and take-profit logic.
//@version=5 // βββββββββββββββββββββββββββββββββββββββββββββ // Cabbage Markets β EMA Crossover Strategy // Free to use. Copy into TradingView Pine Editor. // βββββββββββββββββββββββββββββββββββββββββββββ strategy("Cabbage EMA Cross", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10) // ββ Inputs ββββββββββββββββββββββββββββββββββ fastLen = input.int(9, title="Fast EMA Length", minval=1) slowLen = input.int(21, title="Slow EMA Length", minval=1) rsiLen = input.int(14, title="RSI Length") rsiOB = input.int(70, title="RSI Overbought") rsiOS = input.int(30, title="RSI Oversold") slPct = input.float(1.5, title="Stop Loss %", step=0.1) tpPct = input.float(3.0, title="Take Profit %", step=0.1) // ββ Calculations ββββββββββββββββββββββββββββ fastEMA = ta.ema(close, fastLen) slowEMA = ta.ema(close, slowLen) rsiVal = ta.rsi(close, rsiLen) crossUp = ta.crossover(fastEMA, slowEMA) crossDn = ta.crossunder(fastEMA, slowEMA) longCond = crossUp and rsiVal < rsiOB shortCond = crossDn and rsiVal > rsiOS // ββ Plot EMAs ββββββββββββββββββββββββββββββββ plot(fastEMA, color=color.new(color.green, 0), linewidth=2, title="Fast EMA") plot(slowEMA, color=color.new(color.red, 0), linewidth=2, title="Slow EMA") // ββ Signals ββββββββββββββββββββββββββββββββββ plotshape(longCond, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="BUY") plotshape(shortCond, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="SELL") // ββ Strategy Entries & Exits βββββββββββββββββ if longCond strategy.entry("Long", strategy.long) strategy.exit("Long TP/SL", from_entry="Long", stop = strategy.position_avg_price * (1 - slPct/100), limit = strategy.position_avg_price * (1 + tpPct/100)) if shortCond strategy.close("Long") // ββ Background Colour ββββββββββββββββββββββββ bgcolor(longCond ? color.new(color.green, 92) : na) bgcolor(shortCond ? color.new(color.red, 92) : na)
Master reading pure price movement without indicators. The ultimate resource by Atanas Matov β scroll inside the viewer for full access.
MORE RESOURCES β

