The Expert Advisor uses the main strategy on the breakdown, plus 2 additional strategies based on sharp price changes.
You can adjust the breakout angle, the distance between breakout levels, and the number of breakout levels.
The Expert Advisor independently marks the levels that you want to break through.
The Expert Advisor has 2 basic strategies for sudden price changes: That is, the Expert Advisor opens pending Sell Stop and Buy Stop orders when the price changes sharply in any direction and closes them automatically with the desired profit. Also, this robot insures your deposit by setting the SL, the parameters of which you determine yourself. (additional strategies can be disabled).
An adaptive trailing stop algorithm is used.
The Expert Advisor uses a system of closing positions in case of slippage.
Attention! The Expert Advisor is only for “hedging” accounts.
Attention! The Expert Advisor is only for “hedging” accounts.
Monitoring: https://www.mql5.com/en/signals/796239
Monitoring: https://www.mql5.com/en/signals/796239
[spoiler title=”Read More…”]
Version for Meta Trader 4: https://www.mql5.com/ru/market/product/16494
Optimized for: EURUSD M30.
You can set up your Breakout Expert Advisor for any currency pair / timeframe.
All instructions for setting up the Expert Advisor are shown in the photo.
Optimized for: EURUSD M30.
You can set up your Breakout Expert Advisor for any currency pair / timeframe.
All instructions for setting up the Expert Advisor are shown in the photo.
- show_info_panel — Information panel. (false-Speeds up testing in the strategy tester).
- Magic-Transaction ID.
- Comment — Comments on the order.
- Slippage — Allowed slippage before the order is triggered.
- Max Spread — The maximum allowed spread before triggering a pending order.
- Order Type — Trading directions.
The main strategy:
- Use Strategy Breakdown-true the main breakdown strategy is used.
- fixed_lot-The lot is constant (if “use_risk_mm” = false).
- Use riskmm — Set to true, the lot size increases as the account balance increases. (Risk management).
- Percentage Risk-Increase the lot size based on the balance (risk management in %).
- Quantity Peak-Select the number of breakdown peaks (1-5).
- Visibility Orders — Visibility of pending orders.
- Updating Orders-Updates of pending orders for each N bars.
- Correction Next Peaks — Distances in points of distance between orders.
- Correction Peaks Angle — Slope of peaks in points.
- Correction Indicator Peaks Period-Setting up peak search.
- Correction High Peaks — The distance from the peak of the maximum to the pending order.
- Correction Low Peaks — The distance from the pico minimum to the pending order.
- Take Profit — Take profit in points.
- Stop Loss — Stop loss in points.
- Use Break Even — If true, the stop loss price moves to breakeven if the price is higher than the target points.
- Breakeven Target pipsinp — If the price exceeds this value, breakeven is triggered.
- Breakeven Jump pipsinp-Stop loss moves to breakeven by this value.
- Set Trailing Mod — 6 modifications of the trailing stop.
- Trailing Mod 1;
- …
- Trailing Mod 6;
- Use Trailing-true profit is protected by a trailing stop.
- Trailing Stop — Trailing points when the position is in profit.
- Trailing Step — The trailing step when the position is in profit.
- Slippages on Risk Protection — Adaptive protection in case of slippage.
- Adaptive Trailing to Slips — Adaptive trailing stop.
- Change Correction Coefficient Trailing-stop – Coefficient of trailing sensitivity.
- Adaptive by Time — adaptive trailing by time.
- Time Scale — Time range for price analysis.
- Custom commission — the Commission for the calculation of slippage.
- Trailing Mod 1;
- …
- Trailing Mod 6;
Settings for two additional strategies:
- Use News Strategy Min,Max — If true, we use additional strategy 1, 2.
- Visibility orderstop News Percent-Setting a pending order if N percent is passed.
- Delete orderstop News Percent-Delete a pending order if N percent is less.
- Step Orders — Step of the distance from the virtual order to the current price.
- Step Factor Orders — A factor if the price moves from a virtual order.
- Step Orders Factor reverse — Reverse if the price moves to the virtual order.
[/spoiler]