Skip to content

TradingView Users

For Pine Script writers who want to take their backtesting to the next level with AlphaForge.

Division of Roles

TradingView AlphaForge
Charts and indicator visualization Statistical backtesting and optimization
Rapid idea validation with Pine Script Parameter optimization (Optuna/Bayesian)
Alert triggering Walk-forward validation
Visual entry confirmation Quantitative strategy evaluation (Sharpe, max DD)

Typical Workflow

1. Prototype your idea in Pine Script on TradingView
2. Port to an AlphaForge JSON strategy
3. Run full backtest with forge backtest run
4. Optimize parameters with forge optimize run
5. Re-export to Pine Script with forge pine generate
6. TradingView alert → Alpha Strike auto-execution (optional)

Getting Started

# Create a strategy from template
forge strategy create my_strategy --template hmm_bb_rsi

# Fetch daily data (e.g. QQQ)
forge data fetch QQQ --start 2020-01-01

# Run backtest
forge backtest run QQQ --strategy my_strategy