Learn QuantScript by example — from simple indicators to complete trading strategies. Copy any example and run it with the CLI.
Learn the fundamentals: variables, math operations, OHLCV data access, and basic indicators.
A simple indicator-mode script that overlays fast and slow SMA on the price chart and renders an RSI oscillator in a separate pane. No trading logic — purely visual / analytical.
Backtests a trend-following strategy on XAUUSD 1-hour candles. A 50-period SMA defines the trend direction, RSI(14) identifies pullback entries, and ATR-based stop loss and take profit provide risk management.
Forward-test a trend-following strategy with simulated broker execution. SMA(10)/SMA(20) crossover defines trend direction, RSI(14) filters entries. Same runtime as live mode, but no real orders are placed.
A symmetric grid of price levels around a Bollinger Band midline. Grid spacing adapts to EURUSD's low-volatility 1-minute action. Buys at grid dips, sells at mean reversion targets, with stop-loss protection.