- The swing strategy can be used on the H1 or M30 interval, as well as on M15 or M5 (there’ll be more trades, but the risk will be greater)
- For the strategy of trading on gaps, it is suggested to choose the timeframes M30 or H1
- For trading on support and resistance levels, it is recommended to choose M30, H1 or H4
This is not a scalper Expert Advisor. It works with all brokers with the accuracy of quotes to points. The optimal lot size is 0.02 for every 500 USD (AutoLot = 500).
- UseSwing-Swing strategy trading
- Swing_TimeFrame – the timeframe for the strategy Swing
- UseSR – trading on the support and resistance strategy
- SR_TimeFrame-timeframe for the support and resistance strategy
- UseGap – trading on the Gap strategy
- Gap_TimeFrame – the timeframe for the strategy Gap
- minGap – minimum gap size in points
- Start trading, hour – the hour when the EA starts working
- Start trading, minute – the minute when the EA starts working
- End trading, hour – the end time of the Expert Advisor
- End trading, minute – the minute when the EA ends
- Start pause, hour – the hour when the EA starts pausing
- Start pause, minute – the minute when the EA starts pausing
- End pause, hour – the hour of the end of the pause in the work of the Expert Advisor
- End pause, minute – the minute when the pause in the EA operation ends
- Max. spread size – the maximum allowed spread size
- Max. total of trades – maximum number of open trades
- Execution Order Type – the type of order execution (if necessary, contact your broker).
- ORDER_FILLING_FOK – this execution policy means that the order can be executed only in the specified volume.
- ORDER_FILLING_IOC – means that you agree to make a trade at the maximum volume available on the market within the limits specified in the order.
- ORDER_FILLING_RETURN – in case of partial execution, the market or limit order with the remaining volume is not removed, but continues to operate.
[spoiler title=”Read More…”]
- ORDER_FILLING_FOK – this execution policy means that the order can be executed only in the specified volume.
- ORDER_FILLING_IOC – means that you agree to make a trade at the maximum volume available on the market within the limits specified in the order.
- ORDER_FILLING_RETURN – in case of partial execution, the market or limit order with the remaining volume is not removed, but continues to operate.
:::::::::: Money Management:::::::::::
- Lot – initial lot size
- AutoLot-automatic lot calculation based on the account size
- Lot x – lot multiplier for the next trade
- TP all trades – when more than one trade is opened, all trades will be closed at the specified profit in points
- Multipair closing-allows you to close trades in pairs (loss vs. profit)
- TP-take profit in points
- SL-stop loss in points
- TP1 Lot% – partial closing when profit is reached, % of the lot
- TP1-closing part of the transaction when the specified profit in points is reached
- SL1 Lot% – partial closing when a loss is reached, % of the lot
- SL1-closing part of the trade when the specified loss is reached in points
- SL on BE-when the specified profit is reached (in points), moves the stop loss to the opening price of the transaction
- SL on BE – the “SL on BE” function moves the stop loss by the specified number of profit points
- TrailingSL start profit-start moving the stop loss at the specified profit in points
- TrailingSL distance-moving the SL level at the specified distance from the current price
- TrailingSL step – the step of moving the stop loss level in points
- TrailingTP start loss – start moving the take profit at the specified loss in points
- TrailingTP distance-moves the TP level at the specified distance from the current price
- TrailingTP step – the step of moving the take profit level in points
- Magic – the magic number of trades
- comment – comment on transactions
Example of the AutoLot function:
- Settings
- Lot = 0.02
- AutoLot = 500
- If the balance = 1000
The deal size will be 0.04 lots - If the balance = 1500
The amount of the transaction will be lots 0.06 - If the balance = 2000
The deal size will be 0.08 lots
Example of the Multipair closing function:
The Expert Advisor tracks the entire score based on the first two numbers inThe magic number.
Market situation:
- EURUSD-Magic 5511-the purchase transaction has a loss of 100 points
- GBPUSD-Magic 5522-the sale transaction has a profit of 130 points
The first two numbers in the magic numbers are the same (55), so both trades will be closed with a total profit of 30 points (the TP all trades parameter = 30)
[/spoiler]