Auto Trade (Option Only)ON = buy_ce/buy_pe buy options. OFF = signals ignored.
When a TradingView webhook sends {"action":"buy_ce"} or {"action":"buy_pe"}, the bot uses these settings to auto-select ATM strike, quantity, and exit conditions for each leg independently.
๐ข CE Leg (Buy CE alerts)
Enable CE leg
๐ด PE Leg (Buy PE alerts)
Enable PE leg
TradingView Webhook Setup
Webhook URL:
Alert Messages โ send one of these from TradingView:
{"action":"buy_ce"} โ buy CE (Call) {"action":"buy_pe"} โ buy PE (Put) {"action":"sell_ce"} โ sell/exit CE {"action":"sell_pe"} โ sell/exit PE {"action":"BUY"} โ uses default leg (CE)
๐ Strategy Engine
Pick a strategy, adjust parameters, enable. Only one strategy runs at a time. Strategy code is saved internally โ not shown.
Last Signal: โโ
Recent Signals:
Live Signal Log โ Open/Close (auto-refresh 5s)
No signals yet. Enable strategy engine to see live OPEN/CLOSE signals.
Runs the selected strategy over historical candles and shows entry, exit, and P&L in points.
๐ NIFTY 50 Futures Hedge
Futures Hedge ModeON = buy_ce/buy_pe trade futures+option hedge. OFF = uses Auto Trade instead.
Configure futures + option hedge strategy. Option is bought only for margin benefit โ profit comes from futures.
How it works
๐ข buy_ce โ BUY futures + BUY OTM PE (bullish, PE = hedge for margin benefit)
๐ด sell_ce โ SELL futures ONLY (option stays for manual exit from Positions)
๐ข buy_pe โ SELL futures + BUY OTM CE (bearish, CE = hedge for margin benefit)
๐ด sell_pe โ BUY BACK futures ONLY (option stays for manual exit from Positions)
Profit comes from futures. Option is only for margin benefit โ exit it manually from Positions tab.
Lot Selection
Both futures and option use the same lot count. Higher lots = more margin needed.
Option Strike Selection
NIFTY strike interval = 50pts. Offset 3 = 150pts away from ATM. Lower offset = more protection but costlier option. Higher offset = cheaper option, less protection. You can also override per-signal: {"action":"buy_ce","strike_offset":4}
Webhook Alert Messages
{"action":"buy_ce"} โ bullish: BUY futures + BUY OTM PE {"action":"sell_ce"} โ exit: SELL futures ONLY {"action":"buy_pe"} โ bearish: SELL futures + BUY OTM CE {"action":"sell_pe"} โ exit: BUY BACK futures ONLY
With custom strike offset: {"action":"buy_ce","strike_offset":4} {"action":"buy_pe","strike_offset":3}