import React from 'react'; import { BookOpen, X } from 'lucide-react'; import 'katex/dist/katex.min.css'; import { BlockMath, InlineMath } from 'react-katex'; interface ScannerMathModalProps { isOpen: boolean; onClose: () => void; } export default function ScannerMathModal({ isOpen, onClose }: ScannerMathModalProps) { React.useEffect(() => { const handleKeyDown = (e: KeyboardEvent) => { if (e.key === 'Escape') { onClose(); } }; if (isOpen) { window.addEventListener('keydown', handleKeyDown); } return () => { window.removeEventListener('keydown', handleKeyDown); }; }, [isOpen, onClose]); if (!isOpen) return null; return (
Institutional Specification Manual
Filters stocks experiencing extreme technical selling deviations backed by cheap fundamental valuations.
Scans the entire corporate equity universe daily, segmenting equities into three distinct market capitalization classes to identify localized overreactions:
Calculates price distance ratios relative to support levels:
1. 52-Week High Deviation:
2. 50-Day Moving Average Drop:
3. Relative Strength Index (RSI-14) with smoothing:
where smoothed elements use Welles Wilder
To avoid value traps, technical drop factors are coupled with valuation metrics fetched in real-time from FMP:
Implicit Forward P/E calculation from PEG relationship:
If PEG is unavailable, a default growth rate of