system was treating them as percentages (530.13%), causing ridiculous targets SOLUTION: - calculateStopLoss(): Convert AI absolute stopLoss.price to percentage - calculateTakeProfit(): Convert AI absolute takeProfits.tp1.price to percentage - Proper calculation: ((targetPrice - currentPrice) / currentPrice) * 100 - Before: SOL @85 → TP: 530.13% = ,152 🤯 - After: SOL @85 → TP: 2.8% = 90 ✅ This ensures scalping trades have realistic targets instead of 500%+ gains.
49 KiB
49 KiB