Strategy Examples
Learn from complete, production-ready strategy implementations organized by complexity.
Basic Strategies
Perfect for getting started with Kronos. These strategies use 1-2 indicators and simple logic.
- RSI Strategy - Classic momentum with oversold/overbought levels
- Moving Average Crossover - Golden/death cross trend following
- Bollinger Bands Mean Reversion - Fade extremes, target the middle
Intermediate Strategies
Add sophistication with multiple indicators, filters, and risk management.
- Multi-Indicator Confirmation - Require 3/4 signals to agree
- MACD with Trend Filter - Only trade with prevailing trend
- ATR Risk Management - Dynamic stops and position sizing
Advanced Strategies
Complex strategies for experienced traders: portfolios, arbitrage, and multi-asset.
- Portfolio Strategy - Trade multiple assets with individual analysis
- Cross-Exchange Arbitrage - Exploit price differences across exchanges
Using These Examples
Run a Strategy
- Copy the complete code to your project
- Save as
strategy.go - Run backtest:
kronos backtest
Customize
Each example is a starting point. Common modifications:
- Adjust indicator parameters (RSI 14 → 20)
- Change position sizes
- Add stop losses
- Combine multiple strategies
- Add your own filters
Learn by Reading
Each example includes:
- Strategy Overview - Type, indicators, risk level
- Complete Code - Copy-paste ready
- How It Works - Step-by-step explanation
- Key Concepts - Important principles
- Improvements - Ideas for enhancement
Next Steps
- Writing Strategies - Deep dive into strategy development
- API Reference - Full indicator documentation
- Configuration - Set up for production