Spot
—
Sensex Desk
—
—
FLAT
—
Manual square-off exits the running trade only. The next TradingView alert can enter again. Day square-off exits the trade and blocks new entries until the next session.
Next TV buy/sell uses this many lots. An open trade keeps its current size. Exchange contract size stays 20.
Usual weekly expiry is Thursday. If Thursday is a holiday, BSE prepones to Wednesday, or Tuesday / Monday for a long weekend. Set the day here. Expiry-day trail (wider ATR, +40 arm) follows this date.
If yesterday’s last 3m call_buy / call_sell was buy or sell, at 09:15 the desk enters that side. A same-day TV alert still wins and can reverse.
Entries come only from TradingView 3-minute call_buy / call_sell on this desk’s /alert/<account>. The desk does not compute UT Bot locally and does not wait for SuperTrend. A signal waits 10 seconds, then enters or reverses. Trail is ATR 14×1.8 on 3m. On expiry day the trail is wider (ATR×3.0) and only starts after the premium is up 40 points. No point-profit cap. Flatten at 15:15. Live stays off until that account’s flags are on.
BSE:SENSEX, interval 3 minutes.call_buy and call_sell./alert/primarycall_buy or call_sell. Do not put the secret in the message.TV_WEBHOOK_SECRET is set, add ?secret=… to the URL. Leave Fyers webhook details blank.TradingView cannot hit localhost. Point the public HTTPS URL (VPS or tunnel) at the same path. Postman can use the local URL below.
FYERS_REDIRECT_URI.python -m sensex_strategy.fyers_loginFYERS_LIVE_ORDERS=1 and broker.live_orders: true, then restart.DHAN_CLIENT_ID and DHAN_ACCESS_TOKEN in .env.broker.name: dhan, DHAN_LIVE_ORDERS=1.securityId mapping is not live yet. Connection check works now.Same control as Overview. Applies to the selected account only.