




š§ Whatās Fixed and Improved
FeatureImprovement
ā Trailing Stop Works Reliably
Now updates only when in profit, ensuring legal distance, and logs every change.
ā New cTrader API Compatibility
Uses ModifyPosition(..., ProtectionType.None) correctly.
ā Trailing Step Control
Avoids too-frequent micro-adjustments (smooth stop movement).
ā Broker Safety Checks
Prevents SL placement too close to current bid/ask.
ā Logging
Prints every trailing update in the āJournalā tab for transparency.
š Usage Tips
- Run the bot on a lower timeframe (e.g., 5M or 15M) with HigherTimeframe = Hour4.
- You can tune:
ATRMultiplierā controls volatility-based SL/TP size.TrailingATRMultiplierā defines how close trailing SL follows price.TrailingStepPipsā defines how often the trailing SL moves.
- Logs like
[Trailing Updated] BUY new SL: 2375.10confirm the feature works.
š§ How it works now
The trailing-stop system activates only once
position.NetProfit > MinProfitToTrail.
You can tune this in the bot parameters before running:
Example: set Min Profit ($) to Start Trailing = 0.50
ā trailing begins once the trade is up at least $0.50.
Debug logs still print every decision for transparency.








.jpeg)














