Skip to main content

Brahmos Confluence

Brahmos Confluence strategy behavior

Brahmos Confluence combines moving-average direction, RSI, and either a recent MA cross or a burst of price momentum. Its purpose is to enter only when trend structure and momentum agree.

It can use EMA or SMA calculations, optionally follow a longer trend average, and manage the position with a fixed target, fixed stop, and slow-MA trail.

warning

Protection and trailing are disabled by default. Profitable technical exits remain available, but they do not deliberately close below break-even.

Entry confluence

A buy requires the fast average above the slow average, RSI between the configured buy and overbought levels, and an alert selected by BCS_ALERT_MODE.

The alert modes are:

  • cross: a bullish fast/slow cross occurred within BCS_SIGNAL_LOOKBACK;
  • momentum: price gained at least BCS_MIN_MOMENTUM_PCT across BCS_MOMENTUM_BARS, with fast MA above slow;
  • either: either alert qualifies.

The default either mode is flexible. Use cross for a clearer change-of-state signal or momentum for continuation moves that began before the current lookback.

BCS_MA_TYPE selects EMA or SMA behavior for all three averages. EMAs respond faster; SMAs are steadier but later. BCS_FAST_MA, BCS_SLOW_MA, and BCS_TREND_MA are kept in ascending order.

Enable BCS_REQUIRE_TREND_MA to require price above the trend MA. The strategy holds one position and does not average down.

RSI window

RSI uses BCS_RSI_LENGTH. A buy needs RSI at or above BCS_RSI_BUY_LEVEL but no higher than BCS_RSI_OVERBOUGHT.

This creates a momentum window: raising the buy level rejects weak moves; lowering the overbought ceiling avoids chasing very extended ones.

BCS_RSI_SELL_LEVEL helps define mirrored sell alerts. BCS_RSI_OVERSOLD is exposed as the lower reference for the configured oscillator range, but does not independently trigger a spot entry in the current strategy.

Exits

Enable BCS_USE_TARGET for a target BCS_TARGET_PCT above average buy price. It is adjusted for fees and BCS_MIN_NET_GAIN_PCT.

Enable BCS_USE_PROTECTION for a loss-taking stop BCS_STOP_PCT below average buy price.

Enable BCS_TRAIL_ENABLED to let the stop ratchet behind the slow MA by BCS_TRAIL_BUFFER_PCT. The trail only becomes executable with protection enabled.

Profitable exits can also occur when:

  • BCS_EXIT_ON_SELL_ALERT is enabled and a complete mirrored sell alert appears;
  • BCS_EXIT_ON_RSI_LOSS is enabled and RSI falls below the buy level;
  • fast MA falls below slow MA, which is an always-active profitable trend-loss exit.

Good market conditions

Brahmos Confluence generally suits liquid, directional markets where the fast and slow averages separate cleanly, RSI is strong without being extreme, and either a fresh cross or measurable momentum confirms the move.

It is less suitable for narrow ranges with repeated MA crosses, or late vertical moves where RSI is already beyond the overbought ceiling.

Creating the strategy

Create a spot strategy and select Brahmos Confluence for buying and selling. Start with the default 15-minute period in backtesting or paper trading.

Choose MA type first, then test cross, momentum, and either alert modes. Adjust the RSI window only after you can identify which rejected or accepted entries need changing. Test stops and trailing separately from signal tuning.

Strategy settings

Trading and safeguards

SettingDescription
BUY_ENABLEDEnables entries.
SELL_ENABLEDEnables exits.
PERIODCandle period; default 15 minutes.
TRADING_LIMITCompatibility fallback only. It is ignored while the strategy-specific trading limit contains a positive value. Configure the strategy-specific setting for normal use. For USDT-BTC, this value is in USDT.
BCS_TRADING_LIMITFor USDT-BTC, the amount of USDT used for an entry.
FUNDS_RESERVEFor USDT-BTC, the amount of USDT the bot must leave unused.
KEEP_QUOTEFor USDT-BTC, the amount of BTC the strategy must not sell.
MIN_VOLUME_TO_BUYGeneral minimum buy value. For USDT-BTC, this value is in USDT.
MIN_VOLUME_TO_SELLGeneral minimum sell value. For USDT-BTC, this value is in USDT.
BCS_MIN_ORDER_VALUEStrategy minimum entry value. For USDT-BTC, this value is in USDT.
BCS_MIN_SELL_VALUEStrategy minimum exit value. For USDT-BTC, this value is in USDT.
GAINGeneral gain fallback retained in configuration.
BCS_COOLDOWN_MSDelay between live actions.
BCS_MAX_SPREAD_PCTRelative entry spread ceiling.
BCS_MAX_SPREAD_ABSOLUTEOptional absolute spread ceiling; 0 disables it. For USDT-BTC, this value is in USDT.
BCS_NEWS_BLOCKManually blocks entries.
BCS_NEWS_BLOCK_UNTILBlocks entries until the configured time.

Signal

SettingDescription
BCS_MA_TYPEMoving-average type, normally ema or sma.
BCS_FAST_MAFast MA length.
BCS_SLOW_MASlow MA length.
BCS_TREND_MALong trend MA length.
BCS_REQUIRE_TREND_MARequires price above the trend MA for buys.
BCS_RSI_LENGTHRSI length.
BCS_RSI_BUY_LEVELMinimum RSI for buys.
BCS_RSI_SELL_LEVELMaximum RSI for the mirrored bearish condition.
BCS_RSI_OVERBOUGHTUpper limit of the buy window and bearish-alert reference.
BCS_RSI_OVERSOLDConfigured lower oscillator reference; not an independent entry trigger.
BCS_ALERT_MODEChooses cross, momentum, or either.
BCS_SIGNAL_LOOKBACKCandles for accepting a recent MA cross.
BCS_MOMENTUM_BARSCandles over which momentum is measured.
BCS_MIN_MOMENTUM_PCTMinimum price change for a momentum alert.

Exit and risk

SettingDescription
BCS_EXIT_ON_SELL_ALERTEnables profitable exit on a full bearish alert.
BCS_EXIT_ON_RSI_LOSSEnables profitable exit when RSI loses the buy threshold.
BCS_USE_PROTECTIONActivates the loss-taking stop.
BCS_STOP_PCTFixed stop distance.
BCS_USE_TARGETEnables the fixed target.
BCS_TARGET_PCTTarget distance.
BCS_MIN_NET_GAIN_PCTIntended gain beyond fee break-even.
BCS_TRAIL_ENABLEDRatchets the stop behind the slow MA.
BCS_TRAIL_BUFFER_PCTDistance below the slow MA for that trail.

Backtesting

SettingDescription
BF_SINCEBacktest start.
BF_UNTILBacktest end.
DEEP_TESTINGEnables deeper backtesting.

Practical tuning directions

If entries are sparse, identify whether trend, RSI, or alert mode is responsible before loosening all three. If entries chase extensions, lower the overbought ceiling or use cross mode.

A small trail buffer can be crossed by ordinary interaction with the slow MA. Test it against the normal candle range of the chosen period.

Important limitations

  • MA and momentum alerts can whipsaw in ranges.
  • either mode broadens the strategy and mixes reversal with continuation timing.
  • BCS_RSI_OVERSOLD does not independently control current spot entries.
  • The slow-MA trend-loss exit has no switch and waits for break-even.
  • Trailing has no executable effect unless protection is enabled.
  • News blocking is manual.

Brahmos Confluence is strongest when each component adds distinct evidence. If the MA, RSI, and momentum settings all react to the same short-lived noise, having more filters does not create better confluence.