Minimum Requirements
-
Account Type: ECN / RAW / LOW Spread
-
Recommended Brokers: IC Markets, IC Trading, or similar ECN brokers
-
Minimum Deposit: $100 (1:100 leverage)
-
Recommended Deposit: $200 (1:100 leverage)
-
Minimum Leverage: 1:100 (1:100 recommended)
-
VPS: Required for 24/7 operation
Core Features
-
Automated BreaktheCage with adjustable range hours
-
Dynamic position sizing: Fixed, Fixed per Balance, Percentage Risk, or Fixed Money
-
Advanced stop management: Break-even, trailing stop, and dynamic stop loss/take profit
-
Range filtering system to avoid false breakouts
-
Trade limits and time-based controls (Max trades, close times, delete pending orders)
-
Built-in chart dashboard and debug mode
-
Fully optimized for XAU/USD and major pairs (1-minute timeframe recommended)
Key Parameters
-
Risk & Volume: FixedLots , FixedLotsPerMoney , RiskPercentage , RiskMoney
-
Stops & Targets: StopLossPips , TakeProfitPips , StopCalcMode , TargetCalcMode
-
Management: BEStopTriggerValue , TSLTriggerValue , TSLValue , TSLStepValue
-
Limits: MaxTotalTrades , MaxShortTrades , MinRangePoints , MaxRangePoints
-
Timing: DeleteOrdersHour , ClosePositionsHour
-
Other: MagicNumber , ChartComment , DebugMode
Recommended Settings (EUR/USD Example)
-
Range Time: 02:00 – 06:00 (London pre-session)
-
Risk: 1% per trade ( VOLUME_PERCENT )
-
Stop Mode: CALC_MODE_FACTOR = 0.5
-
MaxTotalTrades: 1
-
Timeframe: M1
-
Run on VPS continuously
Common Issues
-
EA not trading: Check broker time zone and AutoTrading settings
-
Lot errors: Ensure broker supports lot size and margin
-
Unexpected closures: Verify ClosePositionsHour or MaxTrades limit
BreaktheCage_with_Pivot_Point EA - Current Configuration
Unlike many other programs in the mql5 market this is a REAL day trading strategy. It does not use any martingale or grid functionalities and follows a logical concept.
The Range Breakout Expert Advisor can be used to trade time ranges. The market often finds its direction in the morning hours and then follows this trend for the day. This expert advisor is designed to trade these trends after the morning breakout. Still you can trade all sorts of time breakouts with this program. I use the strategy in a live trading account for many years now and so far it is doing really good.
Please do your own testing!! My inputs might not be the best ones and there might be better settings. I cannot give any advice or recommendation since I cannot predict future market movement.
CURRENT SETTINGS CONFIGURATION
General Settings
Timeframe Range Calculation: 1 Minute (M1)
- Chart timeframe used for range calculation (always use PERIOD_M1 for live trading and only change in tester if you do not have enough M1 data)
Volume Settings
Trading Volume Type: Risk Percentage of Balance (VOLUME_PERCENT selected)
Current Volume Parameters:
- Fixed Lots: 0.01
- Fixed Lots Per X Money: 0.01
- Money Amount (for Fixed Lots Per Money): 1000.0
- Risk Percentage of Balance: 1.0%
- Risk Money Amount: 100
Available Trading Volume Modes:
- VOLUME_FIXED → Uses a fixed lot size for every trade
- VOLUME_MANAGED → Uses "Fixed Lots" per each Fixed Lots Per x Money amount of money in your trading account
- VOLUME_PERCENT → The lot size will be calculated so that the set percentage of your account will be lost if the initial SL is triggered
- VOLUME_MONEY → The lot size will be calculated so that the set amount of money will be lost if the initial SL is triggered
Time Settings
Range Definition:
- Range Start Hour: 3
- Range Start Minute: 0
- Range End Hour: 6
- Range End Minute: 0
- Trading Range: 03:00 - 06:00 (3-hour morning range)
Order Management:
- Delete Orders Hour: 18
- Delete Orders Minute: 0
- Order Expiration Time: 18:00
Position Management:
- Close Positions: true (ENABLED)
- Close Positions Hour: 18
- Close Positions Minute: 0
- Positions Close Time: 18:00
Trade Settings
Take Profit Configuration:
- Target Calc Mode: Off (CALC_MODE_OFF)
- Target Value: 0
- Take Profit in Pips: 0
- Status: No TP will be placed
Stop Loss Configuration:
- Stop Calc Mode: Factor (CALC_MODE_FACTOR)
- Stop Value: 1
- Stop Loss in Pips: 0
- Distance Calculation: SL distance is 1x multiple of the current range
TP And SL Calculation Modes:
- CALC_MODE_OFF → No TP/SL will be placed
- CALC_MODE_FACTOR → Distance is a multiple of the current range
- CALC_MODE_PERCENT → Distance is a percentage of the current range high (for buy) or low (for sell)
- CALC_MODE_POINTS → Distance is set in points
Trailing Stop Settings
Break Even Stop:
- BE Stop Calc Mode: Off (TSL_MODE_OFF)
- BE Stop Trigger Value: 0.0
- BE Stop Buffer Value: 0.05
- Status: Break Even Stop is INACTIVE
Trailing Stop Loss:
- TSL Calc Mode: Off (TSL_MODE_OFF)
- TSL Trigger Value: 0.0
- TSL Value: 100.0
- TSL Step Value: 10.0
- Status: Trailing Stop is INACTIVE
TSL Calculation Modes:
- TSL_MODE_OFF → Trailing stop is inactive
- TSL_MODE_PERCENT → Distance is a percentage of the position open price
- TSL_MODE_POINTS → Distance is set in points
Trading Frequency Settings
Daily Trade Limits:
- Max Long Trades: 1
- Max Short Trades: 0 ⚠️ SHORT TRADING DISABLED
- Max Total Trades: 1
Current Strategy: Long-only trading with maximum 1 buy trade per day
Range Filter Settings
Range Size Filters:
- Min Range Points: 0.0 (no minimum filter)
- Min Range Percent: 0.0 (no minimum filter)
- Max Range Points: 1000000.0 (essentially unlimited)
- Max Range Percent: 100.0 (essentially unlimited)
Status: All ranges are accepted regardless of size
More Settings
Visual Settings:
- Range Color: Aqua
- Show Range Rectangle: true (ENABLED)
Trading Settings:
- Order Comment: "BreaktheCage_with_Pivot_Points"
- Magic Number: 12345
- Chart Comment: true (ENABLED)
- Debug Mode: false (DISABLED)
Order Buffer Points: Not visible in screenshots (default: 0 = No Buffer)
STRATEGY SUMMARY
This EA is currently configured to:
- Monitor a 3-hour morning range from 03:00 to 06:00
- Trade LONG ONLY (short trades disabled)
- Risk 1% of account balance per trade
- Use a stop loss of 1x the range size (no take profit)
- Allow maximum 1 long trade per day
- Close all positions at 18:00 (end of trading day)
- Delete pending orders at 18:00 if not triggered
- Accept all range sizes (no filters applied)
- No trailing stop or break-even stop active
NOTES AND RECOMMENDATIONS
⚠️ Important Observations:
- No Take Profit: The EA is set to run without a take profit target. Positions will either hit stop loss or be closed at 18:00.
- Long Only Strategy: Short trades are completely disabled (Max Short Trades = 0). Consider if you want to enable both directions.
- 1% Risk: You're risking 1% of your account per trade, which is conservative and appropriate for most traders.
- No Range Filters: The EA will trade any size range. Consider adding minimum/maximum range filters to avoid trading in extremely tight or wide ranges.
- No Trailing Stop: Consider enabling a trailing stop to lock in profits as the trade moves in your favor.
- Time Zone: Ensure the range times (03:00-06:00) align with your broker's server time and target the desired market session.