Skip to main content

SuperTrend EMA150 Scalp Spot Trading Strategy

SuperTrend EMA150 Scalp is a spot trend-breakout strategy. It combines a long EMA, Supertrend direction, a break above recent highs, and an optional higher-timeframe EMA filter.

SuperTrend EMA150 Scalp Spot Trading Strategy strategy behavior

At entry it creates a risk-based plan from the closer of a recent swing low and the Supertrend line. The profit target is a multiple of that initial risk, while the stop can trail upward with Supertrend.

warning

The default entry is strict: a fresh bullish Supertrend flip and a recent-high breakout must occur together. Low trade counts can be normal and should not automatically be “fixed” by loosening every filter.

Trading behavior

Entry

A buy setup requires:

  1. Current close above STEMA_EMA_LENGTH.
  2. Bullish Supertrend.
  3. When STEMA_REQUIRE_SUPERTREND_FLIP is enabled, Supertrend must have just changed from bearish to bullish.
  4. Current close above the highest high of the previous STEMA_BREAK_LOOKBACK candles.
  5. The optional higher-timeframe filter is bullish.
  6. Spread, news, cooldown, balance, and order checks pass.

The recent-high calculation excludes the current candle, so the breakout does not move its own reference level.

The strategy buys once and does not DCA.

tip

Disabling the fresh-flip requirement still requires bullish Supertrend and a new price-action breakout. It allows continuation entries later in an established bullish Supertrend.

Higher-timeframe filter

When enabled, the strategy groups base candles by STEMA_HTF_FACTOR and calculates STEMA_HTF_EMA_LENGTH on those grouped closes.

With the default three-minute period and factor 20, each grouped candle represents about 60 minutes. The default 150-length HTF EMA therefore needs extensive history.

Until enough grouped history exists, the strategy uses the ordinary price-above-EMA condition as its available trend confirmation.

This is an approximation built from the pair's selected candle series; it is not a separately fetched exchange timeframe.

Initial stop and target

The initial stop is the higher, and therefore closer, of:

  • The lowest low in STEMA_SWING_LOOKBACK.
  • The current Supertrend line.

An entry is skipped if that stop is not below the ask.

The initial target is:

entry + ((entry - stop) × STEMA_RISK_REWARD)

It is raised when necessary to cover estimated fees plus STEMA_MIN_NET_GAIN_PCT.

The target is saved at entry. Trailing the stop later does not recalculate the target.

Supertrend trailing stop

With STEMA_TRAIL_SUPERTREND enabled, a bullish Supertrend line can raise the saved stop. It never moves the stop downward.

The trailing line only executes when STEMA_USE_PROTECTION is enabled. Without protection, it remains a visible risk reference.

Trend exits

Two profit-protected exits are available:

  • STEMA_EXIT_ON_SUPERTREND_SELL: sell when current Supertrend is bearish.
  • STEMA_EXIT_ON_EMA_LOSS: sell when current close is below the long EMA.

Both wait until bid reaches the minimum profitable price. They do not realize a loss.

STEMA_USE_PROTECTION is the control that allows the saved or trailed stop to close below break-even.

News and cooldown

The manual news block pauses entries only. Existing positions continue to be managed.

STEMA_ENFORCE_COOLDOWN_IN_BACKTEST models the three-minute default action cooldown during historical testing. Position exits are checked before the entry cooldown.

Good market conditions

SuperTrend EMA150 Scalp is best suited to:

  • A new or continuing bullish trend above a long EMA.
  • A decisive break above recent highs.
  • Agreement between base and higher-timeframe direction.
  • Enough volatility to reach a risk-based target without excessive spread.

It is weaker in:

  • Ranges with repeated Supertrend flips.
  • Late-stage breakouts far above the EMA.
  • Thin markets where a single wick defines the recent high.
  • Sharp reversals when protection is disabled.

The default three-minute period is fast relative to the EMA 150 filter. This combination looks for short breakouts inside a much broader local trend.

How to create the strategy

  1. Create a new spot strategy in the advanced strategy editor.
  2. Select supertrendema150scalp as both buy and sell method.
  3. Start with the default three-minute period.
  4. Align both trading-limit controls.
  5. Load enough history for EMA 150 and the higher-timeframe filter.
  6. Compare fresh-flip and continuation entries.
  7. Inspect the stop-to-target distance on actual signals.
  8. Test protection through failed breakouts.

A practical tuning workflow

Tune trend context first:

  • Increase EMA length for a slower trend gate.
  • Increase Supertrend multiplier for fewer, less sensitive flips.
  • Increase Supertrend length for smoother volatility measurement.

Then tune breakout timing. A longer break lookback demands a more significant high. Requiring a fresh Supertrend flip makes timing stricter than breakout alone.

Tune risk after entries look sensible. Increasing swing lookback can find a lower low, but the Supertrend line may still be the closer stop. STEMA_RISK_REWARD controls target distance directly from the chosen stop.

Test HTF settings with enough data. A backtest that is too short may not exercise the intended grouped EMA filter.

Core settings

LabelConfig parameterDefaultDescription
Buy enabledBUY_ENABLEDtrueAllows qualifying breakout entries.
Sell enabledSELL_ENABLEDtrueAllows target, trend, EMA, and stop exits.
PeriodPERIOD3Base candle period in minutes.
Trading limitTRADING_LIMIT100Compatibility fallback only. It is ignored while the strategy-specific trading limit is positive; the two values do not need to match. For USDT-BTC, this value is in USDT.
Funds reserveFUNDS_RESERVE0For USDT-BTC, the amount of USDT the bot must leave unused.
Amount retained from sellsKEEP_QUOTE0For USDT-BTC, the amount of BTC the strategy must not sell.
Min volume to buyMIN_VOLUME_TO_BUY10General minimum buy value. Keep it aligned with STEMA_MIN_ORDER_VALUE. For USDT-BTC, this value is in USDT.
Min volume to sellMIN_VOLUME_TO_SELL10General minimum sell value. Keep it aligned with STEMA_MIN_SELL_VALUE. For USDT-BTC, this value is in USDT.
GainGAIN0.4General gain field. This strategy builds its target from risk/reward instead.

Execution settings

LabelConfig parameterDefaultDescription
STEMA trading limitSTEMA_TRADING_LIMIT100For USDT-BTC, the amount of USDT used for the single buy.
STEMA min order valueSTEMA_MIN_ORDER_VALUE10Minimum value required for a buy. For USDT-BTC, this value is in USDT.
STEMA min sell valueSTEMA_MIN_SELL_VALUE10Minimum position value required for a sell. For USDT-BTC, this value is in USDT.
STEMA cooldown msSTEMA_COOLDOWN_MS180000Minimum milliseconds between entry actions. 180000 is three minutes.
Enforce cooldown in backtestSTEMA_ENFORCE_COOLDOWN_IN_BACKTESTtrueIncludes the cooldown in historical tests.
STEMA max spread %STEMA_MAX_SPREAD_PCT0.06Maximum spread as a percentage of midpoint.
STEMA max spread absoluteSTEMA_MAX_SPREAD_ABSOLUTE0Optional maximum spread in pair price units. For USDT-BTC, this value is in USDT.

Trend and breakout settings

LabelConfig parameterDefaultDescription
EMA lengthSTEMA_EMA_LENGTH150Long trend EMA. Entry requires close above it.
Supertrend lengthSTEMA_SUPERTREND_LENGTH10ATR lookback for Supertrend.
Supertrend multiplierSTEMA_SUPERTREND_MULTIPLIER3ATR distance of Supertrend bands. Higher values reduce flips.
Require Supertrend flipSTEMA_REQUIRE_SUPERTREND_FLIPtrueRequires a fresh bullish direction change for entry.
Break lookbackSTEMA_BREAK_LOOKBACK5Previous highs the current close must exceed.
Swing lookbackSTEMA_SWING_LOOKBACK10Candles searched for the recent stop reference low.

Higher-timeframe and risk settings

LabelConfig parameterDefaultDescription
Use HTF filterSTEMA_USE_HTF_FILTERtrueRequires grouped-candle close above its EMA when enough grouped data exists.
HTF factorSTEMA_HTF_FACTOR20Number of base candles combined into one higher-timeframe candle.
HTF EMA lengthSTEMA_HTF_EMA_LENGTH150EMA lookback applied to grouped closes.
Risk rewardSTEMA_RISK_REWARD1.2Target multiple of initial entry-to-stop risk.
Minimum net gain %STEMA_MIN_NET_GAIN_PCT0.3Minimum gain above estimated fee-adjusted break-even.
Use protectionSTEMA_USE_PROTECTIONfalseAllows the saved or trailed stop to close below break-even.
Trail SupertrendSTEMA_TRAIL_SUPERTRENDtrueRaises the saved stop with a rising bullish Supertrend line.
Exit on Supertrend sellSTEMA_EXIT_ON_SUPERTREND_SELLtrueAllows bearish Supertrend to sell at or above minimum profit.
Exit on EMA lossSTEMA_EXIT_ON_EMA_LOSStrueAllows close below the long EMA to sell at or above minimum profit.

News and backtesting

LabelConfig parameterDefaultDescription
News blockSTEMA_NEWS_BLOCKfalseManually pauses new entries.
News block untilSTEMA_NEWS_BLOCK_UNTIL0Timestamp until which entries remain blocked.
Backtest sinceBF_SINCE0Optional backtest start boundary.
Backtest untilBF_UNTIL0Optional backtest end boundary.
Deep testingDEEP_TESTINGfalseEnables deeper backtesting without changing live signals.

Important limitations

  • The strategy opens one position and does not DCA.
  • The higher-timeframe view is aggregated from base candles.
  • Fresh Supertrend flip plus breakout can be very selective.
  • Trend and EMA exits never realize a loss.
  • Supertrend trailing only executes when protection is enabled.
  • The target does not move when the stop trails.
  • The news block is manual.

The strategy is strongest when trend, breakout, and risk geometry agree before entry. If the stop is too close or the breakout is too extended, the signal may be valid while the trade plan is not.