Charcha Live
EXAM ALERTCBSE, NTA JEE/NEET & SSC Latest UpdatesLive•
VIRAL TRENDTop Trending Instagram Reels & X Hashtags TodayTrending•
POLITICSNational Policy, Parliament & State Breaking NewsNational•
EXAM ALERTCBSE, NTA JEE/NEET & SSC Latest UpdatesLive•
VIRAL TRENDTop Trending Instagram Reels & X Hashtags TodayTrending•
POLITICSNational Policy, Parliament & State Breaking NewsNational•
ApniCharcha.com
🔥 Viral & Reels🎓 Exams & Jobs📈 Share Market💰 IPO GMP🏛️ Politics📰 Current Affairs
Home/Knowledge Hub/Algo Trading
Pillar Guides & Explainer Library

Apni Charcha Evergreen Knowledge Hub

Authoritative, step-by-step explainers covering Share Market Indicators, Candlestick Patterns, Financial Ratios, Trading Formulas, Algo Trading, and Indian Financial Literacy.

📚
Library Depth
1605 Comprehensive Guides
✍️
Author Authority
Editorial Contributors
📈
Coverage
Indicators, Formulas & Algo
⚡
Fact-Checking
NSE, BSE & SEBI Standards
Educational Purpose Only: All indicators, formulas, candlestick patterns, and intraday/swing/F&O/investment strategies in the Knowledge Hub are for educational and informational purposes only—not a stock recommendation or guarantee of trading returns. Read Full Legal & SEBI Disclaimer →
Slippage Modeling in Backtests: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 10 min read
📅 3 Nov•Updated 15h ago

Slippage Modeling in Backtests: Formula, Strategy, Examples & Risk Rules

Slippage Modeling in Backtests explained for Indian share market traders and investors: exact formula (Effective Fill = Theoretical Price +/- (Half Spread + Impact Cost)), parameters (0.03%–0.10% per side), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Effective Fill = Theoretical Price +/- (Half Spread + Impact Cost)
•Standard Parameters: 0.03%–0.10% per side
Liquidity-Seeking Dark/Auction Algo: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 5 min read
📅 26 Oct•Updated 15h ago

Liquidity-Seeking Dark/Auction Algo: Formula, Strategy, Examples & Risk Rules

Liquidity-Seeking Dark/Auction Algo explained for Indian share market traders and investors: exact formula (Targets NSE Pre-Open (09:00–09:08) and Post-Close (15:40–16:00) sessions), parameters (Zero impact), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Targets NSE Pre-Open (09:00–09:08) and Post-Close (15:40–16:00) sessions
•Standard Parameters: Zero impact
Option Chain Open Interest Scraper & Analyzer: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 9 min read
📅 8 Nov•Updated 15 Nov

Option Chain Open Interest Scraper & Analyzer: Formula, Strategy, Examples & Risk Rules

Option Chain Open Interest Scraper & Analyzer explained for Indian share market traders and investors: exact formula (Polls live strike-wise OI, Change in OI, and IV every 1–3 minutes), parameters (Nifty / BankNifty), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Polls live strike-wise OI, Change in OI, and IV every 1–3 minutes
•Standard Parameters: Nifty / BankNifty
Cover Order (CO) Mechanics: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 9 min read
📅 1 Oct•Updated 1 Nov

Cover Order (CO) Mechanics: Formula, Strategy, Examples & Risk Rules

Cover Order explained for Indian share market traders and investors: exact formula (Market/Limit Entry paired with mandatory Stop-Loss order), parameters (2-leg risk-capped), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Market/Limit Entry paired with mandatory Stop-Loss order
•Standard Parameters: 2-leg risk-capped
Overnight vs Intraday Return Decomposition: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 10 min read
📅 23 Sept•Updated 22 Oct

Overnight vs Intraday Return Decomposition: Formula, Strategy, Examples & Risk Rules

Overnight vs Intraday Return Decomposition explained for Indian share market traders and investors: exact formula (Overnight = Open_t / Close_{t-1} - 1; Intraday = Close_t / Open_t - 1), parameters (Gap vs Session), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Overnight = Open_t / Close_{t-1} - 1; Intraday = Close_t / Open_t - 1
•Standard Parameters: Gap vs Session
Pine Script v5 Strategy Automation: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 7 min read
📅 14 Oct•Updated 22 Oct

Pine Script v5 Strategy Automation: Formula, Strategy, Examples & Risk Rules

Pine Script v5 Strategy Automation explained for Indian share market traders and investors: exact formula (TradingView alerts -> Webhook JSON -> Bridge -> Broker API), parameters (No-server scripting), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: TradingView alerts -> Webhook JSON -> Bridge -> Broker API
•Standard Parameters: No-server scripting
Synthetic Short & Long Futures Construction: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 8 min read
📅 6 Oct•Updated 12 Oct

Synthetic Short & Long Futures Construction: Formula, Strategy, Examples & Risk Rules

Synthetic Short & Long Futures Construction explained for Indian share market traders and investors: exact formula (Synthetic Long = +ATM CE - ATM PE; Synthetic Short = -ATM CE + ATM PE), parameters (Margin / Arbitrage), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Synthetic Long = +ATM CE - ATM PE; Synthetic Short = -ATM CE + ATM PE
•Standard Parameters: Margin / Arbitrage
Bracket Order (BO) Automation: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 8 min read
📅 29 Aug•Updated 28 Sept

Bracket Order (BO) Automation: Formula, Strategy, Examples & Risk Rules

Bracket Order explained for Indian share market traders and investors: exact formula (Entry Order + OCO (One-Cancels-Other) Target Limit + Stop-Loss), parameters (3-leg automated bracket), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Entry Order + OCO (One-Cancels-Other) Target Limit + Stop-Loss
•Standard Parameters: 3-leg automated bracket
Intraday Momentum Factor (Last-Hour Effect): Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 9 min read
📅 21 Aug•Updated 18 Sept

Intraday Momentum Factor (Last-Hour Effect): Formula, Strategy, Examples & Risk Rules

Intraday Momentum Factor explained for Indian share market traders and investors: exact formula (Trades continuation/reversal between 14:30–15:25 IST based on institutional flow), parameters (India market timing), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Trades continuation/reversal between 14:30–15:25 IST based on institutional flow
•Standard Parameters: India market timing
Vectorized vs Event-Driven Backtesting: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 6 min read
📅 11 Sept•Updated 18 Sept

Vectorized vs Event-Driven Backtesting: Formula, Strategy, Examples & Risk Rules

Vectorized vs Event-Driven Backtesting explained for Indian share market traders and investors: exact formula (Vectorized (NumPy/VectorBT) for speed; Event-driven (Backtrader) for realism), parameters (Hybrid workflow), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Vectorized (NumPy/VectorBT) for speed; Event-driven (Backtrader) for realism
•Standard Parameters: Hybrid workflow
Drawdown Stop & Strategy Retirement Rule: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 7 min read
📅 3 Sept•Updated 8 Sept

Drawdown Stop & Strategy Retirement Rule: Formula, Strategy, Examples & Risk Rules

Drawdown Stop & Strategy Retirement Rule explained for Indian share market traders and investors: exact formula (Halt strategy if live MDD > 1.5x Monte Carlo 95% MDD), parameters (Alpha decay guard), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Halt strategy if live MDD > 1.5x Monte Carlo 95% MDD
•Standard Parameters: Alpha decay guard
Smart Order Routing (SOR): Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 7 min read
📅 27 Jul•Updated 25 Aug

Smart Order Routing (SOR): Formula, Strategy, Examples & Risk Rules

Smart Order Routing explained for Indian share market traders and investors: exact formula (Routes order dynamically across NSE and BSE for best price + liquidity), parameters (Multi-exchange), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Routes order dynamically across NSE and BSE for best price + liquidity
•Standard Parameters: Multi-exchange
Iron Condor Automated Adjustment Engine: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 8 min read
📅 19 Jul•Updated 15 Aug

Iron Condor Automated Adjustment Engine: Formula, Strategy, Examples & Risk Rules

Iron Condor Automated Adjustment Engine explained for Indian share market traders and investors: exact formula (Roll untested side closer when tested Delta breaches 0.30–0.35), parameters (Delta-managed), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Roll untested side closer when tested Delta breaches 0.30–0.35
•Standard Parameters: Delta-managed
Tick Data vs OHLCV Resampling: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 5 min read
📅 9 Aug•Updated 15 Aug

Tick Data vs OHLCV Resampling: Formula, Strategy, Examples & Risk Rules

Tick Data vs OHLCV Resampling explained for Indian share market traders and investors: exact formula (Aggregate raw L1 ticks (timestamp, LTP, qty) into 1m/5m/15m OHLCV bars), parameters (Pandas / Polars), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Aggregate raw L1 ticks (timestamp, LTP, qty) into 1m/5m/15m OHLCV bars
•Standard Parameters: Pandas / Polars
Margin Call & Leverage Guardrail: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 6 min read
📅 1 Aug•Updated 5 Aug

Margin Call & Leverage Guardrail: Formula, Strategy, Examples & Risk Rules

Margin Call & Leverage Guardrail explained for Indian share market traders and investors: exact formula (Keep >= 25–35% free cash buffer above SPAN + Exposure margin), parameters (Survival rule), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Keep >= 25–35% free cash buffer above SPAN + Exposure margin
•Standard Parameters: Survival rule
Supertrend + ADX Trend-Filter System: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 7 min read
📅 13 Jun•Updated 27 Jul

Supertrend + ADX Trend-Filter System: Formula, Strategy, Examples & Risk Rules

Supertrend + ADX Trend-Filter System explained for Indian share market traders and investors: exact formula (Enter Supertrend(10,3) flip ONLY when ADX(14) > 22 and rising), parameters (15-min / 1H), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Enter Supertrend(10,3) flip ONLY when ADX(14) > 22 and rising
•Standard Parameters: 15-min / 1H
Iceberg Order Slicing: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 6 min read
📅 24 Jun•Updated 22 Jul

Iceberg Order Slicing: Formula, Strategy, Examples & Risk Rules

Iceberg Order Slicing explained for Indian share market traders and investors: exact formula (Displays small Disclosed Qty (e.g. 10%) while hiding full parent order), parameters (NSE/BSE native support), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Displays small Disclosed Qty (e.g. 10%) while hiding full parent order
•Standard Parameters: NSE/BSE native support
Gamma Scalping Strategy: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 10 min read
📅 27 May•Updated 13 Jul

Gamma Scalping Strategy: Formula, Strategy, Examples & Risk Rules

Gamma Scalping Strategy explained for Indian share market traders and investors: exact formula (Buy ATM Straddle + Dynamically delta-hedge with Futures on swings), parameters (Long Gamma), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Buy ATM Straddle + Dynamically delta-hedge with Futures on swings
•Standard Parameters: Long Gamma
Cross-Expiry Calendar Spread Algo: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 7 min read
📅 16 Jun•Updated 12 Jul

Cross-Expiry Calendar Spread Algo: Formula, Strategy, Examples & Risk Rules

Cross-Expiry Calendar Spread Algo explained for Indian share market traders and investors: exact formula (Sell near-week ATM option + Buy next-week/monthly ATM option), parameters (Positive Vega + Theta), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Sell near-week ATM option + Buy next-week/monthly ATM option
•Standard Parameters: Positive Vega + Theta
Kill Switch & Circuit Breaker Design: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 10 min read
📅 7 Jul•Updated 12 Jul

Kill Switch & Circuit Breaker Design: Formula, Strategy, Examples & Risk Rules

Kill Switch & Circuit Breaker Design explained for Indian share market traders and investors: exact formula (Auto-halt + square-off if Daily Loss > Max ₹, Slippage > Threshold, or API errors), parameters (Mandatory safety), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Auto-halt + square-off if Daily Loss > Max ₹, Slippage > Threshold, or API errors
•Standard Parameters: Mandatory safety
Auto-Rollover & Expiry Transition Bot: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 5 min read
📅 29 Jun•Updated 2 Jul

Auto-Rollover & Expiry Transition Bot: Formula, Strategy, Examples & Risk Rules

Auto-Rollover & Expiry Transition Bot explained for Indian share market traders and investors: exact formula (Closes expiring monthly futures at T-1 and opens next-month contract), parameters (Basis-aware), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Closes expiring monthly futures at T-1 and opens next-month contract
•Standard Parameters: Basis-aware
Percentage of Volume (POV) Algo: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 5 min read
📅 22 May•Updated 18 Jun

Percentage of Volume (POV) Algo: Formula, Strategy, Examples & Risk Rules

Percentage of Volume explained for Indian share market traders and investors: exact formula (Order Rate = Target Participation % * Real-Time Market Volume), parameters (e.g. 5%–15% POV), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Order Rate = Target Participation % * Real-Time Market Volume
•Standard Parameters: e.g. 5%–15% POV
Dispersion Trading (Index vs Constituents): Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 9 min read
📅 24 Apr•Updated 9 Jun

Dispersion Trading (Index vs Constituents): Formula, Strategy, Examples & Risk Rules

Dispersion Trading explained for Indian share market traders and investors: exact formula (Short Index Volatility (Nifty) + Long Constituent Stock Volatility), parameters (Correlation trade), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Short Index Volatility (Nifty) + Long Constituent Stock Volatility
•Standard Parameters: Correlation trade
Synthetic Option Pricing & Arbitrage Scanner: Formula, Strategy, Examples & Risk Rules
Algo Trading
⏱️ 6 min read
📅 14 May•Updated 8 Jun

Synthetic Option Pricing & Arbitrage Scanner: Formula, Strategy, Examples & Risk Rules

Synthetic Option Pricing & Arbitrage Scanner explained for Indian share market traders and investors: exact formula (Continuously scans Put-Call Parity & Box Spreads for mispricing > costs), parameters (Sub-second scan), NSE/BSE examples, and common mistakes.

📌 Key Points:
•Formula / Rule: Continuously scans Put-Call Parity & Box Spreads for mispricing > costs
•Standard Parameters: Sub-second scan
🧮

Need to calculate numbers for your financial plan?

Try our 8 client-side financial and utility calculators: SIP with Step-Up, SWP pension simulation, Home Loan EMI, FD quarterly compounding, and Indian Land Unit converters.

Algo Trading Guides & Explainers | Apni Charcha | ApniCharcha.com