Skip to content

Instantly share code, notes, and snippets.

View dvashchuk's full-sized avatar

Dennis dvashchuk

View GitHub Profile
@dvashchuk
dvashchuk / Fundamentals.pine
Created November 13, 2026 18:59
Fundamentals
//@version=6
// ─────────────────────────────────────────────────────────────────────────────
// PETER LYNCH + MOMENTUM + PEER VALUATION ANALYZER (v6)
// Combines Lynch fundamentals & peer-relative valuation with daily momentum:
// 1. Is this a good business? → Business: Strong / Good / Weak
// 2. Is it reasonably valued? → Valuation: Cheap / Fair / Expensive (vs Peers or Manual)
// 3. Is momentum uptrending? → Momentum: 0–100 score (6M ROC, 52W, MACD, RSI)
// 4. Is the trend & entry right? → Timing: Daily MAs + MACD (>0) + RSI
// 5. How are peers valued? → Peers: Live P/E, Forward P/E, and PEG comparison
// ─────────────────────────────────────────────────────────────────────────────
@dvashchuk
dvashchuk / build-project-graph.sh
Last active July 22, 2026 05:27
640K ought to be enough for anybody. 50$ too
code-review-graph-build() {
command -v code-review-graph || pipx install code-review-graph
code-review-graph install
code-review-graph build
}