Skip to main content

Hybrid FX Scalp Spot Trading Strategy

Hybrid FX Scalp is a selective spot strategy that requires six trend and momentum views to agree. It combines RSI, a smoothed linear weighted moving average (LWMA), smoothed Heikin Ashi candles, Waddah-style momentum, PPO, and MACD.

Hybrid FX Scalp Spot Trading Strategy strategy behavior

The method trades infrequently when its filters disagree. That is intentional: it is designed for broad confirmation, not for taking every small oscillator turn.

warning

More confirmation does not remove risk. Because the normal bearish exit waits for break-even, a losing position can remain open after all filters turn negative unless loss protection is enabled.

Trading behavior

Hybrid FX evaluates all its filters on every cycle and labels each component as bullish, bearish, or neutral.

Entry

A buy setup requires all of the following:

  1. RSI is at or above its buy level and is not falling.
  2. The smoothed LWMA is rising and bid is at or above it.
  3. The smoothed Heikin Ashi candle is green.
  4. The Waddah-style histogram is positive, strengthening, and above its minimum-strength threshold.
  5. PPO histogram is positive and strengthening.
  6. MACD is above its signal, with a non-negative and strengthening histogram.

When HFX_REQUIRE_RSI_CROSS is enabled, RSI must cross from at or below the buy level to above it on the current candle. When disabled, RSI can remain above the level as long as it is not weakening.

The entry must also pass the spread, news, cooldown, balance, and order-minimum checks. Hybrid FX buys once for the configured value and does not DCA.

tip

The sidebar summarizes RSI/LWMA, Heikin Ashi, WAE/PPO, and MACD states. Use it to identify the filter that is keeping a seemingly bullish chart in SEEK mode.

Swing-based target and stop

Hybrid FX looks back over recent completed candles for a swing low. Its preferred stop sits below that swing by:

  • HFX_SWING_BUFFER_PCT in percentage mode.
  • HFX_SWING_BUFFER_PIPS × HFX_PIP_SIZE in pip mode.

If that swing-based level is not usable below the average entry, the strategy uses HFX_STOP_PCT below entry instead.

It then calculates a risk/reward target from the distance between entry and stop. HFX_RISK_REWARD = 1.2 asks for 1.2 units of reward per unit of calculated risk.

HFX_TARGET_PCT acts as a cap: when the risk/reward target is farther away, the closer percentage target is used. The final target still stays above fee-adjusted break-even plus HFX_MIN_NET_GAIN_PCT.

This means increasing risk/reward does not always move the target. Once the percentage cap is closer, HFX_TARGET_PCT controls the result.

Full sell signal

A full bearish signal is the inverse of entry:

  • RSI is at or below the sell level and weakening.
  • Smoothed LWMA is falling with bid below it.
  • Heikin Ashi is red.
  • WAE, PPO, and MACD are all bearish and strengthening downward.

With HFX_EXIT_ON_FULL_SELL_SIGNAL enabled, this closes the position only at or above break-even. It will not realize a loss.

Loss protection

With HFX_USE_PROTECTION enabled, the calculated swing or fallback stop may close below break-even. Without it, the stop is displayed for planning but does not execute.

Protection is especially important to evaluate here because a six-filter bearish signal can arrive well after price first weakens.

News block and cooldown

The news controls manually pause new entries. They do not fetch events and do not interrupt management of an open position.

The strategy waits for open orders to clear and observes HFX_COOLDOWN_MS between live actions.

Good market conditions

Hybrid FX is suited to liquid, directional markets where trend and momentum are already aligned:

  • Price is holding above a rising smoothed LWMA.
  • RSI is moderately bullish rather than extremely stretched.
  • Several momentum histograms are expanding in the same direction.
  • Candle direction is consistent enough for smoothed Heikin Ashi to confirm.

It is less suitable for:

  • Sideways markets where filters alternate between neutral and conflicting.
  • Sudden spikes that make all lagging filters agree near the end of a move.
  • Thin pairs where a relatively small target is consumed by spread.
  • Falling markets when protection is disabled.

The default 15-minute period gives the filters time to align without one-minute noise. Shorter periods generate more state changes; longer periods need more history and usually produce fewer entries.

How to create a Hybrid FX Scalp strategy

  1. Create a new spot strategy in the advanced strategy editor.
  2. Select hybridfxscalp as both buy and sell method.
  3. Begin with the default 15-minute period.
  4. Set both trading-limit fields to the same intended order value.
  5. Confirm the exchange minimum order values and fee setting.
  6. Backtest with the default filter lengths before changing any group.
  7. Test loss protection separately.
  8. Include trending, flat, and reversal periods in the test range.

A practical tuning workflow

Do not tune all three momentum families at once. Work from slow context to fast confirmation:

  1. Set LWMA and Heikin Ashi smoothing for the trend horizon you want.
  2. Adjust RSI level and decide whether a fresh cross is required.
  3. Tune WAE strength to remove weak momentum.
  4. Only then compare PPO and MACD speeds.

If the strategy barely trades, inspect which component stays neutral rather than shortening every length. If it enters too late, reduce smoothing or use shorter momentum lengths one family at a time.

For risk settings, inspect the chart target and stop across many historical entries. Increasing the swing lookback can find a more distant low, widening both risk and the risk/reward target. A larger buffer does the same. Keep the resulting exposure compatible with position size.

Core settings

LabelConfig parameterDefaultDescription
Buy enabledBUY_ENABLEDtrueAllows new entries.
Sell enabledSELL_ENABLEDtrueAllows targets, full-sell signals, and protective stops to execute.
PeriodPERIOD15Candle period in minutes. Every indicator uses candles from this period.
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 HFX_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 HFX_MIN_SELL_VALUE. For USDT-BTC, this value is in USDT.
GainGAIN0.45General target value. Keep the intended cap explicit in HFX_TARGET_PCT.

Order and execution settings

LabelConfig parameterDefaultDescription
HFX trading limitHFX_TRADING_LIMIT100For USDT-BTC, the amount of USDT used for the single entry order.
HFX min order valueHFX_MIN_ORDER_VALUE10Minimum value required to place a buy. For USDT-BTC, this value is in USDT.
HFX min sell valueHFX_MIN_SELL_VALUE10Minimum position value required for a sell. Smaller inventory is treated as dust. For USDT-BTC, this value is in USDT.
HFX cooldown msHFX_COOLDOWN_MS120000Minimum milliseconds between live actions. 120000 is two minutes.
HFX max spread %HFX_MAX_SPREAD_PCT0.12Maximum bid/ask spread as a percentage of midpoint.
HFX max spread absoluteHFX_MAX_SPREAD_ABSOLUTE0Optional maximum spread in pair price units. 0 disables this additional check. For USDT-BTC, this value is in USDT.

RSI and trend settings

LabelConfig parameterDefaultDescription
RSI lengthHFX_RSI_LENGTH14RSI lookback. Shorter values react faster and cross levels more often.
RSI buy levelHFX_RSI_BUY_LEVEL52Minimum bullish RSI level. With cross mode off, RSI must also be flat or rising.
RSI sell levelHFX_RSI_SELL_LEVEL48Maximum bearish RSI level for a full sell signal.
Require RSI crossHFX_REQUIRE_RSI_CROSSfalseRequires a fresh cross of the buy or sell level instead of accepting an already aligned RSI.
LWMA lengthHFX_LWMA_LENGTH21Lookback for the linear weighted trend average.
LWMA smooth lengthHFX_LWMA_SMOOTH_LENGTH5EMA smoothing applied to LWMA. Higher values reduce noise but delay turns.
HA smooth lengthHFX_HA_SMOOTH_LENGTH9Smoothing applied to Heikin Ashi direction. Higher values make color changes slower.

Momentum settings

LabelConfig parameterDefaultDescription
WAE fast lengthHFX_WAE_FAST_LENGTH12Fast EMA length for Waddah-style momentum.
WAE slow lengthHFX_WAE_SLOW_LENGTH26Slow EMA length. Keep it longer than the fast value.
WAE signal lengthHFX_WAE_SIGNAL_LENGTH9Smoothing for the WAE-style signal.
WAE min strength %HFX_WAE_MIN_STRENGTH_PCT0.02Minimum histogram size relative to price. Increase it to reject weaker momentum.
PPO fast lengthHFX_PPO_FAST_LENGTH12Fast EMA length for Percentage Price Oscillator.
PPO slow lengthHFX_PPO_SLOW_LENGTH26Slow PPO EMA length. Keep it longer than fast.
PPO signal lengthHFX_PPO_SIGNAL_LENGTH9PPO signal smoothing.
MACD fast lengthHFX_MACD_FAST_LENGTH12Fast MACD EMA length.
MACD slow lengthHFX_MACD_SLOW_LENGTH26Slow MACD EMA length. Keep it longer than fast.
MACD signal lengthHFX_MACD_SIGNAL_LENGTH9MACD signal-line length.

Swing risk and exit settings

LabelConfig parameterDefaultDescription
Swing lookbackHFX_SWING_LOOKBACK10Number of completed candles searched for the recent swing low. Longer values can produce a wider stop.
Risk rewardHFX_RISK_REWARD1.2Multiplies calculated entry-to-stop risk to form a target before the percentage cap is applied.
Use pipsHFX_USE_PIPSfalseUses a pip buffer below the swing instead of a percentage buffer. It does not replace the percentage target.
Pip sizeHFX_PIP_SIZE0.0001Pair-price value of one pip. For USDT-BTC, this value is in USDT.
Swing buffer pipsHFX_SWING_BUFFER_PIPS5Extra distance below the swing low in pip mode.
Swing buffer %HFX_SWING_BUFFER_PCT0.08Extra percentage distance below the swing low when pip mode is off.
Stop %HFX_STOP_PCT0.75Fallback stop distance below average entry when a usable swing stop is unavailable.
Target %HFX_TARGET_PCT0.5Caps the risk/reward target at this percentage above entry.
Exit on full sell signalHFX_EXIT_ON_FULL_SELL_SIGNALtrueAllows complete bearish filter agreement to sell at or above break-even.
Use loss protectionHFX_USE_PROTECTIONfalseAllows the swing or fallback stop to close below break-even.
Minimum net gain %HFX_MIN_NET_GAIN_PCT0.1Minimum expected gain above fee-adjusted break-even for the normal target.

News and backtesting settings

LabelConfig parameterDefaultDescription
News blockHFX_NEWS_BLOCKfalseManually pauses new entries while enabled.
News block untilHFX_NEWS_BLOCK_UNTIL0Timestamp until which new entries remain blocked.
Backtest sinceBF_SINCE0Optional backtest start boundary.
Backtest untilBF_UNTIL0Optional backtest end boundary.
Deep testingDEEP_TESTINGfalseEnables Gunbot's deeper backtesting mode without changing live signals.

Important limitations

  • All six bullish filters must agree; there is no configurable minimum score.
  • Hybrid FX opens one position and does not DCA.
  • The full bearish signal refuses to sell below break-even.
  • Only enabled loss protection can make a planned loss exit.
  • HFX_TARGET_PCT can cap the target before the requested risk/reward is reached.
  • The news block is manual.

Treat a low trade count as information, not automatically as a problem. This strategy's purpose is to wait for confluence; loosening every filter can turn it into a different and much noisier method.