🧠 AI Optimization
Note: This is the initial release (V1) of the AI Clustering feature. Ongoing development will introduce further refinements and capabilities.
Transform Infinity Algo into a self-improving system that adapts to markets automatically.
Quick Start: Enable AI → Select mode (Static/Walk-Forward) → Choose metric → Let AI optimize
🚀 Quick Setup
Enable AI
Turn ON 🧠 Enable AI Optimization in settings
Choose Mode
Backtesting? →
Static (Full History)Live Trading? →
Walk-Forward
Select Signal Type
Choose AI or AI Sniper in Signal Mode
That's it! Default settings work for most users.
🎯 How AI Works
1️⃣ Simulate
2️⃣ Evaluate
3️⃣ Apply
Tests 100s-1000s of parameter combinations
Scores each using your metric
Implements best configuration
Walk-Forward: Periodically re-optimizes on a rolling in-sample window and validates out-of-sample, reducing overfitting.
⚙️ Core Settings
Optimization Modes
Walk-Forward
Updates every N bars
Live trading
Static
Optimizes once, locks
Backtesting
Walk-Forward Only
100 bars (default) → Ultra-responsive (high CPU)
200-1000 bars → Balanced ✅
1000-5000 bars → Very stable, slower to adapt
Examples on 1h chart:
- 100 bars = ~4 days
- 1000 bars = ~42 days
- 5000 bars = ~208 daysLower = More responsive but intensive | Higher = More stable and efficient
Parameter Space
Very Fast
5-9
Scalping
Fast
10-14
Day Trading
Balanced ✅
10-20
Most Strategies
Medium
15-21
Swing Trading
Slow
22-28
Position Trading
Auto
5-28
Full exploration
Choose Your Goal
Quick Selection:
Scalping
Win Rate
Consistency matters
Day Trading
Sharpe Ratio
Balance risk/return
Swing
Sortino Ratio
Downside protection
Position
Calmar Ratio
Avoid drawdowns
All Available Metrics:
Classic: Total Profit, Win Rate, Average P&L, Gain-to-Pain
Risk-Adjusted: Sharpe, Sortino, Calmar, Martin
Advanced: SQN (System Quality Number), Robust ML Score
Important: High win rate ≠ profitability. A 90% win rate with large losses can be unprofitable.
📈 Simulation Settings
AI Sim TP% (Testing Only)
Note: These are internal simulation parameters - they do NOT create real orders
What they do:
Help AI evaluate strategies
Set internal profit targets
Default: 1.0% both directions
Long TP: 1.0%
Short TP: 1.0%
Purpose: AI testing only
Real trades: Not affected📊 Dashboard Display
Live Monitoring
When enabled, see:
✅ Current optimal sensitivity
✅ Selected thresholds
✅ Win rate & metrics
✅ Confidence score
✅ Mode status
Status Indicators:
STATIC (LOCKED)- One-time optimization completeOPTIMIZING- Currently calculatingSIMULATED- Results ready

💡 Best Practices
Use Static for initial testing
Select Balanced sensitivity
Default 100 bar frequency
Match metric to goals
Walk-Forward needs ~535 bars for first optimization
Static needs ~5000 bars total
Lower timeframes → Complex calculations
Monitor dashboard → Track selections
Small adjustments → Better results
Patience required → AI needs time
Limits:
Max lookback: 5000 bars
Lower frequency = Higher CPU
Static = One calculation only at bar 4900
Higher TF = Better performance
🔧 Troubleshooting
Timeout
Use Static or increase frequency
No signals
Check AI Optimization is ON
Poor results
Try different metric/range
No dashboard
Enable in settings
Static fails
Need 5000+ bars data
⚡ Quick Reference
For Testing
Mode:
StaticRange:
BalancedMetric:
Total ProfitFrequency: N/A
Min bars: 5000
For Live Trading
Mode:
Walk-ForwardRange:
BalancedMetric: Your preference
Frequency:
100(default)Min bars: 535
📚 Understanding Performance Metrics
Bottom Line: Let AI handle optimization while you focus on trading decisions and risk management.
Last updated
Was this helpful?

