CSCheatsheets
Open Varsity · Beginner

Technical Analysis (Open Varsity)

Charts, Dow theory, trends, support and resistance, breakouts and Fibonacci, candle and chart patterns, gaps, every major indicator with 16 years of NSE backtest results, combining indicators, top-down timeframes, systems, position sizing and discipline.

8sections
58cards
8diagrams
0%known

00Technical analysis (Open Varsity): atlas and routes

The course on one screen: reading charts, trend and levels, candle and chart patterns, indicators with 16 years of NSE backtest numbers, and turning analysis into a risk-managed process. Condensed from OpenAlgo's free Open Varsity course. Educational, not investment advice.

How to use this sheet#

  1. Start: charts and structure first; every pattern and indicator is a summary of price and volume.
  2. Check every signal against the baseline: the course's NSE study puts the average Nifty 50 stock's drift at about +1.48% per 20 trading days. A signal that can't beat that has no edge.
  3. Before a trade: the context checklist, then position size from the stop.
  4. Going deeper: your own Technical Analysis sheet covers more patterns, Wyckoff and breadth.
Educational, not investment advice. Condensed in our own words from OpenAlgo Open Varsity: Technical Analysis. Backtest figures are the course's, on 16 years of daily Nifty 50 data.

The course's honest scoreboard#

Signal (Nifty 50 stocks, 2010–2026)Result
Any day (baseline drift)+1.48% over 20 days
Golden crossHigher 60 days later 59% of the time
Death crossHigher 60 days later 66% of the time
RSI above 80Best 20-day returns of all RSI buckets (+2.2%)
20-day breakout56% fall back inside within 5 days
Breakout on >1.5× volume47% fail
MACD bullish cross58% positive after 30 days

Most popular signals barely beat simply holding. The edge in TA is risk control and consistency, not prediction.

Check yourself 2 questions
  1. What's the baseline drift for an average Nifty 50 stock over 20 days?

    Show answer

    About +1.48%.

  2. How often did 20-day breakouts fall back inside within 5 days?

    Show answer

    About 56% of the time.

Takeaway Against a baseline drift of about +1.5% per 20 days, most popular signals add little; golden crosses and breakouts underwhelm.

01Getting started: what TA is, charts, candles and timeframes

OpenAlgo Open Varsity · Technical Analysis · chapters 1–4 (what TA is, reading charts, candlestick anatomy, timeframes and scales)

What technical analysis is, and isn't#

  • The study of price and volume to tilt the odds and limit losses: probability, not prophecy.
  • Three working assumptions (tendencies, not laws): price reflects known information; trends persist until something real changes; crowd behaviour repeats, so patterns recur, though never identically.
  • Charts can show trend and its health, mark levels where the crowd reacted before, and show where your idea is wrong. They can't predict tomorrow, guarantee a pattern, or rescue a position with no exit plan.
  • The real edge: predefined exits, repeatable rules instead of moods, and avoiding falling knives.
Check yourself 2 questions
  1. Name TA's three working assumptions.

    Show answer

    Price reflects known information, trends persist until something real changes, and crowd behaviour repeats.

  2. Are those assumptions laws?

    Show answer

    No, tendencies.

Takeaway TA studies price and volume to tilt the odds and limit losses: probability, not prophecy.

Technical vs fundamental#

FundamentalTechnical
QuestionWhat is it worth?What is price doing, and will it continue?
StudiesThe companyPrice and volume
HorizonMonths to years: what to ownDays to weeks: when to act

A common pairing: fundamentals build the shortlist, technicals time the entry and exit. Always ask "compared to what?" and test popular claims instead of believing them.

Check yourself 2 questions
  1. Which question does fundamental analysis answer?

    Show answer

    What is it worth?

  2. How are the two often paired?

    Show answer

    Fundamentals build the shortlist; technicals time entry and exit.

Takeaway Fundamentals decide what to own; technicals decide when to act.

Chart types#

StyleShowsStrengthWeakness
LineCloses onlyClear directionHides the path within each bar
Bar (OHLC)Open, high, low, closeComplete, compactSlower to scan
CandlestickOHLC plus colour and bodyBuyer–seller balance at a glanceBusy on dense charts

Before forming any view, check three things: which stock, what one bar represents, and the price range from top to bottom. A squeezed axis can make a 1% move look violent.

Check yourself 2 questions
  1. What does a line chart hide?

    Show answer

    The path within each bar: opens, highs and lows.

  2. Name the three things to check before forming a view.

    Show answer

    Which stock, what one bar represents, and the price range on the axis.

Takeaway Line shows closes, bars show OHLC, candles add colour and body; check stock, bar period and price range first.

Reading a single candle#

  1. Colour: close above open (green) or below (red) shows who won that bar. It compares open and close of the same bar, so a gap-down day can still be green.
  2. Body length: how decisive the win was.
  3. Wicks: ground traded but not held. A long lower wick means buyers defended lower prices; a long upper wick, sellers defended higher ones.
  4. Size: judge it against recent bars, never in absolute terms.
  5. Context: trend, level and volume decide whether it means anything.

A marubozu (all body) is one-sided conviction; a doji (almost no body) is balance. One candle is a whisper, not a signal.

Check yourself 2 questions
  1. Can a gap-down day be a green candle?

    Show answer

    Yes, if it closes above its own open.

  2. What does a long lower wick mean?

    Show answer

    Buyers defended lower prices.

Takeaway Colour compares close to open of the same bar, body length shows decisiveness, wicks show ground traded but not held.

Timeframes: direction vs timing#

Holding periodTrade onCheck direction on
IntradayMinutesDaily
Swing (days)DailyWeekly
Long termWeekly or monthlyMonthly
  • Decide the holding period first, then the timeframe, never the reverse.
  • The higher timeframe sets direction; the lower sets timing. A dip on the hourly inside a daily uptrend is usually just a pullback.
  • The course uses daily charts: one decision a day, enough signals to measure, less order-matching noise.
Check yourself 2 questions
  1. A swing trader trades the daily chart. Which chart sets direction?

    Show answer

    The weekly.

  2. An hourly dip inside a daily uptrend is usually what?

    Show answer

    A pullback.

Takeaway Pick the holding period first; the higher timeframe sets direction, the lower sets timing.

Scales and chart settings that mislead#

  • Linear scale: equal rupee moves take equal height. Log scale: equal percentage moves take equal height. 100→200 and 1,000→2,000 look the same on log (both +100%).
  • Use log for long, large-percentage moves and linear for short, tight ranges.
  • Truncated axis and auto-scaling exaggerate or shrink identical candles; read the axis numbers first.
  • Date window: start at a crash low and anything looks heroic; start at a peak and it looks broken.
  • Aggregation: where a week or month is cut can flip a weekly candle's colour.
Check yourself 2 questions
  1. On a log scale, how do 100→200 and 1,000→2,000 compare?

    Show answer

    They look the same height: both +100%.

  2. When should you use a linear scale?

    Show answer

    For short, tight ranges.

Takeaway Log scale shows equal percentage moves equally; truncated axes and date windows can exaggerate.

02Structure and levels: Dow theory, trends, support and resistance, breakouts, Fibonacci

OpenAlgo Open Varsity · Technical Analysis · chapters 5–9 (Dow theory, trends and trendlines, support and resistance, channels and breakouts, Fibonacci)

Market cycle and the volume rule#

flowchart TD
  AC["Accumulation: quiet base"] --> MU["Markup: higher highs and lows"]
  MU --> DI["Distribution: churning top"]
  DI --> MD["Markdown: lower highs and lows"]
  MD --> AC
  • Volume should grow with the main trend and fade on counter-moves; thin rallies or heavy declines are warnings, not reversal triggers.
  • Phases are clearest in hindsight; don't label them in real time.
Check yourself 2 questions
  1. Which phase follows distribution?

    Show answer

    Markdown.

  2. What's a warning sign in an uptrend?

    Show answer

    Thin rallies or heavy declines.

Takeaway Accumulation, markup, distribution, markdown; volume should grow with the trend and fade on counter-moves.

A Dow trend filter vs buy-and-hold#

Rule tested on 48 Nifty 50 stocks over 16 years: hold only while price is above the 200-day average and the 50-day is above the 200-day.

Trend filterBuy and hold
Median return~107%~744%
Median max drawdown~47%~56%
Beat buy-and-hold4 of 48 stocks—
Time out of the market~45%0%

Dow-style filters are a risk-management framework, not a profit machine: they trimmed drawdowns but gave up most of the return.

Check yourself 2 questions
  1. How did the 50/200 filter compare with buy-and-hold on returns?

    Show answer

    About +107% median versus about +744%.

  2. On how many of 48 stocks did the filter beat buy-and-hold?

    Show answer

    4.

Takeaway A trend filter reduced drawdown a little but sacrificed most of the return; it's risk management, not a profit machine.

Pullback or trend change?#

Price is dipping inside an uptrend
1Is the prior higher low still intact?
no
Trend changetreat as broken until proven otherwise
yes
2Is volume light on the dip?
no
Cautionheavy selling, wait for it to stabilise
yes
3Is the larger timeframe trend still up?
no
Counter-trend bounce risksmaller size or stand aside
yes
Likely pullbackhold, or plan an entry with a stop below the higher low
Check yourself 2 questions
  1. The prior higher low breaks. What then?

    Show answer

    Treat it as a trend change until proven otherwise.

  2. Heavy volume on the dip suggests what?

    Show answer

    Caution: wait for it to stabilise.

Takeaway Higher low intact, light volume on the dip and an intact higher-timeframe trend say pullback.

Support and resistance#

  • Why levels work: traders who profited there buy more, traders who missed it buy the return, and trapped holders sell at breakeven.
  • Where levels come from: prior swing highs and lows (most important), round numbers like 500 or 1,000, and long sideways bases.
  • Draw zones, not lines: mark the cluster of highs or lows, not the single extreme tick. A practical start: the highest high and lowest low of the last 20 sessions.
  • Role reversal: broken resistance tends to become support and vice versa; the retest is usually the cleaner entry.
  • Many tests weaken a level: each test absorbs orders. A level hit 13–14 times is a countdown to a break, not a stronger wall.
  • Confluence (two independent reasons at one price) makes a zone stronger.
Check yourself 2 questions
  1. Why does broken resistance often become support?

    Show answer

    Traders who missed it buy the return, and those who profited add more.

  2. Lines or zones?

    Show answer

    Zones: the cluster of highs or lows, not one extreme tick.

Takeaway Levels work because of trader memory; draw zones from prior swings, round numbers and bases, not single lines.

Ranges, channels and breakouts#

  • A range is a sideways box; a channel is the same idea with parallel sloping lines. Markets spend roughly two-thirds of their time sideways.
  • Inside a range: buy near support, sell near resistance, avoid the middle, and put the stop just outside the box.
  • A close above the upper Bollinger band still averaged about +0.58% over 10 days: touching an edge is not automatically a reversal.
Breakout test (new 20-day high)Fakeout rate
All breakouts56% back inside within 5 sessions
On volume above 1.5× average47%

Treat fresh breakouts as guilty until proven innocent: wait for a close beyond the level, then the retest.

Check yourself 2 questions
  1. Where does the stop go on a range trade?

    Show answer

    Just outside the box.

  2. Roughly what share of the time do markets range?

    Show answer

    About two-thirds.

Takeaway Markets spend about two-thirds of their time sideways; buy near support, sell near resistance, avoid the middle.

Trading the retest#

flowchart TD
  B1["Close beyond the range"] --> B2["Wait for price to return to the level"]
  B2 --> B3{{"Old resistance holds as support?"}}
  B3 -->|holds| B4["Enter, stop on the far side of the level"]
  B3 -->|fails back inside| B5["Fakeout: stand aside"]
  classDef dec fill:__DF__,stroke:__DS__,color:__FG__
  class B3 dec

The retest filters out many failed breakouts and gives a tighter stop than chasing the first breakout candle.

Check yourself 2 questions
  1. Where's the stop on a retest entry?

    Show answer

    On the far side of the level.

  2. Price falls back inside the range on the retest. What is it?

    Show answer

    A fakeout: stand aside.

Takeaway Wait for a breakout to return to the level; enter if old resistance holds as support, stand aside if it fails.

Fibonacci: the pullback map#

LevelReading
23.6%Shallow dip in a strong trend
38.2%First level most traders watch
50%Not Fibonacci; Dow's halfway level
61.8%Deepest normal pullback in a healthy trend
78.6%Last-ditch; beyond it the move is usually broken
127.2%, 161.8%, 261.8%Extension zones for taking profit
level = swing high − ratio × (swing high − swing low) (uptrend)extension target = pullback low + ratio × original move
Check yourself 2 questions
  1. Is 50% a Fibonacci ratio?

    Show answer

    No. It's Dow's halfway level.

  2. Which levels are used for profit targets?

    Show answer

    Extensions: 127.2%, 161.8% and 261.8%.

Takeaway 38.2%, 50% and 61.8% are the main pullback levels; beyond 78.6% the move is usually broken.

Fibonacci worked example and rules#

  • Swing 553.5 → 1,094.2 (move ≈ 540): 38.2% at 887.7, 50% at 823.9, 61.8% at 760.0. The pullback bottomed near 788, about 57%, inside the 50–61.8% decision zone, then resumed up.
  • Into the zone with a turn signal (hammer, engulfing, rising volume): healthy trend. Slicing through 61.8% and still falling: trend may be over.
  • Pick the swing points first and let the levels fall where they fall; drawing after deciding to buy is self-deception.
  • Confluence that strengthens a level: prior support, a rising 50-day average, a round number, the same level on the weekly chart.
Check yourself 2 questions
  1. Swing 553.5 to 1,094.2: where's the 61.8% level?

    Show answer

    About 760.

  2. What should you pick before drawing Fibonacci?

    Show answer

    The swing points.

Takeaway The 50–61.8% zone is the decision zone; a turn signal there means a healthy trend, slicing through 61.8% means it may be over.

03Candlestick patterns and why context decides

OpenAlgo Open Varsity · Technical Analysis · chapters 10–12 (single candles, two- and three-candle tells, patterns in context)

Single candles#

CandleShapeWhere it countsReading
DojiOpen ≈ close; body under about a tenth of the rangeAfter a long runMomentum pause, not a reversal call
Gravestone / dragonfly dojiLong upper / long lower wickAt resistance / supportBuying / selling rejected
Spinning topSmall body (under a third of the range), wicks both sidesAfter a strong trendNeither side wins; fuel running low
HammerSmall body on top, lower wick ≥ 2× bodyAfter a decline, at supportBullish hint
Hanging manSame shape as a hammerAfter a rally, at resistanceBearish warning
Shooting starSmall body at bottom, long upper wickAfter a rally, at resistanceBearish hint
Inverted hammerSame shape as a shooting starAfter a declineTentative bullish
MarubozuAll body, little or no wickBreakouts, trend legsConviction that may carry into the next session

The same shape means opposite things in different places: a long lower wick after a fall is a hammer, after a rally a hanging man. Shape alone never sets direction.

Check yourself 2 questions
  1. What does a doji after a long run signal?

    Show answer

    A momentum pause, not a reversal call.

  2. Where does a gravestone doji count?

    Show answer

    At resistance: buying rejected.

Takeaway Doji, spinning tops, hammers and shooting stars signal pauses or rejection, and matter only at the right place.

Two- and three-candle patterns#

PatternCandlesMeaningWeight
Harami2Small body inside a big one: momentum stallsWeak, watch
Engulfing2Second body covers the first: control changesModerate
Tweezer top / bottom2+Same high or low rejected twiceModerate at a level
Morning / evening star3Takeover plus confirmationHigher
Three soldiers / crows3Strong momentumConfirms, often late

More candles demand more agreement, so they carry more weight, but reliability stays modest. One winning example (a bullish engulfing at a swing low followed by +5.7% in 10 sessions) is an illustration, not a base rate.

Check yourself 2 questions
  1. What does an engulfing pattern show?

    Show answer

    A change of control: the second body covers the first.

  2. How many candles in a morning star?

    Show answer

    Three.

Takeaway Harami is weak, engulfing moderate, stars stronger; three soldiers or crows confirm momentum.

The three context filters#

FilterStrongWeak
LevelSupport, resistance, prior high or low, round number, Fibonacci levelOpen space
TrendWith the larger trend, at the end of a pullbackAgainst an extended trend
VolumeAbove averageThin, sleepy session

A hammer in the middle of nowhere means nothing; the same hammer at support, in an uptrend, on heavy volume is a setup. Counter-trend reversal patterns fail far more often.

Check yourself 2 questions
  1. Name the three context filters.

    Show answer

    Level, trend and volume.

  2. A hammer at support, in an uptrend, on heavy volume: what is it?

    Show answer

    A setup.

Takeaway Level, trend and volume turn a candle into a setup; the same hammer in open space means nothing.

Should I act on this candle pattern?#

A pattern matches your written definition
1Is it at a level you marked beforehand?
no
Skip: no levela pattern in open space is noise
yes
2Does it agree with the larger trend?
no
Skip: counter-trendcounter-trend reversals fail far more often
yes
3Is volume above average?
no
Downgradewait for the next bar to confirm
yes
4Is there a clean stop beyond the pattern, with reward that justifies it?
no
Skip: no clean stopno clean stop, no trade
yes
Setupdefine stop and target before entering; journal it
Check yourself 2 questions
  1. A pattern in open space with no prior level: act?

    Show answer

    Skip it: noise.

  2. Volume is below average. What then?

    Show answer

    Downgrade it and wait for the next bar to confirm.

Takeaway Act only at a level marked beforehand, with the trend, on above-average volume, with a clean stop.

Pattern discipline#

  1. Mark support, resistance and trend on a clean chart before looking for patterns.
  2. Use a fixed, written definition (for example, hammer lower wick at least 2× the body).
  3. Count independent reasons: one is weak, three is a setup.
  4. Define stop and target before entering.
  5. Log every pattern and outcome; most patterns barely beat the +1.48% per 20 days baseline, and a journal exposes your bias.
Check yourself 2 questions
  1. How many independent reasons make a setup?

    Show answer

    Three; one is weak.

  2. Why log every pattern and outcome?

    Show answer

    Most patterns barely beat the baseline drift; the log shows whether yours do.

Takeaway Mark levels first, use written definitions, count independent reasons, define stop and target, and log every pattern.

04Chart patterns: reversals, continuations and gaps

OpenAlgo Open Varsity · Technical Analysis · chapters 13–15 (reversal patterns, continuation patterns, gaps)

Reversal patterns#

PatternShapeConfirms when
Head and shoulders topMiddle peak highest; right shoulder below the headClose below the neckline
Inverse head and shouldersMiddle trough lowestClose above the neckline
Double top (M)Two similar highsClose below the middle dip
Double bottom (W)Two similar lowsClose above the middle peak
Triple top / bottomThree tests of one levelBreak of the level; rarer, slower

Prerequisites: a clear prior trend to reverse, a defined neckline, and follow-through after the break. Volume is typically heaviest on the left shoulder and head, lighter on the right, and expands on the break.

Check yourself 2 questions
  1. When does a head and shoulders top confirm?

    Show answer

    On a close below the neckline.

  2. What confirms a double bottom?

    Show answer

    A close above the middle peak.

Takeaway Head and shoulders and double or triple tops and bottoms confirm only on a close beyond the neckline.

Confirming a reversal, with a worked target#

  1. Confirm there is a prior trend.
  2. Draw the neckline before the last leg completes.
  3. Wait for a decisive close beyond it, not an intraday poke.
  4. Look for volume expansion; consider entering on the retest.
  5. Stop just back inside the pattern.
measured target = neckline ± pattern heightdouble bottom: lows ≈ 1,080, neckline ≈ 1,270height ≈ 190 → target ≈ 1,270 + 190 = 1,460

The target is a planning figure for reward against risk, not a promise.

Check yourself 2 questions
  1. Double bottom lows about 1,080, neckline about 1,270. Target?

    Show answer

    About 1,460 (1,270 + 190).

  2. Is an intraday poke beyond the neckline enough?

    Show answer

    No. Wait for a decisive close.

Takeaway Prior trend, neckline drawn in advance, a decisive close, volume, then target = neckline ± pattern height.

Continuation patterns#

PatternShapeTypical leanMeasured move
Bull / bear flagSmall drifting rectangle after a sharp moveWith the flagpoleFlagpole height from the breakout
PennantSmall triangle contracting to a pointWith the trendFlagpole height
Ascending triangleFlat top, rising lowsOften upWidest height
Descending triangleFlat bottom, falling highsOften down; can break up in an uptrendWidest height
Symmetrical triangleLower highs, higher lowsNeutral; the trend guides itWidest height
RectangleFlat range inside a trendAmbiguous while formingBox height

Flags and pennants last days to a few weeks. A healthy pause is shallow and orderly, with volume drying up inside and expanding on the break; a deep, accelerating pullback or volume swelling against the trend says reversal instead. If the target is barely larger than the stop distance, skip the trade.

Check yourself 2 questions
  1. How is a flag's target measured?

    Show answer

    Flagpole height from the breakout.

  2. Which way does an ascending triangle often break?

    Show answer

    Up.

Takeaway Flags, pennants and triangles usually continue the trend; measured moves use the flagpole or widest height.

Gaps: four types#

TypeWhereTypical behaviour
CommonInside a rangeSmall, fills quickly
BreakawayOut of a base or patternStarts a trend, often doesn't fill
RunawayMid-trendAcceleration, near the halfway point
ExhaustionEnd of an extended moveFinal leap, usually fills, then reverses

Breakaway and exhaustion gaps look identical on the day: the trend's age and the next few sessions tell them apart. An island reversal (bars stranded between two gaps) signals a likely flip.

Check yourself 2 questions
  1. Which gap type usually fills, then reverses?

    Show answer

    Exhaustion.

  2. How do you tell breakaway from exhaustion on the day?

    Show answer

    By the trend's age and context; they look identical on the day.

Takeaway Common gaps fill fast, breakaway gaps start trends, runaway gaps accelerate them, exhaustion gaps end them.

Gap statistics and rules#

  • Nifty 50 daily: gaps over 2% filled within 20 sessions about 78–79% of the time; gaps over 5% about 71–73%. Bigger gaps fill less often, so fading them is a bet against the odds.
  • Heavy volume suggests conviction (breakaway or runaway); light volume suggests a common gap.
  • Read every gap with four questions: what news, how big (%), where in the trend, and how much volume.
  • Don't chase the open; let the first range form. Treat the previous close and the gap open as levels.
  • Size down on gap days: wider stops need smaller positions to keep rupee risk constant.
gap % = (open − previous close) ÷ previous close × 1001,200 → 1,290: 90 points = 7.5%
Check yourself 2 questions
  1. Gaps over 5%: roughly how often filled within 20 sessions?

    Show answer

    About 71–73%.

  2. Heavy volume on a gap suggests what?

    Show answer

    Conviction: breakaway or runaway rather than common.

Takeaway Nifty 50 gaps over 2% filled within 20 sessions about 78% of the time; bigger gaps fill less often.

05Indicators: averages, momentum, volatility, volume and trend strength

OpenAlgo Open Varsity · Technical Analysis · chapters 16–24 (moving averages, RSI, MACD, Bollinger and ATR, volume, trend strength, trend tools, combining, toolbox)

Moving averages#

SMA = sum of the last N closes ÷ Neach new bar: add the newest close, drop the oldest
Length (daily)CoversUse
20About a monthShort-term swing direction
50About a quarterIntermediate trend
200About a yearLong-term health
  • SMA weighs every bar equally: calmer, more lag. EMA weighs recent bars more: turns sooner, more false twitches. The lag trade-off can be chosen, never removed.
  • Read the slope first (rising, flat, falling), then price versus the line. Slope beats the exact touch.
  • A 50-day on a daily chart is not a 50-day on a weekly chart: always state the timeframe.
Check yourself 2 questions
  1. Which average represents about a year?

    Show answer

    The 200-day.

  2. SMA versus EMA: which reacts sooner?

    Show answer

    The EMA.

Takeaway The 20, 50 and 200-day averages track month, quarter and year; SMAs are calm and laggy, EMAs turn faster.

Golden and death crosses, tested#

Signal (Nifty 50, 16 years)Up after 60 daysTypical 60-day move
Golden cross (527 cases)59%+2.7%
Death cross (529 cases)66%+4.8%
Baseline drift—~+4.5%
  • On this data "golden = buy, death = sell" is close to backwards; golden-cross winners often dipped about 7% first.
  • A dip to a rising 50-day average gave +0.67% over 10 days against a +0.58% baseline: an edge under 0.1 point.
  • Better use: a direction filter (longs only while the 50-day is above a rising 200-day), which mainly cuts drawdowns and time at risk.
Check yourself 2 questions
  1. After a death cross, how often was the stock higher 60 days later?

    Show answer

    About 66% of the time.

  2. Did golden crosses beat the baseline drift?

    Show answer

    No: about +2.7% versus a baseline of about +4.5%.

Takeaway On 16 years of Nifty 50 data, death crosses were followed by better 60-day returns than golden crosses.

RSI: momentum, not a buy/sell switch#

  • RSI (default 14) compares recent up-move strength with down-move strength on a 0–100 scale; 50 is balance, 70/30 the usual reference lines. It compares a stock only with its own history.
  • Shorter lookbacks (7) are faster and noisier; longer (21) are smoother.
  • In a range RSI swings between extremes; in an uptrend it tends to hold about 60–80 (a break below 40 is a warning); in a downtrend about 20–40.
RSI bucket (Nifty 50)Average next 20 days
Any day (baseline)+1.48%
Below 30+1.8%
50–70 and 70–80+1.4%
Above 80+2.2% (positive 60% of the time)

Overbought streaks lasted up to 43 days and oversold up to 44: extremes are states, often of persistent strength, not reversal signals.

Check yourself 2 questions
  1. What RSI range does an uptrend tend to hold?

    Show answer

    About 60–80.

  2. Which RSI bucket had the best 20-day returns in the course's study?

    Show answer

    Above 80.

Takeaway RSI measures momentum against a stock's own history; in uptrends it holds about 60–80, and 'overbought' can keep rising.

Divergence and the oscillator family#

  • Bearish divergence: price makes a higher high, RSI a lower high. Bullish: price a lower low, RSI a higher low. It can last weeks; use it at extremes near levels, and let a price trigger (broken trendline, reversal candle) time the entry.
  • Stochastic: where the close sits in the recent range; above 80 overbought, below 20 oversold.
  • Williams %R: an inverted stochastic, 0 to −100.
  • CCI: distance from the recent average, unbounded; ±100 marks "stretched".
  • Stochastic RSI: a stochastic of RSI; the most sensitive and noisiest.

Five oscillators on the same prices are one opinion repeated, not five confirmations.

Check yourself 2 questions
  1. Define bearish divergence.

    Show answer

    Price makes a higher high while RSI makes a lower high.

  2. What does stochastic measure?

    Show answer

    Where the close sits in the recent range.

Takeaway Divergence warns of fading momentum and can last weeks; let a price trigger time the entry.

MACD#

MACD line = EMA12 − EMA26signal line = 9-period EMA of the MACD linehistogram = MACD line − signal line
ReadingMeaning
MACD crosses above / below signalMomentum turning up / down
MACD above / below zeroTrend leans up / down
Histogram growingMomentum accelerating
Histogram shrinkingMomentum fading: early warning before a cross
DivergenceTrend tiring: tighten risk, wait for price

MACD is in rupees, so compare shapes and crossings, not raw values across stocks.

Check yourself 2 questions
  1. What does a shrinking histogram signal?

    Show answer

    Momentum fading: an early warning before a cross.

  2. MACD above zero means what?

    Show answer

    The trend leans up.

Takeaway MACD = EMA12 − EMA26, signal = its 9-period EMA; a shrinking histogram warns before a cross.

MACD crossovers, tested#

  • 7,640 bullish crosses on Nifty 50 stocks over 16 years: 58% positive after 30 days; 37% gained more than 5%.
  • Filtering for "MACD above zero" did not meaningfully raise the win rate.
  • Strong in trends (the histogram flags fatigue early), weak in sideways markets (repeated whipsaw crosses), and always lagging.
  • Practical use: confirm the trend with price and averages first, use a bullish cross near support to time a continuation entry, and watch the histogram for fading momentum.
Check yourself 2 questions
  1. Did filtering for MACD above zero raise the win rate?

    Show answer

    Not meaningfully.

  2. Where does MACD fail?

    Show answer

    In sideways markets, with repeated whipsaw crosses.

Takeaway Bullish MACD crosses were positive 30 days later only about 58% of the time; strong in trends, whipsaws in ranges.

Volume: relative volume and spikes#

relative volume = today's volume ÷ 20-day average volume~1 = ordinary · 2 = double · 5–6+ = major event
  • Spike plus a decisive close: conviction in the close's direction.
  • Spike at the end of a long trend: possible climax.
  • Spike with a flat close: churn, a draw; not a signal.
  • Healthy uptrend: volume swells on up-days and fades on pullbacks. Rallies on shrinking volume or selloffs on rising volume are warnings.
  • Volume confirms moves; it doesn't start them.
Check yourself 2 questions
  1. Relative volume of 5 suggests what?

    Show answer

    A major event.

  2. Volume spike with a flat close: signal?

    Show answer

    No: churn, a draw.

Takeaway Relative volume = today ÷ 20-day average; spikes with decisive closes show conviction, flat closes show churn.

OBV, MFI, A/D and CMF#

ToolBuildsRead
OBVAdds volume on up days, subtracts on down daysIgnore the level; check slope and agreement with price
MFIVolume-weighted RSI, 0–100Above 80 / below 20 stretched; divergence is its best signal
A/D lineWeights volume by where the close sits in the day's rangeClose near the high adds most
CMFAbout 20-day accumulation/distribution oscillator around zeroAbove zero: buying pressure dominates

They all measure the same idea, so pick one you trust. In India, add delivery %: two stocks both up 3% on 4× volume mean different things at 70% delivery (holders accumulating) and 15% (intraday churn).

Check yourself 2 questions
  1. What's MFI?

    Show answer

    A volume-weighted RSI on a 0–100 scale.

  2. What matters on OBV?

    Show answer

    Its slope and agreement with price, not its level.

Takeaway Volume indicators show who is behind a move; for OBV, watch slope and agreement, not the level.

Bollinger Bands and ATR#

middle band = 20-day SMA; bands = middle ± 2 standard deviationsbandwidth = (upper − lower) ÷ middle (small = squeeze)true range = max(high − low, |high − prev close|, |low − prev close|)ATR = 14-day average of true range
  • Volatility tools measure how much price moves, never which way.
  • A squeeze (very low bandwidth, e.g. about 4.7% before one stock's expansion) says a bigger move is due, not its direction.
  • Walking the band: strong trends hug an outer band. A close above the upper band still averaged +0.58% over 10 days, so it is strength, not a sell signal.
  • ATR sets stops: 2–3× ATR from entry. A stock with ATR ≈ ₹85 (2.8% of price) needs about ₹170 of room at 2×.
Check yourself 2 questions
  1. What is a squeeze?

    Show answer

    Very low bandwidth: volatility coiled before a move of unknown direction.

  2. How is ATR calculated?

    Show answer

    The 14-day average of true range.

Takeaway Bollinger bands (20 SMA ± 2 SD) and ATR measure how much price moves, never which way.

Volatility phases and channel tools#

PhaseBandwidth / ATRImplication
SqueezeLow and fallingCoiling; move likely, direction unknown
ExpansionRising, wideMove underway, may be maturing
CoolingVery wide, contractingSettling back towards balance
ToolCentreWidth fromAnswers
Bollinger20 SMAStandard deviationIs price stretched?
KeltnerEMAATR multipleA smoother envelope
DonchianNoneN-day high and low (20)Breakout levels
ATRNoneTrue rangeTypical daily move in ₹

Use one volatility tool, not the whole set.

Check yourself 2 questions
  1. Low and falling bandwidth implies what?

    Show answer

    A squeeze: a move is likely, direction unknown.

  2. What sets the width of Keltner channels?

    Show answer

    An ATR multiple.

Takeaway Squeeze, expansion, cooling; Bollinger uses standard deviation, Keltner uses ATR, Donchian uses highs and lows.

Trend strength: ADX, DMI and Aroon#

  • ADX (0–100) measures strength only, not direction: below 20 weak or choppy, above 25 a real trend, rising means gaining force, around 40+ very strong and possibly mature.
  • DMI: +DI (upward pressure) above −DI means buyers lead. A +DI cross with ADX above 25 means much more than the same cross with ADX below 20.
  • Aroon Up / Down (0–100): how recently a new high or low was made. Up near 100 with Down low is a fresh uptrend; both mid-range is sideways.
  • ADX lags, so it is a context filter, never a timing trigger; a very high ADX can mark a stretched trend near its end.

"Direction tells you which way; strength tells you whether to bother."

Check yourself 2 questions
  1. ADX at 30 and rising: what does it tell you?

    Show answer

    A real trend gaining force, direction unknown from ADX alone.

  2. +DI above −DI means what?

    Show answer

    Buyers lead.

Takeaway ADX measures strength, not direction: under 20 is weak, over 25 a real trend; DMI shows who leads.

Trend or range? Pick the tactic#

Strong trendChoppy range
ADXAbove 25 and risingBelow 20
DMILines wide apartLines tangled, crossing
AroonPinned at an extremeDrifting mid-range
TacticTrend tools lead; trail stopsRange tactics at support and resistance; switch trend tools off
Check yourself 2 questions
  1. ADX below 20 with tangled DMI lines: which tactic?

    Show answer

    Range tactics at support and resistance.

  2. Strong trend: how do you manage exits?

    Show answer

    Trail stops and let trend tools lead.

Takeaway ADX above 25 means trend tools and trailing stops; below 20 means range tactics and trend tools off.

Trend tools that sit on price#

OverlayHow it worksBest inFails in
SupertrendOne line an ATR-based distance from price; ratchets behind a rising priceClean trends; a trailing stopRanges: one stock flipped 25 times in two years
Parabolic SARDots that tighten towards price; a touch flips itSteady trends, tight trailingRanges (whipsaw)
Ichimoku cloudAbove cloud bullish, below bearish, inside undecidedSlow regime contextPrice hovering in the cloud

Check ADX first: above about 25, read the overlay's side and trail the stop with it; below about 20, ignore the flips. Stacking all three is one opinion drawn three ways.

Check yourself 2 questions
  1. Where does Supertrend fail?

    Show answer

    In ranges: one stock flipped 25 times in two years.

  2. Price above the Ichimoku cloud means?

    Show answer

    Bullish.

Takeaway Supertrend, Parabolic SAR and Ichimoku work in clean trends and whipsaw in ranges.

Stacking indicators without fooling yourself#

FamilyQuestionJob in the planPick one
TrendWhich way?Filter: no buys unless above a rising long average50-day MA, Supertrend
MomentumHow strong and fast?Timing: momentum turning up after a dipRSI, MACD
VolumeWho is behind it?Conviction: above-average volumeVolume vs 20-day average, OBV
VolatilityHow much?Risk: stop distance and sizeATR, bandwidth
  • Name a tool's family before adding it; if you already own that family, skip it. Fill missing families first (usually volume and volatility). Four tools maximum; most charts need one or two.
  • If two indicators always fire together, one is clutter. Conflict (trend up, momentum overbought) is information: wait for a pullback.
  • Price beats any oscillator: a break of a major level on heavy volume overrules "overbought".
Check yourself 2 questions
  1. Why not use RSI and stochastic together?

    Show answer

    Both are momentum: the same opinion repeated.

  2. What job does the volatility family do in a plan?

    Show answer

    Sets stop distance and position size.

Takeaway Pick one indicator per family (trend, momentum, volume, volatility), each with a job in the plan.

A clean chart template#

  1. Candlesticks: the primary signal.
  2. Hand-drawn support, resistance and trendlines.
  3. One trend tool, for example the 50-day average.
  4. One volume read: bars with a 20-day average, or OBV.
  5. Optional: one momentum or one volatility tool, not both.

You should be able to state the job of every line on your chart.

Check yourself 2 questions
  1. What's the primary signal on a clean chart?

    Show answer

    Candlesticks (price).

  2. What test should every line on your chart pass?

    Show answer

    You can state its job.

Takeaway Candles, hand-drawn levels, one trend tool, one volume read, and optionally one momentum or volatility tool.

The indicator toolbox: seven families#

FamilyQuestion it answersExamples
TrendWhich way is price heading?Moving averages, Supertrend, ADX, Ichimoku, Parabolic SAR
MomentumHow strong and fast is the move?RSI, MACD, rate of change
VolatilityHow much is price moving?Bollinger Bands, ATR, Keltner, Donchian
VolumeWho is behind the move?Volume, OBV, MFI, Chaikin Money Flow, VWAP
OscillatorsIs price stretched?Stochastic, CCI, Williams %R, Stochastic RSI
StatisticalWhat do the numbers say?Linear regression, correlation, beta, standard deviation
HybridTwo jobs at onceSupertrend, Ichimoku, ADX, SAR

OpenAlgo's library has 80+ indicators, but most are variations on a few ideas built from the same past prices and volume. Learn the four everyday questions (which way, how strong, how much, who) and treat the rest as a reference shelf, not a to-do list.

Check yourself 2 questions
  1. Which family answers 'who is behind the move?'

    Show answer

    Volume.

  2. Name two volatility tools.

    Show answer

    Any two of: Bollinger Bands, ATR, Keltner, Donchian.

Takeaway Trend, momentum, volatility, volume and more: each family answers a different question.

06From analysis to action: timeframes, systems, risk and discipline

OpenAlgo Open Varsity · Technical Analysis · chapters 25–28 (multiple timeframes, building a strategy, risk management, psychology and next steps)

Top-down: two timeframes, two jobs#

  • Never decide from one timeframe. Use two about 4–5× apart (weekly and daily for swing trading): one weekly candle ≈ five daily.
  • Weekly = direction: structure (higher highs and lows?), price versus a long average and its slope, major support and resistance.
  • Daily = timing: location (a pullback to support or a rising average, not stretched) and a trigger in the direction the weekly allows.
  • If they conflict, the larger timeframe wins, which usually means no trade. A 4% two-day drop looks severe on the daily and minor on the weekly.
Check yourself 2 questions
  1. What does the weekly chart decide?

    Show answer

    Direction: structure, price versus a long average, major levels.

  2. What does the daily chart decide?

    Show answer

    Timing: location and the trigger.

Takeaway Use two timeframes 4–5× apart: weekly for direction, daily for location and trigger.

The five-step timeframe checklist#

Swing trade idea on a daily chart
1Weekly trend up: higher highs and higher lows?
no
No long tradeweekly sideways or down: don't buy dips
yes
2Room to the next major weekly resistance?
no
Wait: weekly wallbuying into a weekly wall
yes
3Daily location: pullback to support or a rising average?
no
Wait for a pullbackstretched entries have the weakest odds
yes
4Daily trigger in the weekly direction?
no
Watchlistlocation without a trigger
yes
Aligned: actstop below the pullback low, size from the stop

Most setups should fail this checklist. That is the point.

Check yourself 2 questions
  1. Weekly trend is sideways. Buy daily dips?

    Show answer

    No long trade.

  2. Price is stretched far above support. What now?

    Show answer

    Wait for a pullback; stretched entries have the weakest odds.

Takeaway Weekly uptrend, room to weekly resistance, daily pullback location, a trigger, and a stop with reward at least 2×.

From setup to system#

QuestionFixed before trading
ContextWhen is a trade allowed? (trend, timeframe, market mood)
TriggerWhat exact event enters?
ExitTarget or trailing rule when right; stop when wrong
SizeHow much to commit, from the stop
  1. Write the rule so a stranger would take the same trades.
  2. Backtest across many stocks and years, including costs.
  3. Read the equity curve and worst drawdown, not just the headline return.
  4. Resist tuning; prefer few rules and round numbers (50/200, not 47/213), and check on data the rule never saw.
  5. Decide what you are buying: return, smoothness, or time out of the market.
Check yourself 2 questions
  1. Name the four parts of a system.

    Show answer

    Context, trigger, exit, size.

  2. How should a system be tested?

    Show answer

    Backtest across many stocks and years, including costs.

Takeaway Fix context, trigger, exit and size before trading, written so a stranger would take the same trades.

Expectancy beats win rate#

expectancy = win rate × average win − loss rate × average loss0.40 × ₹2 − 0.60 × ₹1 = +₹0.20 per ₹1 risked
  • A 40% win rate is profitable when winners are about twice the losers: cut losers at 1R, let winners run to 2–3R.
  • The course's 50/200 trend filter on 48 stocks: +107% median return versus +744% for buy-and-hold, drawdown −47% versus −56%, invested about 55% of the time. Protection from big falls also costs you the sharpest recoveries.
  • Be suspicious of a silky-smooth, loss-free backtest; it is usually curve-fitted.

Main card on expectancy and win rate: Risk management → Also in Technical · Technical.

Check yourself 2 questions
  1. 40% wins at 2R, 60% losses at 1R. Expectancy per ₹1 risked?

    Show answer

    +₹0.20.

  2. What makes a low win rate profitable?

    Show answer

    Winners much larger than losers.

Takeaway A 40% win rate is profitable when winners are about twice losers: cut at 1R, let winners run.

Position size from the stop#

  1. Put the stop where the trade's reason is invalidated, a little beyond the level, never exactly on it.
  2. Set the risk budget: 1–2% of capital.
  3. Check the target is at least about 2× the stop distance; below 1:1, pass.
  4. Size = budget ÷ (entry − stop). Execute and honour the stop; never widen it.
entry 322.8, stop 300 → R = 22.8; target 380 → R:R ≈ 2.5₹10,00,000 × 1% = ₹10,000 → 10,000 ÷ 22.8 ≈ 438 sharesposition ≈ ₹1.41 lakh (14% of capital), loss if stopped = ₹10,000

Main card on position sizing: Risk management → Also in Technical · Futures · Options basics · Options strategies · Algo trading · Stock basics · AmiBroker AFL.

Check yourself 2 questions
  1. Entry 322.8, stop 300, target 380: reward to risk?

    Show answer

    About 2.5.

  2. Should you ever widen the stop?

    Show answer

    Never.

Takeaway Stop beyond the invalidation level, risk 1–2%, target at least 2R, size = budget ÷ (entry − stop).

Survival maths#

DrawdownGain needed to recover
−10%+11%
−20%+25%
−33%+50%
−50%+100%
−75%+300%
−90%+900%

At 1% risk, ten straight losses cost about 10%. At 20% risk, three losses cost about half the account. Risk is the input; position size is the output.

Main card on drawdown recovery: Risk management → Also in Technical · Risk management.

Check yourself 2 questions
  1. Gain needed to recover from −33%?

    Show answer

    +50%.

  2. At 20% risk per trade, what do three losses do?

    Show answer

    Cost about half the account.

Takeaway Deep drawdowns need huge gains to recover; at 1% risk ten straight losses cost about 10%.

Emotions and the rules they break#

EmotionRule it breaksResult
FearLet winners run; honour stopsSmall wins, big losses
GreedFixed 1% riskA 5% bet means one loss costs five planned losses
FOMOWait for your entryBuying after a 6% news gap, where odds are weakest
OvertradingTrade only your setupsCosts erase a thin edge
Curve-fittingKeep rules simpleFalse confidence

Most retail losses come from behaviour, not analysis: thin edges minus costs, emotional errors and overtrading usually land below zero. Discipline is learnable; prediction is not.

Check yourself 2 questions
  1. Which emotion breaks 'let winners run'?

    Show answer

    Fear.

  2. What does overtrading do to a thin edge?

    Show answer

    Costs erase it.

Takeaway Fear, greed, FOMO, overtrading and curve-fitting each break a specific rule.

Plan, execute, journal#

flowchart TD
  P["Plan, written while calm"] --> E["Execute only planned setups"]
  E --> J["Journal every trade"]
  J --> R["Review the last 20 trades on process"]
  R --> P
  • Plan: instruments, timeframe, setups, exact entry, stop, target and minimum reward-to-risk, 1–2% risk, and conduct rules (daily loss cap, no chasing gaps, no widening stops).
  • Journal: setup, reason, stop and target, plan followed (yes or no), emotion.
  • Review: grade process, not profit. A winner taken on a whim is still a bad trade.
Check yourself 2 questions
  1. How many trades does the review look at?

    Show answer

    The last 20, judged on process.

  2. Name two conduct rules for the plan.

    Show answer

    Any two of: a daily loss cap, no chasing gaps, no widening stops.

Takeaway Plan while calm, execute only planned setups, journal every trade, review the last 20 on process.

The automation path#

flowchart TD
  W["Write the rules"] --> BT["Backtest over years"]
  BT --> AN["Paper trade in a sandbox"]
  AN --> LV["Go live at small size"]

OpenAlgo's analyzer mode is a sandbox that trades with no money at risk. Automation buys consistency, the same rules on good days and bad, not guaranteed profit.

Check yourself 2 questions
  1. What comes between backtesting and going live?

    Show answer

    Paper trading in a sandbox (OpenAlgo's analyzer mode).

  2. What does automation actually buy?

    Show answer

    Consistency: the same rules on good days and bad.

Takeaway Write rules, backtest, paper trade in the analyzer sandbox, then go live small; automation buys consistency, not profit.

07Checklists and one-line formulas

Run these before every trade and at every weekly review.

Before the trade#

  • Weekly direction allows it; daily location and trigger agree.
  • The setup sits at a level marked in advance, with the trend, on above-average volume.
  • ADX says trend tools or range tactics, and I'm using the right ones.
  • Stop beyond the invalidation level; target at least about 2× the stop.
  • Size = 1–2% of capital ÷ (entry − stop).
  • No major news or results before the planned exit.
Check yourself 2 questions
  1. What target is required relative to the stop?

    Show answer

    At least about 2× the stop distance.

  2. How is size computed?

    Show answer

    1–2% of capital ÷ (entry − stop).

Takeaway Weekly direction, daily location and trigger, a level with trend and volume, the right tactic for ADX, a 2R target, and risk-based size.

Honest-signal checklist#

  • Compared with the +1.48% per 20 days baseline, does this signal add anything?
  • Is it one tool per family, or the same opinion repeated?
  • Has the rule been tested on many stocks and years, with costs?
  • Would I take the same trade if I wrote the rule down first?
  • Am I chasing a breakout, or waiting for the retest?
Check yourself 2 questions
  1. What baseline must a signal beat?

    Show answer

    About +1.48% per 20 days.

  2. Chasing a breakout or waiting: which does the checklist favour?

    Show answer

    Waiting for the retest.

Takeaway Does the signal beat baseline drift, is it one tool per family, was it tested with costs, and are you chasing?

One-line formulas#

shares = risk budget ÷ (entry − stop)R:R = (target − entry) ÷ (entry − stop)expectancy = W × avg win − L × avg lossrecovery = 1 ÷ (1 − drawdown) − 1ATR stop = entry − 2 to 3 × ATRrelative volume = volume ÷ 20-day averagegap % = (open − prev close) ÷ prev close × 100
Check yourself 2 questions
  1. Gap % formula?

    Show answer

    (Open − previous close) ÷ previous close × 100.

  2. ATR stop formula?

    Show answer

    Entry − 2 to 3 × ATR.

Takeaway Shares = risk ÷ (entry − stop); R:R = reward ÷ risk; recovery = 1 ÷ (1 − drawdown) − 1.

About this sheet#

This sheet condenses the free course Technical Analysis from OpenAlgo Open Varsity (28 chapters, 6 modules) into reference cards, written in our own words. Backtest figures are the course's own, on 16 years of daily Nifty 50 data; single-stock examples are illustrations, not evidence. Each section links back to its chapters. Educational, not investment advice. For more patterns, Wyckoff and breadth, see your own Technical Analysis sheet.

No cards match. Try fewer or different words, or press Esc to clear.