Fifteen trading models — from capital-protecting trend systems to account-destroying loss-recovery schemes — each wired to TradingView alerts and executable on Delta Exchange India through the BrainX bridge.
Double the trade size after every loss, so a single win recovers all prior losses plus a small profit.
max_step cap is the circuit breaker that stops the doubling.{"token":"YOUR_TOKEN","strategy":"martingale","action":"entry","symbol":"BTCUSD","side":"buy"}
// on each closed trade, send result so the streak + kill switch update:
{"token":"YOUR_TOKEN","strategy":"martingale","action":"close","symbol":"BTCUSD","pnl":-100}
The opposite of Martingale: increase size after wins, cut size after losses.
{"token":"YOUR_TOKEN","strategy":"anti_martingale","action":"entry","symbol":"BTCUSD","side":"buy"}
{"token":"YOUR_TOKEN","strategy":"anti_martingale","action":"close","symbol":"BTCUSD","pnl":800}
Place buy/sell orders at fixed price intervals; take profit automatically as price rebounds between levels.
max_step caps the number of rungs.{"token":"YOUR_TOKEN","strategy":"grid","action":"entry","symbol":"BTCUSD","side":"buy","order_type":"limit_order","limit_price":"95000"}
Invest a fixed amount on a regular schedule regardless of price.
{"token":"YOUR_TOKEN","strategy":"dca","action":"entry","symbol":"BTCUSD","side":"buy","size":1}
Add to a position as price falls, lowering the average entry.
max_step limits the number of adds.{"token":"YOUR_TOKEN","strategy":"averaging_down","action":"entry","symbol":"BTCUSD","side":"buy"}
Very short-term trading to take many small profits.
{"token":"YOUR_TOKEN","strategy":"scalp","action":"entry","symbol":"BTCUSD","side":"buy"}
Hold trades for days or weeks to capture medium-size moves.
{"token":"YOUR_TOKEN","strategy":"swing","action":"entry","symbol":"BTCUSD","side":"buy"}
Trade in the direction of the prevailing market trend — “the trend is your friend.” Buy in uptrends, sell in downtrends.
{"token":"YOUR_TOKEN","strategy":"trend","action":"entry","symbol":"BTCUSD","side":"buy"}
Assumes price returns to its average. When BTC strays too far from the mean, a pullback is expected.
{"token":"YOUR_TOKEN","strategy":"mean_reversion","action":"entry","symbol":"BTCUSD","side":"sell"}
Open opposite trades to neutralise risk — e.g. long BTC spot while short BTC futures — to protect against sudden moves.
{"token":"YOUR_TOKEN","strategy":"hedge","action":"entry","symbol":"BTCUSD","side":"sell"}
Profit from the same asset pricing differently across exchanges — buy where it is cheaper, sell where it is dearer.
Trade when price breaks an important level — BTC clears resistance → buy. Works best in high volatility.
{"token":"YOUR_TOKEN","strategy":"breakout","action":"entry","symbol":"BTCUSD","side":"buy"}
Wait for high-probability, precise entries — low risk, high reward.
{"token":"YOUR_TOKEN","strategy":"sniper","action":"entry","symbol":"BTCUSD","side":"buy"}
Add positions to a trade that is already winning to maximise strong trends — buy 1 lot, price rises, add another.
mult < 1); the bridge stops after max_step adds.{"token":"YOUR_TOKEN","strategy":"pyramid","action":"entry","symbol":"BTCUSD","side":"buy"}
A combination model: increase size on wins, reduce risk on losses, and compound profits while a trend runs.
max_step) and resets to base after any loss.{"token":"YOUR_TOKEN","strategy":"reverse_pyramid","action":"entry","symbol":"BTCUSD","side":"buy"}
{"token":"YOUR_TOKEN","strategy":"reverse_pyramid","action":"close","symbol":"BTCUSD","pnl":450}
A single PHP endpoint receives your alerts, applies the strategy’s sizing model, resolves the live product ID, and places the signed order on Delta Exchange India.
alert()→
Webhook POST→
exec.php→
sizing + caps→
signed /v2/orders→
Delta India
Endpoint: https://brainxalgo.com/brainx-strategies/strategy-exec/exec.php — paste this as the Webhook URL in the TradingView alert dialog, and one of the JSON payloads above as the Message.
brainx-strategies/ module into public_html; keep Delta keys in the web-blocked secrets.php.WEBHOOK_TOKEN in config.php.LIVE → false; fire a test alert; confirm side/size in state/exec.log.on → true); tune base, mult, max_step.close (or flat) alert with realised pnl — the streak engine and the DAILY_LOSS_KILL switch depend on it.LIVE → true only when the dry-run log is correct. Start with the smallest base and lowest max_step.