Skip to content
All projects
Analysis

HDFC Bank — Technical Entry & Swing-Trade Analysis

hdfc-bank-technical-entry-analysis

A single-stock technical study of HDFC Bank: trend, momentum and volatility indicators (SMA 20/50/100/200, MACD, RSI, Bollinger, ATR, Stochastic, OBV) plus Fibonacci retracement levels.

These combine into a transparent additive 0–10 entry score, turned into concrete stop-loss and target levels and an illustrative position-sizing calculation, rendered as an 8-panel technical dashboard.

Fixed in review

  • The original notebook hard-coded a fabricated Q3 FY26 earnings printout — invented net profit, NII, NPA%, "beats estimates", tied to a rolling datetime.now()-1 date regardless of when it was run. Removed entirely and replaced with a genuine statistical observation: the largest actual single-day move in the data, explicitly not attributed to an unverified cause.
  • Three missing f-string prefixes in the trading-plan text.
  • A crash on missing support/resistance levels from applying a numeric format spec to the string 'N/A'.
  • An inconsistent score-to-label branch.
  • Retitled away from "post-earnings", since there is no verified dated catalyst behind it.
Technical analysisEntry scoringFibonacciRisk levels
Next projecthdfc-icici-pairs-trading-analysis