Brahmos Confluence

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 withinBCS_SIGNAL_LOOKBACK;momentum: price gained at leastBCS_MIN_MOMENTUM_PCTacrossBCS_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_ALERTis enabled and a complete mirrored sell alert appears;BCS_EXIT_ON_RSI_LOSSis 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
| Setting | Description |
|---|---|
BUY_ENABLED | Enables entries. |
SELL_ENABLED | Enables exits. |
PERIOD | Candle period; default 15 minutes. |
TRADING_LIMIT | Compatibility 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_LIMIT | For USDT-BTC, the amount of USDT used for an entry. |
FUNDS_RESERVE | For USDT-BTC, the amount of USDT the bot must leave unused. |
KEEP_QUOTE | For USDT-BTC, the amount of BTC the strategy must not sell. |
MIN_VOLUME_TO_BUY | General minimum buy value. For USDT-BTC, this value is in USDT. |
MIN_VOLUME_TO_SELL | General minimum sell value. For USDT-BTC, this value is in USDT. |
BCS_MIN_ORDER_VALUE | Strategy minimum entry value. For USDT-BTC, this value is in USDT. |
BCS_MIN_SELL_VALUE | Strategy minimum exit value. For USDT-BTC, this value is in USDT. |
GAIN | General gain fallback retained in configuration. |
BCS_COOLDOWN_MS | Delay between live actions. |
BCS_MAX_SPREAD_PCT | Relative entry spread ceiling. |
BCS_MAX_SPREAD_ABSOLUTE | Optional absolute spread ceiling; 0 disables it. For USDT-BTC, this value is in USDT. |
BCS_NEWS_BLOCK | Manually blocks entries. |
BCS_NEWS_BLOCK_UNTIL | Blocks entries until the configured time. |
Signal
| Setting | Description |
|---|---|
BCS_MA_TYPE | Moving-average type, normally ema or sma. |
BCS_FAST_MA | Fast MA length. |
BCS_SLOW_MA | Slow MA length. |
BCS_TREND_MA | Long trend MA length. |
BCS_REQUIRE_TREND_MA | Requires price above the trend MA for buys. |
BCS_RSI_LENGTH | RSI length. |
BCS_RSI_BUY_LEVEL | Minimum RSI for buys. |
BCS_RSI_SELL_LEVEL | Maximum RSI for the mirrored bearish condition. |
BCS_RSI_OVERBOUGHT | Upper limit of the buy window and bearish-alert reference. |
BCS_RSI_OVERSOLD | Configured lower oscillator reference; not an independent entry trigger. |
BCS_ALERT_MODE | Chooses cross, momentum, or either. |
BCS_SIGNAL_LOOKBACK | Candles for accepting a recent MA cross. |
BCS_MOMENTUM_BARS | Candles over which momentum is measured. |
BCS_MIN_MOMENTUM_PCT | Minimum price change for a momentum alert. |
Exit and risk
| Setting | Description |
|---|---|
BCS_EXIT_ON_SELL_ALERT | Enables profitable exit on a full bearish alert. |
BCS_EXIT_ON_RSI_LOSS | Enables profitable exit when RSI loses the buy threshold. |
BCS_USE_PROTECTION | Activates the loss-taking stop. |
BCS_STOP_PCT | Fixed stop distance. |
BCS_USE_TARGET | Enables the fixed target. |
BCS_TARGET_PCT | Target distance. |
BCS_MIN_NET_GAIN_PCT | Intended gain beyond fee break-even. |
BCS_TRAIL_ENABLED | Ratchets the stop behind the slow MA. |
BCS_TRAIL_BUFFER_PCT | Distance below the slow MA for that trail. |
Backtesting
| Setting | Description |
|---|---|
BF_SINCE | Backtest start. |
BF_UNTIL | Backtest end. |
DEEP_TESTING | Enables 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.
eithermode broadens the strategy and mixes reversal with continuation timing.BCS_RSI_OVERSOLDdoes 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.