Technical Indicator Signals
Given one day's readings of the common technical indicators, what do the textbook rules say about buying, waiting or selling, and why?
Inputs
Results
What it answers
Given one day's readings of the common technical indicators, what do the textbook rules say about buying, waiting or selling, and why?
The default inputs are a worked example; change any value to see the model respond.
How to use it
- Open the Technical tab of your broker app for the stock.
- Copy each value into the matching box (the defaults are an example taken from a broker app's screen).
- Read the two outcomes (for a new buyer and for a holder), the reasons, and the indicator-by-indicator table.
The model
- P
- Last closing price
- T
- Trend score in [−1, 1]
- M
- Momentum score in [−1, 1]
- \varepsilon
- MACD dead band, 0.2% of price
- \%B
- Position within the Bollinger bands
- \mathrm{sgn}_c
- Sign with a neutral band of width c
When to use it
- Timing an entry or exit in a stock you have already chosen on fundamentals.
- Learning what each indicator measures and how its signals are read.
- Checking whether a tip to 'buy now' is chasing an overbought move.
Limits to keep in mind
- Indicators are computed from past prices only; they do not know about results, dividends, news or the wider market.
- Rules on a single day's values ignore divergences, volume and chart patterns.
- Thresholds (70/30, 80/20, ±100) are conventions, not laws; they work differently in trending and sideways markets.
- This is an educational rule engine, not investment advice. Decide position size and stop-loss before buying.
What each indicator measures, and when it says buy, wait or sell
Each step gives the formula, the worked example from the default inputs, how to read the value, and the textbook buy, avoid and sell conditions.
01Simple moving averages: SMA (25, 50, 100, 200)Expand
Why: Averages smooth daily noise and show the direction of the trend over different horizons.
Worked example: Price 28.36 is above SMA 25 (27.35), 50 (26.86), 100 (25.68) and 200 (24.51), and the averages are stacked 25 > 50 > 100 > 200: an orderly uptrend.
Data sources: Daily closing prices; 200 sessions for the long-term average.
How to interpret: Buy setups favour price above a rising SMA 200 with SMA 50 above SMA 200 (golden cross). Avoid buying below a falling SMA 200. A close below SMA 50, and especially a fall of SMA 50 below SMA 200 (death cross), is the textbook exit signal.
Practical validation: Averages lag: crossovers confirm a trend after it has started and give false signals in sideways markets.
02Bollinger bands: BB (20, 2)Expand
Why: Bands two standard deviations around a 20-day average show when price is unusually far from its recent mean.
Worked example: Bands 29.71 / 27.64 / 25.58: %B = (28.36 − 25.58)/(29.71 − 25.58) = 0.67, upper half but inside the bands.
Data sources: 20 daily closes.
How to interpret: In an uptrend, a pullback to the middle band that holds is a buy setup. Avoid buying when price rides above the upper band (%B > 1) after a sharp run. A close back below the middle band after an upper-band run is an early exit warning.
Practical validation: Touching a band is not by itself a signal: strong trends can walk along a band for weeks. Narrow bands (a squeeze) warn that a large move is coming, not its direction.
03Relative strength index: RSI (14)Expand
Why: Measures the speed of recent gains against recent losses on a 0–100 scale.
Worked example: RSI 72.25: above 70, overbought.
Data sources: 14 daily price changes, smoothed.
How to interpret: Buy setups: RSI rising back above 30 from oversold, or holding 40–50 during a pullback in an uptrend. Do not buy when RSI is above 70 (chasing). Sell or trim setups: RSI falling back below 70 from overbought, or bearish divergence (price makes a higher high, RSI a lower high).
Practical validation: In strong uptrends RSI can stay above 70 for long periods; in downtrends below 30. Read it with the trend, not against it.
04Stochastic oscillator: STOCH (9, 6, 3)Expand
Why: Shows where the close sits within the recent high–low range, and its turning points.
Worked example: %K 52.86 below %D 75.98: %K has crossed down from near the overbought zone, so short-term momentum is turning down.
Data sources: 9-session highs, lows and closes.
How to interpret: Buy setups: %K crossing above %D below 20. Avoid buying with both lines above 80. Sell setups: %K crossing below %D above 80.
Practical validation: Very sensitive; many crossovers are noise. Use it for timing within the trend set by the moving averages.
05MACD (12, 26, 9)Expand
Why: The gap between a fast and a slow exponential average measures trend momentum; its signal line shows when that momentum turns.
Worked example: MACD 1.04, signal 1.04, histogram 0.00: positive (uptrend) but momentum has stalled; the next crossover decides.
Data sources: Daily closes; exponential averages need about 35 sessions to settle.
How to interpret: Buy setups: MACD crossing above its signal, strongest when above zero. Avoid buying while the histogram shrinks after a run. Sell setups: MACD crossing below its signal, strongest when it then falls below zero.
Practical validation: Lags at turning points and whipsaws in flat markets.
06Rate of change: ROC (9)Expand
Why: Percentage change over 9 sessions: the simplest momentum measure.
Worked example: ROC 4.07%: price is 4% above its level 9 sessions ago.
Data sources: Two closing prices 9 sessions apart.
How to interpret: Buy setups: ROC turning positive in an uptrend. Avoid buying when ROC is very high relative to its own history (an extended move). Exit warning: ROC turning negative while price is below SMA 50.
Practical validation: Depends entirely on the price 9 sessions ago; one unusual day can distort it.
07Commodity channel index: CCI (14)Expand
Why: Distance of the typical price from its average, scaled by mean deviation.
Worked example: CCI 18.41: within the normal −100 to +100 range.
Data sources: 14 sessions of highs, lows and closes.
How to interpret: Buy setups: CCI rising back above −100, or crossing above +100 at the start of a trend. Avoid buying when CCI is far above +200. Sell setups: CCI falling back below +100 from above.
Practical validation: Unbounded scale; extreme thresholds differ by stock and market.
08Pivot point, supports and resistancesExpand
Why: Levels from the previous session's high, low and close that traders watch for the next session.
Worked example: From H 29.35, L 28.03, C 28.36: P 28.58, S1 27.81, S2 27.26, S3 26.49, R1 29.13, R2 29.90, R3 30.45. Price 28.36 is below the pivot.
Data sources: Previous session's high, low and close.
How to interpret: Buy setups: a bounce from S1/S2 in an uptrend, or a close above R1 (breakout). Avoid buying just below resistance with little room to rise (poor reward-to-risk). Exit reference: a close below S2 or S3 shows sellers in control.
Practical validation: Short-term levels for the next session only; they shift every day.
09Volatility: VOLT (10)Expand
Why: How much the price typically moves; used to size positions and set realistic stop distances.
Worked example: VOLT 0.50 on a price of 28.36: about 1.8% of price.
Data sources: 10 sessions of prices.
How to interpret: Not a buy or sell signal. Higher volatility calls for smaller positions and wider stop-loss distances; a stop closer than one VOLT is likely to be hit by normal noise.
Practical validation: Check how your broker defines it before relying on the number.
Maturity: Educational prototype
Reproducible worked example: the default inputs above. Reload the page to restore them; the same inputs always give the same results.
Verified: 2 automated tests check the calculations against hand-computed or independently specified values and against invalid inputs:
- technical signals: uptrend but overbought means wait; textbook buy, sell and falling-knife cases
- pivot levels reproduce a broker app's published support and resistance
Benchmark: The pivot formulas reproduce all seven support, pivot and resistance values shown in a broker app from the session's high, low and close.
Not yet: Rules are not backtested on historical market prices; their hit rate is unknown. Not independently reviewed.
Educational tool. Results depend on the inputs and assumptions above and are not financial, investment or professional advice. Calculations run in your browser.