Manual / SEO / GEO

Chart Analysis Manual

This manual explains every major area in InvestFlow Chart Analysis, the underlying page logic that powers the numbers, and the meaning of the indicators drawn on the chart. It is written both for human readers and for search engines or answer engines that need structured explanations for terms like AI chart analysis, VWAP, EMA crossover, Bollinger Bands, RSI reading, buy zone, stop loss, and TP-first probability.

0) Quick Onboarding

The recommended reading order is simple: pick a ticker, confirm timeframe and period, inspect the chart overlays, read the probability card, validate the buy zone and stop loss, then review backtest and warnings before acting.

Chart Analysis Header + search + timeframe + analyze Probability 67.4% Technical Snapshot Entry / TP / Stop / RR
Step 1. Dashboard overview
The page is designed as a single-stock execution console: chart on the left, decision cards on the right, and explanation plus diagnostics below.
Probability & Signal 67.4% TP-first probability 32.6% downside risk Adjusted 67.4% Raw 63.1% Resolved 142 / Candidates 318 Timeouts 18 / Ambiguous 9
Step 2. Probability read
The main score is not a generic bullish percentage. It is the model’s TP-first historical outcome rate for similar setups.

1) What The Page Does

chart-analysis.html is where InvestFlow turns a scanner idea into a concrete single-symbol decision frame. The page tries to answer five questions at once: what is the trend structure, what does the historical setup engine say, where is the disciplined entry band, where should the trade be invalidated, and what warnings reduce confidence?

Best use case

Use it after Analysis 1, Analysis 2, or a watchlist has already narrowed down the symbol universe.

Primary output

The page is optimized for timing and risk framing, not just raw prediction.

Decision style

The built-in decision layer resolves to practical states like BUY NOW, WATCH, WAIT FOR ENTRY, and CHASING RISK.

2) Header, Search, Favorite Symbols, Timeframe, Period

ElementRoleLogic note
Header symbol stripShows current symbol, displayed price, and change.Updated by updatePageHeader().
Search boxAccepts ticker input.The symbol is normalized to uppercase before fetch.
Favorite buttonSaves or removes a tracked symbol.Uses local storage key trading-guide-favorite-tickers.
Favorite chipsFast jump back to tracked symbols.The page also stores the add price.
1d / 60m / 5mTimeframe control.Sent to API as tf.
6m / 1y / 3y / 5yHistory depth control.Sent to API as period.
AnalyzeTriggers the page pipeline.The request is built in fetchTradingGuide().

3) Multi-Model Ranking Strip

The strip above the main dashboard connects this symbol back to Analysis 1 and Analysis 2 ranking logic. It asks whether the symbol also scores well in scanner models like Alpha Discovery, Breakout Radar, Stable Trend Picks, True Relative Value, or Hedge Fund Style.

Operational meaning: a chart may look attractive visually, but the ranking strip answers whether the same symbol is also passing broader scanner logic elsewhere in InvestFlow.

4) Main Chart Anatomy

The main chart is rendered by renderMainChart(). Candles show price, the lower histogram shows volume, the green band shows the buy zone, and dashed horizontal lines show TP1, TP2, and stop loss.

TP2 mark line TP1 mark line Stop loss mark line Buy zone mark area VWAP dotted line EMA50 EMA20 EMA200 Volume histogram / lower panel anchor

5) Indicator Glossary

IndicatorVisible now?Meaning on this page
EMA20YesFast trend guide for short swing direction.
EMA50YesIntermediate trend anchor and fallback buy-zone trend filter.
EMA200YesLong trend anchor. EMA50 above EMA200 suggests healthier structure.
VWAPYesInstitutional average price anchor. The fallback buy zone is built around VWAP.
Bollinger BandsYes, optionalVolatility envelope for squeeze, expansion, and stretch analysis.
RSI14YesMomentum oscillator. 70 is heat, 30 is washout or oversold stress.
ATR14Used in logicHelps define fallback buy-zone width and risk spacing.
MACD / ADX / Stoch RSI / OBV / MFI14Prepared in dataNormalized by the page even if not all are surfaced as visible toggles right now.

EMA calculation

The user-adjustable EMA overlays are recalculated locally by calculateEma(), so changing EMA A, B, or C updates the visual guide immediately.

Bollinger calculation

The page recalculates bands locally by calculateBollinger() using the selected length and standard deviation multiplier.

6) Probability & Signal Logic

The Probability & Signal card is the main model-interpretation panel. Its headline number is TP-first probability, not a vague “bullish percent.” It measures how often similar setups historically hit take profit before stop loss.

FieldMeaningHow to read it
analysis.p_upAdjusted TP-first probability.Main model output for upside resolution before downside invalidation.
analysis.p_downAdjusted downside complement.Model-side opposite resolution risk.
probability.p_up_rawRaw probability.Useful for transparency before smoothing or adjustment.
Resolved / CandidatesHistorical evidence count.Higher sample count usually improves confidence in the signal class.
Timeouts / AmbiguousUnresolved or noisy outcomes.High values mean the setup class may be less clean than the main score suggests.
Confidence labelHuman-readable confidence descriptor.Useful shorthand, but secondary to evidence depth and warnings.
Important: probability means historical TP-first outcome for similar setups, not guaranteed price direction. The page explicitly says this in the UI and in its explanation logic.

7) Quick Decision Logic

The Quick Decision card is created by updateQuickDecisionCard(). It is deterministic logic built from entry-zone location, probability quality, current price, and signal text.

DecisionRuleInterpretation
BUY NOWPrice is inside the buy zone and probability is good, or signal includes BUY.Conditions are aligned enough for an active entry.
WAITProbability is weak or signal includes AVOID.The model is actively discouraging entry quality.
WAIT FOR ENTRYPrice is still below the buy zone.The idea may be valid, but entry has not come into the intended band.
CHASING RISKPrice is above the buy zone.Extension is too high relative to the planned risk box.
WATCHDefault fallback state.Nothing is decisively broken, but alignment is incomplete.
This card is intentionally conservative. If price has already moved too far above entry, the page warns against chasing instead of flattering the setup.

8) Technical Snapshot: Buy Zone, TP1, TP2, Stop Loss, Risk / Reward

The Technical Snapshot turns model output into execution structure. If the API already provides a buy zone, that zone is used. If not, the page computes a fallback with deriveFallbackBuyZone().

Fallback buy zone recipe

Anchor at VWAP, scale width with ATR14, check whether EMA50 >= EMA200, and use RSI neutrality to tighten or widen the band.

Why it exists

When API-side entry levels are missing, the page still gives a structured entry framework instead of leaving the user with empty values.

FieldSourceMeaning
BUY ZONEanalysis.buyZone or fallbackPreferred controlled entry band.
TP1analysis.targets.tp1First upside objective.
TP2analysis.targets.tp2Second extended objective.
STOP LOSSanalysis.stopLossInvalidation line.
RISK / REWARDanalysis.riskRewardPayoff asymmetry near the intended entry range.

9) Backtest Performance

This card frames the probability engine with strategy behavior. A good TP-first score is stronger when Sharpe, drawdown, sample size, and average R also look healthy.

MetricMeaningPractical reading
Sharpe RatioReturn efficiency relative to volatility.Very high values can be good, but extremely high values may also hint at overfit.
Max DrawdownWorst peak-to-trough historical loss path.Deep drawdown lowers real-world usability.
Total ReturnAggregate backtest result.Best read alongside drawdown and sample size.
Win RateShare of winning outcomes.Useful, but must be paired with RR.
SamplesHistorical evidence count.Small sample size weakens confidence.
Average RAverage reward-to-risk style return unit.More useful than raw return alone for trade systems.

10) Analysis Summary, Drivers, Risk Warnings, Data Status

Analysis Summary

If model explanation bullets are missing, buildExplanation() creates fallback bullets from regime, EMA structure, buy-zone logic, and probability context.

Signal Drivers

renderDrivers() displays factor bars so the user can see whether strength is broad or concentrated in only one factor.

Risk Warnings

renderWarnings() adds warnings for low sample size, deep drawdown, and suspiciously high Sharpe values, on top of API warnings.

Data & Status

This block explains freshness, cache status, candidate window, engine name, horizon, and TP / SL ATR multiples.

This section is especially important for GEO and LLM indexing because it makes the page self-describing: what data source is used, how fresh the data is, and what model assumptions are visible.

11) Drawing Tools, Screenshot, Save PNG, Chart Only, Landscape

ToolFunctionStorage or effect
CursorSelect and manage drawings.Saved per symbol, timeframe, and period with a storage key like trading-guide-drawings:{symbol}:{tf}:{period}.
Trend LineDraw diagonal trend structure.
Price LineDraw horizontal support or resistance levels.
RectangleMark zones such as bases or supply / demand regions.
TextAdd notes directly on the chart.
Undo / Redo / ClearManage drawing history.Uses local undo and redo stacks.
Chart Only / LandscapeExpand chart reading space.Changes visual mode only.
Screenshot / Save PNGExport chart image.Built from the main chart and RSI chart in buildChartExportBlob().

12) Code And Data Flow

This is the main execution chain behind the page.

1. Analyze click symbol + tf + period 2. fetchTradingGuide() GET /api/trading-chart-guide 3. normalizeTradingGuideResponse() bars + indicators + analysis 4. renderUI() + renderMainChart() cards + chart + RSI 5. Decision frame entry / risk • validateData() checks that bars, indicators, and analysis objects exist. • deriveFallbackBuyZone() fills missing entry ranges from VWAP + ATR + EMA + RSI. • renderWarnings() adds sample-size, drawdown, and overfit risk notes.

13) FAQ For SEO, GEO, And LLM Discovery

What does Up Probability mean in InvestFlow Chart Analysis?

It means the historical probability that similar setups reached take profit before stop loss. It is not a guaranteed prediction and should be read with sample count, risk warnings, and entry location.

How is the buy zone calculated if the API does not return one?

The page derives a fallback buy zone from VWAP, ATR, EMA50, EMA200, and RSI conditions so the user still gets a disciplined entry band.

Which chart indicators matter most on this page?

EMA20, EMA50, EMA200, VWAP, Bollinger Bands, and RSI are the main visible interpretation tools. ATR is especially important in the underlying zone logic.

Is this page for long-term investing or trading?

It is mainly a timing and risk-framing page. Long-term investors can still use it to improve entries, but the structure is optimized for execution discipline.

Search intents this manual is designed to answer include AI chart analysis manual, how to read VWAP and EMA together, TP-first probability meaning, Bollinger Bands chart guide, RSI stock chart interpretation, and how to calculate buy zone and stop loss.

Disclaimer

This manual and the Chart Analysis page are for research and education only. They are not personalized financial advice and should be used together with independent judgment and position sizing discipline.