◆GEM HUNTERQUANT SCREENING
Framework: Graham + Lynch Factor Model

HOW IT WORKS: QUANTITATIVE METHODOLOGY

A simple, human-friendly explanation of the math, formulas, and scientific research behind the Gem Hunter ranking algorithm on the Indonesia Stock Exchange (IDX).

1. The Big Picture: Why Combine Graham & Lynch?

Investing often pulls people into two extremes: buying "cheap stocks" that turn out to be dying businesses (the famous value trap), or buying "exciting growth stocks" at outrageously inflated prices that crash when hype fades.

Gem Hunter bridges the two philosophies by combining two legendary Wall Street approaches into a single balanced score:

1. The Graham Shield (Value & Safety)

Benjamin Graham (Warren Buffett's mentor) focused on downside protection: finding stocks selling at a steep discount compared to the real cash and assets they already own.

2. The Lynch Engine (Growth at Fair Price)

Peter Lynch (legendary Fidelity Magellan manager) looked for growing businesses, but insisted you should never overpay for that growth (Growth At A Reasonable Price, or GARP).

2. Step-by-Step Math & Formulas

2.1 Graham Value & Margin of Safety (MOS)

Imagine walking into a supermarket and seeing an item genuinely worth $100 on sale for $60. That $40 gap is your safety buffer if something goes wrong. In the stock market, Graham calculated this fair value by checking how much profit a company earns ($EPS$) alongside its net physical assets ($BVPS$).

The classic Graham Intrinsic Value formula uses $22.5$ as a benchmark multiplier (based on Graham's rule of thumb that a fair company should not exceed $15 \times$ earnings and $1.5 \times$ book value):

\[ V_{Graham} = \sqrt{22.5 \times EPS \times BVPS} \]

Where:

Once we have Graham's estimated fair value ($V_{Graham}$), we compare it to today's market price ($P$) to measure the discount, known as the Margin of Safety ($MOS$):

\[ MOS = \frac{V_{Graham} - P}{V_{Graham}} \]

A higher $MOS$ means you are buying the business at a bigger discount to its fundamental backing.

2.2 Peter Lynch's PEG Ratio (Valuation vs. Growth)

A Price-to-Earnings ($P/E$) of 20 might look expensive on paper. But what if the business is growing its profits by 30% a year? That is actually a bargain! Conversely, a P/E of 10 for a company growing at only 2% is secretly overpriced. Peter Lynch created the PEG ratio to check if the growth speed justifies the price tag:

\[ PEG = \frac{P / E}{g_{EPS} \times 100} \]

Where $g_{EPS}$ is the year-over-year earnings growth rate (for example, $0.20$ for $20\%$ annual growth).

Rule of thumb: A PEG around $1.0$ is considered fairly priced. A PEG well below $1.0$ indicates you are getting high growth at an attractive price. For ranking, lower is better, so the algorithm prioritizes companies with a lower PEG ratio.

2.3 Why Percentile Ranking? (Grading on a Curve)

Suppose one company has a normal Margin of Safety of $30\%$, while another company experienced a one-time abnormal accounting event that temporarily made its raw score $5,000\%$. If we simply averaged raw numbers, that one outlier stock would distort and break the whole scale for everyone else!

To solve this fairly, we do what university professors do: we grade on a curve. Instead of using raw numbers, every eligible stock is ranked from worst to best against its peers across the entire exchange. The top company gets a score near $100$, the average company gets around $50$, and the bottom gets near $0$. If two companies tie, they cleanly share the average rank:

\[ PR(x_i) = \frac{\text{Rank}_{avg}(x_i) - 0.5}{N} \times 100 \]

Where:

2.4 Final GL Composite Score (The Recipe)

How much weight do we give to safety (Graham) versus growth (Lynch)? We give a slightly higher weight of 55% to Graham to prioritize capital preservation first, and 45% to Lynch to capture growth acceleration:

\[ GLScore_{raw} = 0.55 \times PR_{Graham} + 0.45 \times PR_{Lynch} \]

A normalization vector $V_{ABC} = [83.35, 86.55, 84.79]$ is used as an econometric baseline to maintain cross-cohort consistency across varying market cycles:

\[ GLScore = \min\left(100, \, GLScore_{raw} \times \frac{\|V_{ABC}\|_2}{\bar{V}_{ABC}}\right) \]

The final score ranges from 0 to 100, making it easy to spot top candidates at a glance: 90+ Exceptional, 80+ Strong, 70+ Attractive, 60+ Neutral, and <60 Weak.

3. Scientific Evidence & Peer-Reviewed Literature

This model is not built on market rumors or short-term technical chart guessing. It is anchored in decades of peer-reviewed financial economics research:

What the research proved: Nobel Laureate Eugene Fama and Kenneth French proved across 50+ years of stock market data that stocks with high book-to-market values (value stocks) systematically generate higher long-term returns than overpriced stocks.

🔗 View Journal Paper (DOI: 10.1111/j.1540-6261.1992.tb04398.x)

What the research proved: Researchers at AQR Capital and NYU Stern demonstrated that pairing price safety with high profitability and growth protects investors against "cheap value traps" and delivers superior risk-adjusted portfolio performance.

🔗 View Journal Paper (Springer DOI: 10.1007/s11142-018-9470-2)

What the research proved: Empirical analysis of stock selections verified that portfolios formed using low PEG ratios consistently beat broad market benchmarks over multi-year holding periods.

🔗 View Original Paper (SSRN Abstract 1020268)

The foundational text: The pioneering work that proved purchasing shares with an explicit Margin of Safety minimizes permanent capital impairment.

🔗 View Columbia Business School Original Book PDF

The practical playbook: Documented the track record of the Fidelity Magellan Fund (which achieved a 29.2% annualized return over 13 years) by systematically identifying fast-growing businesses trading at modest valuations.

🔗 View Publisher Book Page (Simon & Schuster)

4. Common-Sense Quality & Hygiene Filters

Before any score is calculated, every stock on the exchange must pass through strict sanity checks:

Gem Guard Surveillance Anti-Manipulation & UMA

HOW GEM GUARD DETECTS MARKET MANIPULATION & UMA

A complementary, security-focused methodology that screens the same universe for manipulation risk: High Share Concentration (HSC), Unusual Market Activity (UMA) spikes, and pump-and-dump patterns. Returns to the live monitor on the Gem Guard page.

5. Price Impact Ratio (Official BEI Method)

The Indonesia Stock Exchange (BEI) employs the Price Impact Ratio (PIR) as an early warning metric for stocks with Highly Concentrated Shareholding (HSC) vulnerable to artificial price manipulation with minimal capital outlay.

Step 1: Compute Trading Velocity

\[ Velocity = \frac{\text{Average Daily Volume}_{30d}}{\text{Free Float}} \]

Velocity represents the proportion of free float changing hands daily. Stocks with low velocity indicate an illiquid public float, meaning a small trade can swing the price dramatically.

Step 2: Price Impact Ratio (PIR)

\[ PIR = \frac{\left| \frac{P_t - P_{t-1}}{P_{t-1}} \times 100\% \right|}{Velocity} \]

Low Velocity combined with a high absolute price movement drives PIR upwards, signaling a disproportionate, suspicious market impact relative to actual trading depth.

BEI Regulatory Scope: Applied to equities with market capitalization exceeding Rp 10 Trillion and evaluated every quarter. A PIR reading above 2.0 flags severe price-to-volume sensitivity and triggers deeper scrutiny.

6. Unusual Market Activity (UMA) Trigger Criteria

Under BEI surveillance policy, Unusual Market Activity (UMA) is flagged when trading parameters breach statutory abnormality thresholds. Gem Guard monitors three independent triggers:

a. Extreme Price Spike (ARA Limit)

\[ Price\ Spike = \frac{P_t - P_{t-1}}{P_{t-1}} \times 100\% \]

UMA Warning Trigger: Price reaching the upper auto-rejection limit (ARA) for > 2 consecutive trading days.

  • Price > Rp 5,000: ARA threshold = 20%
  • Price Rp 200 - Rp 5,000: ARA threshold = 25%
  • Price Rp 50 - Rp 200: ARA threshold = 35%

b. Abnormal Volume & Frequency Spike

\[ Volume\ Spike = \frac{V_t}{\overline{V}_{20d}}, \qquad Frequency\ Spike = \frac{F_t}{\overline{F}_{20d}} \]

UMA Warning Trigger: Volume or trade frequency surging 3x to 5x above the 20-day historical moving average in the absence of material corporate disclosures.

c. Flag Combinations: A simultaneous price spike near ARA plus an extreme volume spike produces the strongest manipulation signal.

7. Machine Learning Feature Architecture

Derived from academic empirical studies on the IDX market (Sergi, Wongkar & Suhariono, 2025; IEEE Xplore, 2023), Gem Guard constructs high-dimensional feature vectors to detect pump-and-dump mechanics. Features cluster into two domains:

Market & Momentum Features

  • Multi-horizon Returns ($R_t$): 1d, 3d, 5d, 10d, and 20d percentage price deltas.
  • Historical Volatility ($\sigma$): $\sigma = \sqrt{\frac{1}{n-1}\sum_{i=1}^{n}(R_i - \bar{R})^2}$ over 5d, 10d, and 20d windows.
  • RSI (14 periods): Detects extreme overbought momentum regimes ($RSI > 80$).
  • Moving Average Ratio: $MAR = \frac{P_t}{MA_{20}}$, a statistical divergence measure.
  • Price Acceleration: $PA = R_t - R_{t-1}$, the rate of change of momentum itself.

Fundamental & Insider Governance Features

  • Insider Holdings %: $\frac{\text{Insider Shares}}{\text{Total Shares}} \times 100\%$ from Sectors /insider/.
  • Debt to Equity (DER): $\frac{\text{Debt}}{\text{Equity}}$ from Sectors /financials/; a DER > 2.0 flags leverage risk.
  • Current Ratio & ROE: Liquidity and fundamental earnings viability baselines.
  • Insider Liquidation: Selling > 5% of shares inside a 30-day window.

Ground Truth Event Labeling

\[ Label_t = \begin{cases} 1 & \text{if } t \in [UMA\_date - 5,\ UMA\_date + 5] \\ 0 & \text{otherwise} \end{cases} \]

Model training relies on event windows around formal BEI UMA announcements as positive ground truth, ensuring the classifier learns from real regulatory flags rather than arbitrary thresholds.

8. Classifier Benchmarks & Imbalance Handling (SMOTE)

Because verified market manipulation cases on the IDX constitute roughly 2.8% of aggregate trading days, a naive classifier would simply predict "normal" almost every time and appear highly accurate while missing all manipulation. Gem Guard addresses this with SMOTE (Synthetic Minority Oversampling Technique), generating synthetic examples of the rare manipulation class during training so the model learns to recognize it.

Model Architecture Accuracy / Benchmark Key Behavioral Advantage Academic Reference
Random Forest 97.0% Accuracy (3-day event window) Highest sensitivity to multi-day volume and price spike combinations IEEE Xplore (2023)
Random Forest + SMOTE MCC: 0.3405, F1: 0.3583 Superior handling of severe class imbalance without false positive explosion IDX Empirical Study
LightGBM Sub-millisecond inference Fast tree-split updates for intra-day, real-time screening Standard ML Benchmark
Gem Sentinel Surveillance Springate Model (MDA)

HOW GEM SENTINEL DETECTS FINANCIAL DISTRESS & BANKRUPTCY RISK

An automated surveillance module using the Springate Score Model (Multiple Discriminant Analysis / MDA) optimized for the Indonesia Stock Exchange (IDX). Identifies the Top 5 most vulnerable companies. View the live monitor on the Gem Sentinel page.

9. Springate Financial Distress Model

The Springate Score is an MDA framework that analyzes 4 key financial ratios to predict corporate financial distress with high historical accuracy in Indonesian public companies:

\[ \text{Springate Score} = 1.03(X_1) + 3.07(X_2) + 0.66(X_3) + 0.40(X_4) \]
Variable Ratio Formula Financial Rationale
$X_1$ $\frac{\text{Working Capital}}{\text{Total Assets}}$ Measures net liquidity and available working capital cushion relative to asset base.
$X_2$ $\frac{\text{EBIT}}{\text{Total Assets}}$ Measures asset productivity in generating operating profit before debt/tax expenses.
$X_3$ $\frac{\text{Profit Before Tax (EBT)}}{\text{Current Liabilities}}$ Measures the firm's capacity to service short-term liabilities from ongoing earnings.
$X_4$ $\frac{\text{Revenue}}{\text{Total Assets}}$ Measures total asset turnover and revenue generation efficiency.
Decision Thresholds (Cutoff):
  • Score < 0.50: 🔴 Critical Financial Distress (Severe solvency & default risk).
  • 0.50 ≤ Score < 0.862: 🟠 Moderate Financial Distress (Vulnerable to debt & cash flow shocks).
  • Score ≥ 0.862: 🟢 Healthy Zone (Financially resilient).
Gem Hunter, Gem Guard, and Gem Sentinel are quantitative screening research tools and not financial advice, a recommendation to buy or sell securities, or a guarantee of future performance. Always conduct your own comprehensive analysis.