analyze
Weigh IDX stock readings into one bullish, neutral, or bearish lean with a confidence score and supporting evidence from broker flow, trend, valuation, and candlestick patterns.
Instructions
Weigh several readings of one IDX stock into a single lean — bullish, neutral or bearish — with a confidence score and the evidence behind both.
CONFIDENCE IS NOT A PROBABILITY. It measures how complete and internally consistent the evidence is — how many pillars were readable, whether they agree, how far the composite sits from neutral, and how fresh the data is. It STOPS AT 90 by construction, because nothing in this data source could justify claiming more about a future price.
Four weighted pillars: broker flow and positioning (0.35 — the signal no other data source has), trend across daily/weekly/monthly (0.30), valuation (0.20), candlestick patterns (0.15). A pillar that cannot be read is reported as MISSING, contributes nothing, and its weight is redistributed — it never lands as a neutral vote, because 'we could not see it' and 'we looked and it was balanced' are different answers.
WHAT IT CANNOT DO: there is no analyst consensus or price target anywhere in this server, so nothing here reflects what analysts forecast. Valuation is scored against ABSOLUTE bands, not sector peers — treat it as weak for banks, property and cyclicals. Community sentiment is counted, never scored.
FLOOR-LOCKED STOCKS: when the last close sits on the auto-rejection floor, broker accumulation-versus-distribution carries no information; the flow pillar is downgraded and says so. Read that as unreliable, not as bearish.
COST: about 27 upstream requests at the default 260 bars — 22 bar pages (12 rows each) plus five single-shot reads — issued sequentially. Use technicals or timeframe_alignment if you only want the numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | Daily sessions to pull (default 260 ≈ one trading year; 500 also fills the monthly view) | |
| symbol | Yes | IDX ticker, e.g. BBRI | |
| broker_period | No | Broker-flow window (default LAST_7_DAYS). YEAR_TO_DATE costs the same one request. | |
| pattern_window | No | Sessions of candlesticks to read (default 10). Must be at least 1. | |
| include_sentiment | No | Fetch the community post count for context (default true). Never scored. |