// PRODUCT 01 — SELF-HOSTED CHARTING OS
DAFECharts OS
A charting platform with a brain. On your hardware. No cloud.
Professional-grade, self-hosted charting powered by a local AI Trade Advisor. Every bar, every indicator, every analysis — running on your machine, completely offline.
// Capabilities
Everything a terminal should be.
Nothing a cloud needs.
// CHARTING
12 Bar Types
From standard candles to advanced bar structures — every view you need to read price action structurally.
// LANGUAGE
OakScript
A custom scripting language with 40+ built-in indicators. Write your own logic and run it instantly.
// RENDERING
3D Visualizations
Volume, structure and indicators rendered in 3D — powered by WebGPU compute shaders.
// PRACTICE
Real-Time Paper Trading
Test ideas in live market conditions without risking capital — the way systems should be validated.
// INTELLIGENCE
Offline AI Advisor
A local AI that reads charts, generates indicators, and searches the web — no data leaves your machine.
// SOVEREIGNTY
Your Hardware, Your Rules
Self-hosted end to end. No cloud dependency, no subscription treadmill, no middleman.
// Specifications
System report.
// NEXT RELEASE
Run your analysis
on your machine.
DAFECharts OS is in active development. Early access is by consultation — book yours.
// CHARTING
12 Bar Types
Every bar construction is a lens on the same market. DAFECharts renders twelve — from the classic candlestick to structure-first footprints — each with its own dedicated engine in the core charting library.
- Candlestick — classic OHLC candles, green up / red down.
- Heikin-Ashi — smoothed candles that filter noise and clarify trend.
- Renko — price-movement bricks, independent of time.
- Range Bar — bars that close on fixed price distance.
- Volume Bar — bars sized by fixed volume thresholds.
- Tick Bar — bars sized by fixed trade counts.
- Kagi — directional line breaks on a reversal amount.
- Footprint — bid/ask volume rendered at each price level.
- Line — clean close-price line chart.
- Area — filled line chart for trend emphasis.
- Dollar Bar — bars sized by fixed dollar volume.
- Imbalance Bar — order-imbalance bars that surface absorption.
// LANGUAGE
OakScript
A complete PineScript-inspired scripting language built from scratch — its own lexer, recursive-descent parser, pre-flight validator, and a bar-by-bar interpreter that runs in your browser.
- Full language — var / varip persistent state, if/else, for & while loops, ternary, functions.
- 40+ indicators — SMA, EMA, RSI, MACD, Bollinger, ADX, Ichimoku, VWAP and more.
- OakRing — fixed-size circular buffer with full statistics (median, percentile, stdev).
- Matrix — 2D grid math: transpose, multiply, add, subtract.
- Arrays & math — 22+ array functions plus a complete math library.
- Colors — color.new, color.rgb, color.from_gradient for data-driven palettes.
- input() — declarative parameters with a live overrides panel.
- Built-in editor — syntax highlighting, validation, docs browser, indicator gallery.
// RENDERING
3D Visualizations
Indicators escape the flat plane. Three.js renders volume, structure and every scripted plot as explorable geometry — orbit, zoom, and read the market in depth.
- 15 styles — surface, ribbon, bars3d, scatter, wireframe, helix, vortex, manifold, nebula, constellation, torus, trail, ridgeline and more.
- Three pane modes — unified full-chart 3D scene with orbit controls, dedicated lower 3D pane, legacy overlay.
- Volume profile 3D — extrude and heatmap modes with POC and value area.
- Isometric mode — 8 visual engines: Thermal, Nebula, Quantum, DNA, Constellation and more.
- WebGPU compute — GPU particle systems, 10,000+ particles at 60fps.
- Adaptive quality — frame-rate governor auto-tunes shadows and particles.
// PRACTICE
Real-Time Paper Trading
A full brokerage simulation runs beside the chart — place real order types, watch realistic fills, and track P&L without risking a cent.
- Five order types — market, limit, stop, stop-limit, trailing-stop.
- Realistic execution — configurable commission and slippage modeling.
- Position tracking — long/short with realized and unrealized P&L.
- Live ticks — the last candle updates in real time and rolls on close.
- Currency-aware — auto-detects USD, EUR, GBP, JPY, CHF, CAD, AUD, NZD.
- Adaptive units — quantity input switches between shares, contracts, lots, coins.
// INTELLIGENCE
Offline AI Advisor
A local LLM — llama.cpp or Ollama — reads your chart like a trader: recognizes structure, evaluates risk/reward, writes and refines OakScript, and pulls market context from the web. Nothing leaves your machine.
- Chart vision — the visual adapter compresses the chart into snapshots at three detail tiers.
- OakScript Coder — a second persona that generates, edits and validates indicator scripts.
- Market intel — web search for news, earnings and risk context.
- Voice — wake word "Advisor", continuous listening, natural TTS.
- Memory — conversations persist in IndexedDB with keyword search.
- Token optimization — budgets context per model; runs advisor + coder concurrently.
// SOVEREIGNTY
Your Hardware, Your Rules
No cloud, no accounts, no subscription treadmill. The entire platform — charts, AI, data, models — runs on your machine and answers to you.
- 100% self-hosted — frontend, backend and LLM run on your hardware.
- Local models — 3B–12B GGUF quantized models on disk, hot-swappable.
- GPU-aware — auto-detects NVIDIA, AMD and Apple Silicon; tunes launch parameters.
- Data stays home — API locked to localhost; nothing is telemetried.
- One-click launch — start.bat brings up chart, API and LLM together.
- No middleman — no per-seat cloud fees, no data brokers.