MATHEMATICAL SPECIFICATION · DASHBOARD TELEMETRY REFERENCE

Signal & Telemetry Reference

Every telemetry chip, probability score, and risk badge on the ExcelAlgoTrader terminal corresponds to an explicit quantitative formula. This reference documents how each parameter is measured, calculated, and weighted in real time.

17 Core Signals & Risk Gates Live Sub-Second Telemetry Multi-Segment Parameters
SECTION 01

Option Chain & Open Interest Dynamics

01 · Proximity-Weighted OI Resistance & Support Walls

Probability Baseline

Evaluates Open Interest across the active ATM ±5 strike window (11 total strikes). Rather than treating all strikes equally, each strike's OI is weighted inversely proportional to its absolute distance from the underlying spot price:

Strike_Weight = 1.0 / (1.0 + |Strike − Spot| / Strike_Interval)
Weighted_CE_OI = ∑ [ CE_OI(i) × Strike_Weight(i) ]
Weighted_PE_OI = ∑ [ PE_OI(i) × Strike_Weight(i) ]

Peak weighted CALL OI designates intraday overhead resistance; peak weighted PUT OI designates intraday floor support.

02 · Fresh OI Build-Up vs. Unwinding Dynamics

Momentum Modifier

Total Open Interest indicates historical positioning, but intraday OI change reveals live institutional capital deployment. The engine compares fresh CALL writing vs. CALL unwinding against fresh PUT writing vs. PUT unwinding:

OI_Change_Ratio = (PE_OI_Change − CE_OI_Change) / Max(1, PE_OI_Change + CE_OI_Change)
Clamped_Ratio = Max(-0.5, Min(0.5, OI_Change_Ratio)) [Default Clamp: ±0.50]

Aggressive fresh PUT writing with CALL short-covering applies a positive upside nudge (up to +15.0%); heavy CALL writing with PUT unwinding penalizes the upside score.

03 · Proximity-Weighted Put-Call Ratio (PCR)

Directional Vote

Calculates proximity-weighted Put OI divided by proximity-weighted Call OI across the active 11 strikes. The engine uses a calibrated neutral center of 0.15:

  • BULLISH Vote: Weighted PCR ≥ 1.15 (Puts heavily outweigh Calls around ATM)
  • BEARISH Vote: Weighted PCR ≤ 0.85 (Calls heavily outweigh Puts around ATM)
  • NEUTRAL: 0.86 – 1.14 (Balanced positioning; no directional vote cast)

04 · ATM Strike Net OI Shift

Tactical Nudge

Isolates the single strike closest to the active spot price. A sudden surge in Put writing at the ATM strike indicates aggressive floor defense by institutional writers, while Call writing at ATM indicates an immediate intraday ceiling:

ATM_OI_Ratio = (ATM_PE_OI_Change − ATM_CE_OI_Change) / Max(1, ATM_Total_OI)
Trigger Threshold: |ATM_OI_Ratio| ≥ 0.10 (10% shift)
SECTION 02

Price Action & Intraday Micro-Structure

05 · Session VWAP Bias

Trend Alignment

Calculates the true Volume-Weighted Average Price of the active session. If the underlying spot price is trading sustainably above VWAP, buyers maintain intraday control (BULLISH); if trading below VWAP, sellers dominate (BEARISH). Option buying in the direction of VWAP significantly increases delta velocity.

06 · 15-Minute Opening Range Breakout (ORB)

Breakout Confirmation (+15%)

Locks the high and low recorded during the initial opening window (configurable orb_minutes, default 15 minutes: 09:15–09:30 IST). A clean breakout above the ORB High applies a +15.0% upward boost; a breakdown below ORB Low applies a −15.0% downward adjustment.

07 · Central Pivot Range (CPR) Width

Volatility Confidence Gauge

Evaluates prior-session High, Low, and Close to compute the Central Pivot, Top Central (TC), and Bottom Central (BC) lines. A narrow CPR width (< 0.25% of spot) indicates price compression on the prior day and strongly correlates with explosive, trending expansion days suitable for option buyers.

08 · Opening Gap & Large-Gap Detector

Straddle Qualifier

Measures the distance between today’s open and yesterday’s close against the historical average daily range. When Gap > 1.0 × Avg_Range, the engine unlocks the BOTH (Long Straddle) setup if blended volatility confirms that expected continuation or mean reversion will cover combined CE+PE premiums.

09 · Momentum Exhaustion Band

Chasing Prevention Gate

Prevents retail traders from entering at the highs or lows of exhausted moves. The engine tracks the fraction of today’s statistically expected range already traveled:

Consumed_Fraction = |Current_Spot − Session_Open| / Expected_Move
Allowed Trading Window: 0.25 ≤ Consumed_Fraction ≤ 0.65

If more than 65% of the day’s expected move is already consumed, new breakout entries are penalized to protect against mean-reversion traps.

SECTION 03

Volatility Modeling & Profitability Gates

10 · India VIX Implied Daily Move

Implied Volatility

Converts the annualized India VIX quote (or commodity IV proxy) into a single-day 1-sigma expected move in index points:

Daily_VIX_Move_Points = Spot × (India_VIX / 100.0) / √252

11 · Historical 15-Day Open-to-Close Range

Empirical Baseline

Backfills 15 days of 1-minute and daily candle data (range_lookback_days = 15) to compute the actual realized intraday movement from open to close. Provides an empirical reality check when implied volatility is either artificially suppressed or distorted.

12 · Profitability Gate (1.15x Breakeven Factor)

Hard Trade Veto

Blends the VIX move and historical move 50/50, and requires that remaining intraday travel exceeds live option premium by at least 1.15x:

Blended_Move = 0.50 × Daily_VIX_Move + 0.50 × Hist_15D_Avg_Range
Breakeven_Requirement = ATM_Premium × 1.15
If Blended_Move < Breakeven_Requirement → Trade Vetoed (NO_TRADE)
SECTION 04

Multi-Asset AI Context Engine

13 · Segment-Aware AI Macro Prompts

Gemini 2.5 / Claude Sonnet

The AI engine automatically detects the active instrument symbol and contextualizes its prompt:

  • Index Options (NIFTY/BANKNIFTY/SENSEX): Researches US close (Dow/S&P/Nasdaq), Asian morning trend (GIFT Nifty, Nikkei), Brent crude, USD/INR currency trends, and scheduled RBI policy decisions.
  • F&O Stock Options: Evaluates earnings release dates, sectoral indices (Bank, IT, Auto), delivery volume trends, and institutional bulk deals.
  • MCX Commodities (Crude Oil / NatGas): Analyzes OPEC+ quotas, EIA inventory reports, US refinery utilization, and global geopolitical tension.

14 · Bounded Influence & Defensive Fallback

Deterministic Safety

AI cannot override mathematical risk gates or reverse an established technical decision on its own. Its influence is mathematically bounded to a maximum of ±10.0%. If the LLM API times out, fails, or returns malformed text, the engine logs the failure and gracefully defaults to NEUTRAL (0.0% nudge) without disrupting execution.

SECTION 05

Execution Guards & Circuit Breakers

15 · VIX Dynamic Lot Sizing

Capital Protection

When India VIX exceeds your high-volatility threshold (default 18.0), options premium prices rise steeply and point swings widen. The engine automatically reduces base lot size (default 0.5x multiplier) so that your absolute rupee risk per trade remains balanced.

16 · Daily Loss Circuit Breaker

Account Circuit Breaker

If cumulative realized plus unrealized losses hit your daily threshold (default −¥5,000), the engine immediately squares off any open legs and enters a locked state for the remainder of the session, completely eliminating revenge trading.

17 · Trailing Stop-Loss & 15:15 IST Force Exit

Deterministic Exit

As premium expands in your favor, the stop-loss trails upward tick-by-tick. At 15:15 IST, any remaining open intraday trade is forcibly squared off at market price before broker RMS auto-square-off charges apply.

Configurable Strategy Parameters & Recommended Defaults

All parameters can be tuned in the Trading Terminal's Settings Drawer → Advanced Strategy & AI:

Setting Key Default Value Parametric Scope Functional Purpose
profit_margin_factor 1.15 Multiplier (× Premium) Safety margin required over live ATM option premium breakeven.
momentum_min_fraction 0.25 0.0 – 1.0 Minimum session move required to confirm trend momentum.
momentum_max_fraction 0.65 0.0 – 1.0 Maximum range consumed before penalizing late entries.
oi_change_clamp 0.50 Max ±% Limits fresh intraday OI distortion on low-liquidity strikes.
orb_minutes 15 Minutes (e.g. 15 / 30) Opening Range Breakout evaluation window duration.
pcr_threshold 0.15 Band around 1.0 Defines the neutral PCR zone (0.85 – 1.15).
atm_oi_change_threshold 0.10 Ratio (10%) Minimum net OI surge required at the ATM strike to trigger signal.
range_lookback_days 15 Days Historical candle sample size for empirical open-to-close range.
gap_threshold_factor 1.00 × Avg Range Opening gap size required to trigger the Large Gap detector.
⭐ REAL-TIME TELEMETRY & LIVE AUTOMATION

Ready to trade these quant signals automatically?

Connect Zerodha Kite or Alice Blue for sub-second execution, autonomous background scanning, and real-time Telegram alerts.