Sell EMA off
TP%
SL%
Trail%
OB%

Loading chart...

💰 Equity Curve

Trades (0)

📖 How It Works

🟢 Buy Signals (Entry)

  • EMA Crossover — Buys when the 20-day EMA crosses above the 50-day EMA (golden cross). This is the primary entry signal.
  • Hold Above Sell EMA — If "Sell EMA" is set, price must also be above that EMA to confirm the buy. Otherwise the cross is ignored.
  • ⬆ Gap Buy — If enabled, buys when price gaps up significantly at the open (momentum entry). Good for volatile instruments.
  • Oversold Bounce (OB%) — Buys when price drops X% below its EMA, then bounces back. Catches deep dips. Higher % = deeper dip needed before buying.

🔴 Sell Signals (Exit)

All exits are evaluated at daily close. The engine checks each candle's closing price against the exit conditions. This means intraday spikes that would trigger a stop in real-time may not trigger here if the candle closes above/below the level.

  • 🎯 Take Profit (TP%) — Checked at daily close. If the closing price ≥ entry × (1 + TP%), the position is sold. The exit price is the higher of the day's open price or the exact TP target — simulating an intraday limit fill if the candle gapped above TP at the open.
  • 🛑 Stop Loss (SL%) — Checked at daily close. If the closing price ≤ entry × (1 − SL%), the position is sold at the closing price. Note: if the Sell EMA shield is active and the SL level is above the EMA, the stop loss is suppressed (the EMA "protects" the position).
  • 📏 Trailing Stop (Trail%) — Tracks the highest close since entry. If the closing price drops Trail% below that peak, the position is sold at close. This lets winners run while protecting accumulated gains.
  • 📊 EMA Exit — If Sell EMA is set: sells when close drops below the Sell EMA. If Sell EMA is off: sells when 20-EMA crosses below 50-EMA and close is below the 20-EMA. Evaluated at daily close.
  • ⏹ End of Data — Closes any open position at the last available candle's close price.

📥 Entry Price Details

  • Normal buy / Oversold bounce — Enters at the daily close price. The engine sees the close, confirms the signal, and buys at that close.
  • ⬆ Gap Buy — Enters at the daily open price. If yesterday's close was below the Sell EMA and today's open is above it, buys immediately at the open.

⚙️ Input Guide

  • Sell EMA (0 = off, 5-500)
    The "no-sell" EMA period. When set, positions won't exit via EMA rules while price is above this EMA.
    ↑ Higher = smoother, holds longer through dips. Good for trending assets (BTC, QQQ).
    ↓ Lower = more responsive, exits faster. Better for choppy or volatile ETFs (SOXL, TQQQ).
  • TP% (take profit)
    ↑ Higher (25-40%) = lets winners run. Good for trending markets and high-beta assets.
    ↓ Lower (5-15%) = takes profits quickly. Better for choppy markets or slow-moving ETFs.
  • SL% (stop loss)
    ↑ Higher (8-15%) = wider stop, survives more volatility. Use for crypto (BTC/ETH) or 3× ETFs.
    ↓ Lower (3-5%) = tight stop, limits losses but may get stopped out frequently. Good for stable ETFs (QQQ, SPY).
  • Trail% (trailing stop)
    ↑ Higher (5-15%) = gives more room for price swings. Good for volatile assets and strong trends.
    ↓ Lower (1-3%) = locks in gains tightly. Better for range-bound or slow assets.
    0 = off (no trailing stop)
  • ⬆ Gap Buy
    Toggle on for volatile instruments that gap up on momentum (TQQQ, SOXL, BTCUSD). Off for calmer ETFs.
  • OB% (oversold bounce)
    ↑ Higher (20-30%) = only buys very deep dips. Safer but fewer trades. Good for crypto or crash recovery.
    ↓ Lower (5-10%) = catches smaller dips. More trades but some may be premature.
    0 = off
  • 💰 DD Scale P
    Permanently adds +0.5× position size each time price drops 50% from a new all-time high. Never resets. Aggressive strategy for long-term holds through deep drawdowns.
    Best for: BTC, ETH, TQQQ with multi-year timeframes.

💡 Quick Tips

  • Fast ETFs (TQQQ, SOXL, BITX) — use tighter SL (3-5%), moderate Trail (3-5%), Sell EMA 15
  • Crypto (BTCUSD, ETHUSD) — use wider SL (5-10%), higher Trail (5-15%), OB 15-25%
  • Stable ETFs (QQQ, SPY) — use tight SL (3-5%), high TP (25-40%), Sell EMA 20
  • Bear markets — lower TP, tighter SL, Trail helps lock in shorter wins
  • Press Enter to load, Esc to cancel measure
  • Click a trade on the chart or in the sidebar to highlight it