Aurora Straddle Pro
- Experts
- Versione: 2.10
- Attivazioni: 5
Aurora Straddle Pro v2.10 is an automated trading system designed around a Dual-Directional Straddle / Breakout Strategy. It is specifically engineered to capture strong price movements during high-volatility events, such as major economic news releases or market session opens, while maintaining strict risk management and dynamic profit-locking controls.
1. Signal Execution: Dual Pending OrdersThe EA operates on a dynamic straddle setup designed to capture momentum:
-
New Bar Check: On the opening of every new bar/candle, the EA checks if there are no existing open positions or active pending orders for the symbol.
-
Simultaneous Buy & Sell Stops: The EA places two pending orders around the current market price (running price):
-
Buy Stop: Placed above the current Ask price by InpDistancePoints(default: 300 points).
-
Sell Stop: Placed below the current Bid price by InpDistancePoints(default: 300 points).
-
-
Hard SL & TP Protection: Every pending order is submitted with predefined Stop Loss (SL) and optional Take Profit (TP) values directly attached, ensuring account safety against sudden market spikes.
When market volatility drives price in one direction and triggers an order:
-
Order Trigger: One of the pending orders (e.g., Buy Stop) gets filled and converts into an active position.
-
Opposite Order Deletion: The EA instantly detects the active trade and deletes the opposite pending order (Sell Stop). This OCO mechanism prevents accidental double exposure or unintended hedging when the market swings.
To ensure sustainable risk across various account sizes, the EA includes an automated lot calculator:
-
Risk-Based Auto Lot: When InpUseAutoLot = true, lot sizes are dynamically calculated based on a percentage of the available account free margin ( InpRiskPercent, default: 2%).
-
Lot Calculation Logic: The EA calculates the exact monetary risk based on the Stop Loss distance, adjusting the volume so that maximum potential loss aligns with the specified risk parameter.
-
Broker Specification Checks: Before order placement, the EA validates free margin requirements, broker maximum lot caps ( SYMBOL_VOLUME_MAX), and account order limit thresholds ( ACCOUNT_LIMIT_ORDERS).
Instead of relying solely on static Take Profit levels, the EA uses an adaptive Trailing Stop to maximize profitable trends:
-
Trailing Activation: Once an active position reaches a minimum profit target defined by InpTrailingStartPoints(default: 150 points), the trailing routine activates.
-
Step-by-Step Adjustment: The Stop Loss is automatically adjusted closer to the current market price by InpTrailingStepPoints(default: 100 points) as price advances.
-
Profit Lock: If the market reverses, the trade closes at the updated Stop Loss level, securing locked-in profits.
-
Daily Profit Target: Tracks daily net floating and closed profit (including swaps and commissions). Once InpDailyProfitTargetis achieved, the EA closes all open orders/positions and suspends trading until the next calendar day.
-
Max Spread Filter: Prevents trade placement during extreme market conditions or illiquid hours if the current spread exceeds InpMaxSpreadPoints.
-
Session End Protection: Halts new pending order placement during daily rollover windows (23:55) to avoid extreme spread widening and execution slippage.
