Exp - Swing strategy (Pendulum). Automatic opening of 2 opposite pending orders, OCO orders.

Exp – Swing strategy (Pendulum). Automatic opening of 2 opposite pending orders, OCO orders.

Trade Report of TickSniper and the best advisors from Expforex
Signal bar indicator. Which bar should you take a signal from? Drawing indicators.
Trade Report of TickSniper and the best advisors from Expforex
Signal bar indicator. Which bar should you take a signal from? Drawing indicators.

  • Main
  • Documentation
  • Settings
  • FAQ
  • Changelog
  • Reviews
  • Comments
  • Extra

About Swing

The model of the well-known strategy Pendulum or Swing is the sequential opening of pending orders with an increased lot.

The principle is two pending orders are placed, and when one order is activated, the second order is re-pending before the whole basket is closed by take-profit.

Also, an algorithm has been added for the partial closing position – Exp TralPartionClose.

There are three types of opening pending orders in our advisor!

  1. Auto-opening after installation ( Instant opening AutoTrade )
  2. Opening and maintenance after manual opening ( Manual opening ManualTrade )
  3. Opening on the High Low  levels ( High Low for the past bar TFTrade )

An OCO (One-Cancels-the-Other) order is a type of conditional order that consists of two orders. The first order is automatically cancelled if the second order gets executed.

Example of Trading with Swing

  • At startup, the advisor sets two Buy Stop and Sell Stop orders at a distance of StopOrderDeltaifUSE from the current price.
  • If Buy Stop is triggered, Sell Stop is deleted and, in its place, installed Sell Stop with BuyStop * Martin lot.
  • If Sell Stop is triggered, Buy Stop is deleted and, in its place, installed Buy Stop with Sell Stop * Martin lot.
  • When the take-profit is achieved, all orders are deleted, and everything starts again!

To achieve the swing effect, the parameters StopOrderDeltaifUSE and StopLoss must be equal.

How does it work?

Exp – Swing or Pendulum trade

Exp – Swing Main Functions

Exp – Swing Auto Trading

Exp – Swing Manual Trading

Exp – Swing Trading by High Low levels

Example Swing trade

Manual Trading

Example Swing trade

Trading by High Low levels

Example Swing trade

Auto Trading

What do people write about Swing?

  • Chris 2023.05.02 18:36
    Awesome EA. Just wish it was on MT5 as well.
    Chris
    ⭐⭐⭐⭐⭐
  • Touro1908 2023.03.24 23:13
    Amamzing EA lovet. in just 1 hour. I went from 141 usd to 152 usd. hope to have the upgrade of it!!!!!! very smart calculation!!!!
    Touro1908
    ⭐⭐⭐⭐⭐
  • sugihara1 2023.01.25 09:01
    It is good strategy. I made a video.I used TDS(with tick data) for backtesting. performance was awesome. You should watch to this, when you have time.
    sugihara1
    ⭐⭐⭐⭐⭐
  • Manuka Pradeep De Silva 2022.12.12 16:58
    if you know how to handle martingale, this is a very good EA for that !! Best feature of this EA is, it has partial closing of trades option which can be use to increase your profits. if you can add an option to change the settings of orders(stop order distance, its take profit value, partial closing trailing start point and rollback points) after given number of orders it would be more functional and safe. ( currently i'm doing it by manually after few swings to protect the capital) . other problem is with its time calculator. it uses local system time rather than broker time. so i had to change time values each time i change the vps with different system time.( some time i trade only in specific time periods) thank you very much for this FREE EA and highly appreciate your hard working !
  • ss life 2022.10.29 10:56
    i would say Very smart hardworker robot, seems realy good in High volume market range, but we need to modify the "stop orders distance" @ 50 work great in small target(5pips), against high volume market.
    ss life
    ⭐⭐⭐⭐⭐
  • Yuan Chen 2022.09.02 13:20
    整体思路非常好,不知道作者有没有更新版本
    Yuan Chen
    ⭐⭐⭐⭐⭐
  • Taufik Andri Widodo 2023.04.10 13:36
    good EA, I hope this can be used on mt5
    Taufik Andri Widodo
    ⭐⭐⭐⭐⭐

You can Download free Swing

FULL for FREE!

This is the FULL FREE version without limits!
You can download and install our program for free!

Useful links


Download MetaTrader

How to buy How to install Strategy Tester VPS MetaQuotes MT4 Log Files MT5 Log Files

Description

The model of the well-known strategy Pendulum (OCO orders) is the sequential opening of pending orders with an increased lot.

The principle is two pending orders are placed, and when one order is activated, the second order is re-pending before the whole basket is closed by take-profit.

Also, an algorithm has been added for the partial closing position – Exp TralPartionClose.

There are three types of opening pending orders in our advisor!

  1. Auto-opening after installation ( Instant opening AutoTrade )
  2. Opening and maintenance after manual opening ( Manual opening ManualTrade )
  3. Opening on the High Low  levels ( High Low for the past bar TFTrade )

At startup, the advisor sets two Buy Stop and Sell Stop orders at a distance of StopOrderDeltaifUSE from the current price. If Buy Stop worked, Sell Stop is deleted and is set in its place. Sell Stop with BuyStop * Martin lot. If Sell Stop is triggered, Buy Stop is deleted and, in its place, installed Buy Stop with the Sell Stop * Martin lot.

When the take-profit is achieved, all orders are deleted, and everything starts again!

To achieve the swing effect, the parameters StopOrderDeltaifUSE and StopLoss must be equal.

Type of trade with Swing

In our advisor, there are three types of opening pending orders!

  1. Auto-open after installation,
  2. Opening and maintenance after a manual opening
  3. Opening on High Low!

TypeofTrade – Choosing an Expert Advisor Trading Mode!

We made the Expert Advisor who worked in 3 different types. Let us examine them in more detail:

AutoTrade or opening after installation EA:

In this mode, the advisor works to maintain the manual positions:

Algorithm:

  1. At startup, the advisor sets two Buy Stop and Sell Stop orders at a distance of StopOrderDeltaifUSE from the current price.
  2. If Buy Stop worked, Sell Stop is deleted and set in its place Sell Stop with a larger lot size, BuyStop * Martin lot.
  3. If Sell Stop is triggered, Buy Stop is deleted, and in its place is installed  Buy Stop with a larger lot size, the Sell Stop * Martin lot.
  4. If the position receives a loss, then the current series is considered not closed! And the advisor continues to work with the algorithm!
  5. If the position received a take-profit, then the position is closed, and everything starts again.

Result of work:

ManualTrade or tracking after manual opening :

In this mode, the EA waits for the trader to open the position using our panel for the EAPADPRO advisor.

Algorithm:

  1. On startup, the Expert Advisor waits until the user opens the position from our EAPADPRO panel.
  2. Only after the trader opens the position using our panel, the advisor will put the opposite pending order, while the take-profit and stop-loss will be modified according to the system settings.
  3. If Buy is open, EA set new Sell Stop with Buy lot * Martin lot.
  4. If Sell is open, EA set new Buy Stop with Sell lot * Martin lot.
  5. If the position receives a loss, then the current series is considered not closed! And the advisor continues to work with the algorithm!
  6. If the position received a take-profit, then the position is closed, and everything starts again.
  7. The advisor stops his work until the trader opens a new position.

Result of work:

TFTrade or work on High Low levels :

In this mode, the Expert Advisor works in the High and Low levels set by the variables:

TFTrade_PERIOD = PERIOD_D1; – Timeframe, according to which the advisor will determine the levels of High and Low 
TFTrade_Num = 1; – The number of bars to determine the level.

IMPORTANT!

To increase the processing speed of quotes when you set TF (Strategy Tester Period) M15, the adviser may not receive data from the indicator on TF M1!

Please Install Period = M1 during testing the strategy tester!

Code:

StopOrdersDistance = (iHigh (Symbol(), TFTrade_PERIOD, iHighest (Symbol(), TFTrade_PERIOD, MODE_HIGH, TFTrade_Num, 1))
 -iLow (Symbol(), TFTrade_PERIOD, iLowest (Symbol(), TFTrade_PERIOD, MODE_LOW, TFTrade_Num, 1))) / MarketInfo (Symbol (), MODE_POINT); 

Algorithm:

  1. At startup, the Expert Advisor calculates the HIGH and LOW levels according to the set TimeFrame.
  2. Using the formula, the EA calculates the distance and places two pending orders, Buy Stop and Sell Stop, at a distance StopOrderDeltaifUSE from the current price.
  3. If Buy Stop is triggered, Sell Stop is deleted, and EA sets a new Sell Stop with BuyStop lot * Martin lot in its place.
  4. If Sell Stop is triggered, Buy Stop is deleted, and EA sets a new Buy Stop with the Sell Stop lot * Martin lot in its place.
  5. If the position receives a loss, then the current series is considered not closed! And the advisor continues to work with the algorithm!
  6. If the position received a take-profit, then the position is closed, and everything starts again.

Result of work:

Optimization tips

We created this adviser on the pendulum algorithm.

The logic of the Expert Advisor’s work is designed to perform a mathematical algorithm.

Therefore, all parameters are automatically configured, except for the distance between two pending orders.

You can optimize all the parameters, but we will give some recommendations:

Optimization for TypeofTrade = Manual Trade and AutoTrade

Manual Trade – Maintenance of manual opening

Auto Trade – Constant opening of pending orders

It makes sense to optimize only the parameters StopOrdersDistance, MaxOrders, and Martingale

Optimization of StopOrdersDistance values: It is recommended to set parameters individually for each pair.

  1. For example, If this is the EURUSD currency pair and you trade on the M30 period and the average price movement in the period, for example, 50 bars = 7500 points, then set this parameter for optimization as start 0, step 100, stop 1000.
  2. For example, If this is the XUGUSD currency pair and you trade on the M1 period and the average price movement in the period, for example, 50 bars = 100 points, then set this parameter for optimization so: start 0, step 10, stop 100.
  3. For example, you need confirmation of the first signal and the average price movement in the period. For example, 100 bars = 1000 points, then start 0, step 50, stop 500.

Optimizing MaxOrders: In this parameter, you can specify the maximum number of knees in a series of orders so as not to lose your deposit.

  1. Start = 0; Step = 1; Stop = 10;

Optimizing Martingale values: In this parameter, you can specify an increase in the lot of the next pending router.

Start = 0.1 (If Lots> Minimum lot ); Step = 0.1; Stop = 2;

  1. If Martin is less than 1, then each next position and its lot will be less than the previous one.
  2. If the value is ​​less than 1, it makes sense to use it only when the Lots positions are more than the minimum lot on the server.
  3. If Martin is more than 1, then each next position and its lot will be larger than the previous one.
  4. The higher the value of Martin, the more dangerous the trade adviser.
  5. Martingale is a very simple and dangerous strategy.

The difference from ManualTrade is that with manual accompaniment, the adviser performs the task of closing a series of orders in profit and stops the work.

Optimization for TypeofTrade = TFTrade

TF Trade –

In this mode, the Expert Advisor works in the High and Low levels set by the variables:

TFTrade_PERIOD = PERIOD_D1; – Timeframe, according to which the advisor will determine the levels of High and Low 
TFTrade_Num = 1; – The number of bars to determine the level.

It makes sense to optimize only the parameters: TFTrade_PERIOD, TFTrade_Num

Optimizing TFTrade_PERIOD values: This is the period by which the High and Low levels are built

  1. Start = Period_M1; Stop = Period_D1;

Optimization of TFTrade_Num values: The number of last bars to determine the levels

  1. Start = 0; Step = 1; Stop = 10;

Example of use


1	02/01/18 08:00	buy stop	one	0.01	1.20304	0.00000	1.20614	 	
2	02/01/18 08:00	sell stop	2	0.01	1.20272	0.00000	1.19962	 	
3	02/01/18 09:00	sell	2	0.01	1.20272	0.00000	1.19962	 	
4	02/01/18 09:00	delete	one	0.01	1.20304	0.00000	1.20614	 	
5	02/01/18 09:00	buy stop	3	0.02	1.20304	0.00000	1.20335	 	
6	02/01/18 09:00	modify	2	0.01	1.20272	1.20304	1.19962	 	
7	02/01/18 09:03	s / l	2	0.01	1.20304	1.20304	1.19962	-0.32	9999.68
8	02/01/18 09:03	buy	3	0.02	1.20304	0.00000	1.20335	 	
9	02/01/18 09:03	sell stop	four	0.04	1.20271	0.00000	1.20239	 	
10	02/01/18 09:03	modify	3	0.02	1.20304	1.20271	1.20335	 	
11	02/01/18 09:03	s / l	3	0.02	1.20271	1.20271	1.20335	-0.66	9999.02
12	02/01/18 09:03	sell	four	0.04	1.20271	0.00000	1.20239	 	
13	02/01/18 09:03	buy stop	five	0.08	1.20304	0.00000	1.20335	 	
14	02/01/18 09:03	modify	four	0.04	1.20271	1.20304	1.20239	 	
15	02/01/18 09:05	s / l	four	0.04	1.20304	1.20304	1.20239	-1.32	9997.70
16	02/01/18 09:05	buy	five	0.08	1.20304	0.00000	1.20335	 	
17th	02/01/18 09:05	sell stop	6th	0.16	1.20270	0.00000	1.20238	 	
18	02/01/18 09:05	modify	five	0.08	1.20304	1.20270	1.20335	 	
19	02/01/18 09:07	s / l	five	0.08	1.20270	1.20270	1.20335	-2.72	9994.98
20	02/01/18 09:07	sell	6th	0.16	1.20270	0.00000	1.20238	 	
21	02/01/18 09:07	buy stop	7th	0.32	1.20304	0.00000	1.20335	 	
22	02/01/18 09:07	modify	6th	0.16	1.20270	1.20304	1.20238	 	
23	02/01/18 09:08	s / l	6th	0.16	1.20304	1.20304	1.20238	-5.44	9989.54
24	02/01/18 09:08	buy	7th	0.32	1.20304	0.00000	1.20335	 	
25	02/01/18 09:08	sell stop	eight	0.64	1.20270	0.00000	1.20237	 	
26	02/01/18 09:08	modify	7th	0.32	1.20304	1.20270	1.20335	 	
27	02/01/18 09:14	s / l	7th	0.32	1.20270	1.20270	1.20335	-10.88	9978.66
28	02/01/18 09:14	sell	eight	0.64	1.20270	0.00000	1.20237	 	
29	02/01/18 09:14	buy stop	9	01/01/28	1.20304	0.00000	1.20335	 	
30      02/01/18 09:14	modify	eight	0.64	1.20270	1.20304	1.20237	 	
31	02/01/18 09:27	s / l	eight	0.64	1.20304	1.20304	1.20237	-21.76	9956.90
32	02/01/18 09:27	buy	9	01/01/28	1.20304	0.00000	1.20335	 	
33	02/01/18 09:27	sell stop	ten	01/02/56	1.20270	0.00000	1.20237	 	
34	02/01/18 09:27	modify	9	01/01/28	1.20304	1.20270	1.20335	 	
35	02/01/18 09:34	s / l	9	01/01/28	1.20270	1.20270	1.20335	-43.52	9913.38
36	02/01/18 09:34	sell	ten	01/02/56	1.20270	0.00000	1.20237	 	
37	02/01/18 09:34	buy stop	eleven	05/12/24	1.20304	0.00000	1.20335	 	
38	02/01/18 09:34	modify	ten	01/02/56	1.20270	1.20304	1.20237	 	
39	02/01/18 09:40	s / l	ten	01/02/56	1.20304	1.20304	1.20237	-87.04	9826.34
40	02/01/18 09:40	buy	eleven	05/12/24	1.20304	0.00000	1.20335	 	
41	02/01/18 09:40	sell stop	12	01/10/24	1.20270	0.00000	1.20237	 	
42	02/01/18 09:40	modify	eleven	05/12/24	1.20304	1.20270	1.20335	 	
43	02/01/18 09:41	t / p	eleven	05/12/24	1.20335	1.20270	1.20335	158.72	9985.06

External Variables and Settings

Trade_ – section “Trade settings”.

TypeofTrade – Choosing an Expert Advisor Trading Mode!

StopOrderDeltaifUSE – distance for pending orders in Points (Pips)(default = 100).

MaxOrders – Maximum number of orders;

Magic is the magic number (777).

StopLoss – stoploss; by default, it is not used (0). + spread. In Points (Pips);

ModifyStopLossAtOrdersopen – modify the stop-loss of the transaction to the level of opening a pending order;

TakeProfit – is not used by default (0). If TakeProfit = -1, then TakeProfit = StopOrdersDistance + spread. In Points (Pips);

AdjustTP – adjust the take-profit when opening pending orders. In Points (Pips) ;

AdjustAfter – the number of steps after which there will be an adjustment.

StopDayTradingEaAfterTP – if the last position is closed by takeprofit, the EA stops work until the next day;

DeleteOppositeOrder – Delete the opposite order when triggered (OCO orders).

CloseOppositePositionsAfterTP – Close opposite orders \ positions if the current closed on the takeprofit.

Filter Spread options

MaxSpreadToNotTrade – The maximum spread at which the Expert Advisor can open the grid ;

MinSpreadToNotTrade – The minimal spread at which the Expert Advisor can open the grid;

Lots options

LotFix – lots separated by commas to open orders, for example, “0.1,0.2,0.3,0.6,0.8,1”;

MartinFix – The Martingale coefficient, separated by commas, for opening orders, for example, “2,3,1,5,2,1”;

Lots – a fixed lot (0.1).

Martin is the Martingale ratio for the next open order lot(Volume) after losing (2).

timetrade_ – section “Trade time settings”.

Open Hour is the opening hour for trades (0).

OpenMinute – the minute of opening trades (0).

CloseHour is the closing hour for trades (23).

CloseMinute is the closing time of the trade (59).

Trailing_ – section “Trailing Stop Settings”.

TrailingStopUSE – use trailing stop (false).

IfProfTrail – breakeven mode, use only for profitable positions (false).

TrailingStop – trailing stop distance, by default, using the minimum allowed (0).

TrailingStep – the distance step (1).

Partial close and Trail

StartPointToTrail – From what level of profit in points should you begin to use the trail?

RollbackPoint – the number of rollback points to close part of the position.

PercentLotToClose is the percentage of the first lot (Volume) to close the position.

StepPointToFixLevel is the number of items for fixing the next level.

MovingInWLUSE – transfer of the position to the breakeven at the first level of the trailing stop.

Volatility LIMIT Sets 

TradebyVolatility – Take into account volatility when opening the initial order grid. 

TFVolatility – The time frame by which we will calculate volatility. 

BarVolatility – The number of bars for determining volatility. 

PointVolatility – The number of points to determine volatility.

Volatility filter.

If the last BarVolatility of the bars, the average size of the High-Low is greater than the PointVolatility of the points, then trading is allowed .  

if (BarVolatility!= 0 )
     {
      volatility= 0 ;
       for ( int y= 0 ; y<BarVolatility; y++)
        {
         volatility+= iHigh ( Symbol (),TFVolatility,y)- iLow ( Symbol (),TFVolatility,y);
        }
       if (TradebyVolatility)
         if ( MathAbs (volatility/BarVolatility)<PointVolatility* SymbolInfoDouble ( Symbol (), SYMBOL_POINT ))
             if (Signal== 3 )
               Signal= 0 ;

     }

Other Options

Slippage – slippage (0).

MarketWatch – the trading mode (false). At true, first positions/orders are placed without stops. Then, modification StopLoss and TakeProfit. Suitable for some brokers;

FAQ about Swing

Thank you for reading the article to the end.

You can download my EA in the Files section!

If you wish to thank the author for this project – you can click the Thank You button.

 or buy one of our products

Changelog

Version 24.130 2024.01.31

Recompilation

Version 24.127 2024.01.27

EAPADPRO v48
+Added languages Chinese, Japanese, Korean, and Turkish.
+Added full control from the chart. Closing positions/orders, removing Stop Loss / Take Profit.
For full management and testing of Expert Advisor in the strategy tester.

Version 24.126 2024.01.26

MarginCheck for XAUUSD

Version 24.125 2024.01.25

EAPADPRO v47

Version 21.917 2021.09.17

EAPADPRO 41

Version 20.325 2020.03.24

Update Up-date

Version 20.324 2020.03.24

-EAPADPRO V35.
-Fixed a bug in the TrailPartionClose function in the Magic Number.
TrailPartionClose function restored!

Version 20.128 2020.01.28

EAPADPRO v34

Version 19.991 2019.12.02

Fixed error setting your own take profit when using TakeProfit other than -1

Version 19.906 2019.09.06

Перепутанная версия

Version 19.806 2019.08.06

Code optimization to increase the speed of testing and optimization;
EAPADPRO v31 update;
Update TrailPartionClose function;

Version 19.520 2019.05.20

Fixed error with enabling trailing stop when using manual mode and disabling ModifyStopLossAtOrdersopen.

Version 19.501 2019.05.01

EAPADPRO v28 update
Optimized the work of the EA in the Manual Trade mode when using the EA with different magic numbers on the same currency pair.

Version 19.107 2019.01.07

– Update EAPADPRO v25;
– Additional languages added to the panel: Spanish, Portuguese (Brazil), German, Chinese, Japanese;
The translation was made using the GOOGLE Translator + MQL + Terminal site!
if you find an error in your language, please report it in messages. Thank!
– Increase the speed of the panel;

Version 18.910 2018.09.10

MovingInWLUSE (true – false) LevelWLoss (in points) LevelProfit (in points).

These parameters adjust the possibility to modify deals moving the Stop Loss to break even at the earliest opportunity.

For example:

You would like to set Stop Loss in the break-even, when the deal will score +10 points of profit:
MovingInWLUSE = true, LevelWLoss=0, LevelProfit=10.
You want to set Stop Loss in +5 points when the deal will score +20 points of profit:
MovingInWLUSE = true, LevelWLoss=5, LevelProfit=20.
Therefore, the difference between LevelProfit-LevelWLoss must always be greater or equal to the minimum stop on the server.

Version 18.830 2018.08.30

Обновление EAPADPRO v20

Version 18.829 2018.08.28

New version

Version 18.828 2018.08.28

EAPADPRO update

Auto-save notification settings on the DEMO account.
Disable notifications in the Real account by default.
Added check of the status of PUSH notifications, if they are included in the terminal settings.

Added the CheckBox to enable/disable the creation of screenshots in the settings of the Panel: on the Opening / Closing.
Screenshots are created in the folder of your terminal \ Files \ Expert name \, with a size of 1024 * 768.

Added a variable in the AutoMinimize panel settings in seconds (60 seconds by default) 0 – disabled.
Automatic minimization of the EAPADPRO window after a specified number of seconds to reduce the load on the computer when the user does not interact with the GRAPH.
Any inactivity on the graph: clicking on the graph, clicking on objects, resizing the graphs – leads to the automatic minimization of the window of our EAPADPRO panel.
If the window is in focus (selected) – automatic minimize is disabled!
To disable auto minimization – set in the panel settings in the AutoMinimize = 0 field.

Replacement of fonts for correct display on computers without Russian language.

Version 18.515 2018.06.06

– Updated EAPADPRO v2.0 info panel;

– Added the EA operation type:
The EA provides three types of opening pending orders (TypeofTrade)
Auto-opening after placement (Instant opening AutoTrade)
Opening and management after manual opening (Manual opening ManualTrade)
Opening by High/Low levels (High Low for the past bar TFTrade)
TFTrade_PERIOD – timeframe for the EA to determine the High and Low levels
TFTrade_Num – the number of bars for determining a level.

– Improved the TakeProfit parameter.
If TakeProfit=-1, then TakeProfit = StopOrdersDistance

– Renamed the variables:
Lotes=Lots
TralPartionClose=TrailPartionClose
StartPointToTral=StartPointToTrail
MovingInWLUSETRAL=MovingInWLUSETRAIL

Version 17.730 2017.08.02

Fixed an error in the algorithm when using more than 3 currency pairs simultaneously.

Version 17.331 2017.04.06

– Increased the algorithm processing speed towards performance and receiving signals.

– Added the SecondsToRefresh parameter to the EAPADPRO block – refresh rate of the information on the chart (default is 10 seconds). This is done to reduce the CPU load.

Version 17.208 2017.02.14

Improved EAPADPRO

Version 17.118 2017.01.27

– All external parameters are grouped for ease of use.
– Modified the logic of opening pending orders.
– Fixed the error when opening opposite order in certain cases.
– Parameter Z was renamed to MaxOrders – The maximum number of opened pending orders.
– Fixed error of accounting the current position in the series when restarting the terminal \ Expert.

– Added parameter
DeleteOppositeOrder – Delete the opposite order when triggered.
This function allows to accumulate orders without resetting the lot.
It should be noted that positions will be closed by stop loss. It is also possible to disable closing trades by stop loss: ModifyStopLossAtOrdersopen = false
This will make the grid accumulate lots and close by take profit.

– Added parameter
MaxSpreadToNotTrade and MinSpreadToNotTrade
MaxSpreadToNotTrade – Maximum spread, at which the EA can open a grid
MinSpreadToNotTrade – Minimum spread, at which the EA can open a grid
Attention: This filter is used only! for opening the First 2 pending orders.
All other functions operate as usual, including the order reversal and maintenance of orders to take profit!

– Added parameter
LotFix – lots for opening reversal, separated by commas, for example: “0.1,0.2,0.3,0.6,0.8,1”
then a custom lot size will be used for each reversal: 0.1, 0.2, 0.3, 0.6, 0.8, 1, 1, 1…..
Attention: The first lot for the first 2 pending orders is set in the Lotes parameter

– Added parameter
MartinFix – Martingale coefficient for opening reversal, separated by commas, for example: “2,3,1.5,2,1”
then martingale will be considered in each reversal, which corresponds the number of trade.
If the initial lot is 0.1, the next will be 0.2(2), 0,6(3), 0.9(1.5), 0.18(2), 0.18(1), 0.18…..

– Added parameter
CloseOppositePositionsAfterTP – Close opposite orders/positions if the current ones closed by take profit.
For example, you can disable modification ModifyStopLossAtOrdersopen = false and enable CloseOppositePositionsAfterTP =true
then, if SELL positions close by take profit, then all BUY positions and orders will be closed forcibly.

The difference between CloseOppositePositionsAfterTP and ModifyStopLossAtOrdersopen is that
in the first case, there is a LOCK until all series is closed by take profit and closure of the opposite grid. But in this case, there may not be enough margin for opening the next leg.
In the second case, the position is immediately closed by stop loss, and only 1 position with an increased lot is kept in the market.

– Added block for accounting volatility of the currency pair for opening trades
Volatility LIMIT Sets
TradebyVolatility – Consider volatility when opening the initial grid of orders.
TFVolatility – Timeframe to calculate the volatility.
BarVolatility – The number of bars to determine volatility.
PointVolatility – The number of points to determine volatility.

– Added the EAPADPRO information panel
Details on the panel in our blog: https://www.mql5.com/en/blogs/post/687140

– The Trail Partion Close algorithm has been updated

Version 16.831 2016.09.01

Fixed the conflict between the ModifyStopLossAtOrdersopen and the Trailing stop function.

Version 16.211 2016.02.16

Added the AdjustTP parameter – correction of take profit during the opening of pending orders.
Added the AdjustAfter parameter – the number of the section after which the adjustment will take place.
Once the EA places AdjustAfter number of orders, the take profit of the next trade will be increased by AdjustTP * (NumberOfSections-AdjustAfter) points.

When a position is closed by the stop loss, we not only lose the stop loss level, but also the spread, especially if it is floating.
In order to earn a take profit, which will cover our last stop losses, we need to increase the take profit after each new pending order.
This functionality allows you to do this.

Reviews about Swing

Thanks for feedback!

Touro1908

⭐⭐⭐⭐⭐


Touro1908 2023.03.24 23:13
Amamzing EA lovet. in just 1 hour. I went from 141 usd to 152 usd. hope to have the upgrade of it!!!!!! very smart calculation!!!!

Taufik Andri Widodo

⭐⭐⭐⭐⭐


Taufik Andri Widodo 2023.04.10 13:36
good EA, I hope this can be used on mt5

Chris

⭐⭐⭐⭐⭐


Chris 2023.05.02 18:36
Awesome EA. Just wish it was on MT5 as well.

sugihara1

⭐⭐⭐⭐⭐


sugihara1 2023.01.25 09:01
It is good strategy. I made a video.I used TDS(with tick data) for backtesting. performance was awesome. You should watch to this, when you have time.

krutov64

⭐⭐⭐⭐⭐


krutov64 2023.10.13 08:25
Поставил советник, но потом убрал - не подходит к моей стратегии, увы.

Muslim Ruziev

⭐⭐⭐⭐⭐


Muslim Ruziev 2023.10.06 08:14
скачал советник пока работает нормально но не понравился один параметр ,,, советник работает гдето час и потом не открывает сделок занова нужно изминит значение 59 на 59 потом еше час работает но когда значение 59 изменить на 500 или 1440 он не открывает сделок, Как сделат так чтобы он работал кругло суточно?

cesarj

⭐⭐⭐⭐


cesarj 2023.07.21 11:38
Hi, is this ea scheduled to be canceled in the future?

ilvento12


ilvento12 2023.05.13 01:19
IS a very interesting EA,Would be good if would be possible to have an option to hide stop loss and take profit from broker

Manuka Pradeep De Silva

⭐⭐⭐⭐⭐


Manuka Pradeep De Silva 2022.12.12 16:58
if you know how to handle martingale, this is a very good EA for that !! Best feature of this EA is, it has partial closing of trades option which can be use to increase your profits. if you can add an option to change the settings of orders(stop order distance, its take profit value, partial closing trailing start point and rollback points) after given number of orders it would be more functional and safe. ( currently i'm doing it by manually after few swings to protect the capital) . other problem is with its time calculator. it uses local system time rather than broker time. so i had to change time values each time i change the vps with different system time.( some time i trade only in specific time periods) thank you very much for this FREE EA and highly appreciate your hard working !

ss life

⭐⭐⭐⭐⭐


ss life 2022.10.29 10:56
i would say Very smart hardworker robot, seems realy good in High volume market range, but we need to modify the "stop orders distance" @ 50 work great in small target(5pips), against high volume market.

Vaclav Sulc

⭐⭐⭐⭐


Vaclav Sulc 2022.10.16 22:29
Pretty good system, but ours is much better 🙂

dody.juna

⭐⭐⭐⭐


dody.juna 2022.10.13 07:12
Hi Swing EA it's very good and simple operation but some one help me to in crease take profit because i'm not smart for setting TP tq
Vladislav Andruschenko
Reply from developer Vladislav 2022.10.13 08:05 
Hello. You can set takeprofit in ea settings.

marcetech


marcetech 2022.10.11 21:37
I tested it on a real cents account with all kinds of pairs. It's no use. Of 10 dollars that would be 1000 units, investing in cents with the smallest lots, of 0.01 and doing martingale with those lots, in the end, I only kept 7 cents of a dollar. I don't recommend it to anyone. Very bad robot.

sousensei


sousensei 2022.10.10 16:55
使い方がわからない

Cristian Mihail Pauna


Cristian Mihail Pauna 2022.09.29 04:38
Positive feedback! This EA can be definitely improved!

Yuan Chen

⭐⭐⭐⭐⭐


Yuan Chen 2022.09.02 13:20
整体思路非常好,不知道作者有没有更新版本

13235010165

⭐⭐⭐⭐


13235010165 2022.08.29 17:20
thanks.had better trade according to trend.

belurum

⭐⭐⭐⭐⭐


belurum 2022.08.01 12:30
very good ea, but beware in low volatile market / pair and big gap on weekend, it could screw the EA algo.

yalewang

⭐⭐⭐


yalewang 2023.05.03 01:44
very large DD

Mojtaba 900


Mojtaba 900 2023.04.08 12:34 # RU This expert needs updating and unfortunately the developer does not respond! A few things need to be added to make it work. 1. lots based on Xbalance 2. reverse signal 3. Custom Lots And . .
Vladislav Andruschenko
Reply from developer Vladislav 2023.04.08 15:45 
this EA does not need to be updated. if you need an adviser "for you personally" use freelance.

krutov64 2023.10.13 08:25  # 

   RU

Поставил советник, но потом убрал – не подходит к моей стратегии, увы.

Muslim Ruziev

124

Muslim Ruziev 2023.10.06 08:14  # 

   RU

скачал советник пока работает нормально но не понравился один параметр ,,, советник работает гдето час и потом не открывает сделок занова нужно изминит значение 59 на 59 потом еше час работает но когда значение 59 изменить на 500 или 1440 он не открывает сделок, Как сделат так чтобы он работал кругло суточно?

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2023.10.06 08:21 #  RU

Можете прикрепить лог файл советника и сет файл с настройками в раздел обсуждение. Не могу понять, какой параметр изменяйте.

cesarj

22

cesarj 2023.07.21 11:38  # 

   RU

Hi, is this ea scheduled to be canceled in the future?

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2023.07.21 12:19 #  RU

Hello. What you mean ? Write to discussion page

ilvento12

152

ilvento12 2023.05.13 01:19  # 

   RU

IS a very interesting EA,Would be good if would be possible to have an option to hide stop loss and take profit from broker

yalewang

1120

yalewang 2023.05.03 01:44  # 

   RU

very large DD

Chris

231

Chris 2023.05.02 18:36  # 

   RU

Awesome EA. Just wish it was on MT5 as well.

Taufik Andri Widodo

116

Taufik Andri Widodo 2023.04.10 13:36  # 

   RU

good EA, I hope this can be used on mt5

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2023.04.10 13:56 #  RU

Only for mt4, sorry.

Mojtaba 900

41

Mojtaba 900 2023.04.08 12:34  # 

   RU

This expert needs updating and unfortunately the developer does not respond! A few things need to be added to make it work. 1. lots based on Xbalance 2. reverse signal 3. Custom Lots And . . .

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2023.04.08 15:45 #  RU

this EA does not need to be updated. if you need an adviser “for you personally” use freelance.

Touro1908

26

Touro1908 2023.03.24 23:13  # 

   RU

Amamzing EA lovet. in just 1 hour. I went from 141 usd to 152 usd. hope to have the upgrade of it!!!!!! very smart calculation!!!!

sugihara1

58

sugihara1 2023.01.25 09:01  # 

   RU

It is good strategy. I made a video.I used TDS(with tick data) for backtesting. performance was awesome. You should watch to this, when you have time. 【YOUTUBE】 https://youtu.be/MyGySOrrJDo

Manuka Pradeep De Silva

324

Manuka Pradeep De Silva 2022.12.12 16:58  # 

   RU

if you know how to handle martingale, this is a very good EA for that !! Best feature of this EA is, it has partial closing of trades option which can be use to increase your profits. if you can add an option to change the settings of orders(stop order distance, its take profit value, partial closing trailing start point and rollback points) after given number of orders it would be more functional and safe. ( currently i’m doing it by manually after few swings to protect the capital) . other problem is with its time calculator. it uses local system time rather than broker time. so i had to change time values each time i change the vps with different system time.( some time i trade only in specific time periods) thank you very much for this FREE EA and highly appreciate your hard working !

ss life

28

ss life 2022.10.29 10:56  # 

   RU

i would say Very smart hardworker robot, seems realy good in High volume market range, but we need to modify the “stop orders distance” @ 50 work great in small target(5pips), against high volume market.

Vaclav Sulc

691

Vaclav Sulc 2022.10.16 22:29  # 

   RU

Pretty good system, but ours is much better 🙂

dody.juna

14

dody.juna 2022.10.13 07:12  # 

   RU

Hi Swing EA it’s very good and simple operation but some one help me to in crease take profit because i’m not smart for setting TP tq

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.10.13 08:05 #  RU

Hello. You can set takeprofit in ea settings.

marcetech

44

marcetech 2022.10.11 21:37  # 

   RU

I tested it on a real cents account with all kinds of pairs. It’s no use. Of 10 dollars that would be 1000 units, investing in cents with the smallest lots, of 0.01 and doing martingale with those lots, in the end, I only kept 7 cents of a dollar. I don’t recommend it to anyone. Very bad robot.

sousensei

124

sousensei 2022.10.10 16:55  # 

   RU

使い方がわからない

Cristian Mihail Pauna

12854

Cristian Mihail Pauna 2022.09.29 04:38  # 

   RU

Positive feedback! This EA can be definitely improved!

Yuan Chen

210

Yuan Chen 2022.09.02 13:20  # 

   RU

整体思路非常好,不知道作者有没有更新版本

13235010165

14

13235010165 2022.08.29 17:20  # 

   RU

thanks.had better trade according to trend.

belurum

94

belurum 2022.08.01 12:30  # 

   RU

very good ea, but beware in low volatile market / pair and big gap on weekend, it could screw the EA algo.

8668018 2022.08.01 00:17  # 

   RU

thank you Can I work on a real account?

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.08.01 08:53 #  RU

Hello. This is free version. For all accounts.

mino

58

mino 2022.06.24 05:38  # 

   RU

The results were not as per the strategy tester. The problem is that when the spread changes, especially during high volatility such as when an indicator is announced, the Tp/SL value is also rewritten by itself.

Takashi Kaido-

172

Takashi Kaido- 2022.06.16 02:36  # 

   RU

素晴らしいEAの一言です。 ロングとショートの何でもエントリできて、トレーリングストップをオンにすれば、細かくとも沢山の利益が得られます。

John Winsome Munar

3471

John Winsome Munar 2022.06.14 01:47  # 

   RU

Nice RR, trend following. will test in demo.

Frederique Daniel

73

Frederique Daniel 2022.05.20 15:09  # 

   RU

está bien gracias por compartir

Ahmed Sarıkaya

2664

Ahmed Sarıkaya 2022.05.15 17:15  # 

   RU

Thanks.

skifotavr

16

skifotavr 2022.03.30 08:15  # 

   RU

Советник поработал около месяца на демо счете, потом перестал работать. Подскажите в чем причина ? Заново загрузить и установить не получается.2022.03.31 09:04:28.035 HistoryCenter: 2080 bars imported in ‘AUDUSD1440’

– из журнала. Проблема решена, в целом советник нравится, потому что на данном этапе результат на тестере и демо счете совпадает.

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.03.30 08:33 #  RU

Причин может быть миллионы. Нужно открыть журнал эксперта и смотреть ошибки.

Ayan Santra

18

Ayan Santra 2022.03.09 15:21  # 

   RU

sir how to double the take profit level from entry ??

[Deleted] 2022.03.08 13:18  # 

  RU

nice

[Deleted] 2022.03.08 09:21  # 

  RU

thanks a lot

jbalondo

30

jbalondo 2022.02.25 18:01  # 

   RU

I have used this EA for a day and at first everything was fine in fact i was able to gain 5 USD. Before i go to slept that evening i let my laptop open and run my mt4 and this ea for non stop. In the next morning i was excited to see the result wether it was gaining or losing but i was surprised i have a lot of losses. The problem i got is am losing my money by the big stop losses being automatically closed by this system. My suggestion is that maybe we can adjust the settings to close stop losses if its reaching 1.5 USD and also close the order at 2 to 3 usd profit . I hope the developer can see my comments.

Yuriy Sokolskiy

28

Yuriy Sokolskiy 2022.02.14 09:15  # 

   RU

Спасибо за советник! Работает отлично!

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.02.14 09:19 #  RU

Спасибо за отзыв.

Yermek Amerzhan

47

Yermek Amerzhan 2022.02.11 20:49  # 

   RU

Как настроить adjustTP

Manase Mlangeni

30

Manase Mlangeni 2022.02.04 11:41  # 

   RU

good job i am using the AE on my real account but u need to optimzation any just to give u guys same so you can check it out try this EA on EURAUD or GBPJPY the profit factor plus 4.65 to 6.04 or more on high risk

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.02.04 12:58 #  RU

Thank you.

creflo_ts

14

creflo_ts 2022.01.26 10:24  # 

   RU

Fanstastik, I tested this robot and this bot brings a lot of profit compared to losing 🙂

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.01.26 10:35 #  RU

Thank you

Indigotom

61

Indigotom 2022.01.25 13:00  # 

   RU

Is a fantastic EA for short term trading!! Is it possible to make the comment editable? Would be a valuable help!

*****

How much would it cost if you included a comment field in the EXP-SWING? This would be extremely interesting for me!

Greetings Indigotom

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.01.25 13:36 #  RU

Thank you. Comment is fixed with technical info.

holan2u

21

holan2u 2022.01.21 17:36  # 

   RU

what does it mean EA does’t works Check Algo Trading

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.01.21 19:17 #  RU

Hello. Please click to algorrading button in your terminal.

philippe germain

2674

philippe germain 2022.01.19 21:47  # 

   RU

Good ratio TP/SL.But does not earn money….

budifadjar1971

26

budifadjar1971 2022.01.15 12:05  # 

   RU

thank , this EA can follow trend

complain

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.01.15 12:24 #  RU

Thank you

edit | delete

semur1

34

semur1 2022.01.14 14:43  # 

   RU

Понятен. надежен и рискован!

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.01.14 15:31 #  RU

Спасибо за честность.

髙 Yama Hiroshi Ki 2022.01.03 16:23  # 

   RU

Straightforward and straightforward strategy. And it’s sure to build up your profits. Be sure to do a back test before you use it. This EA works almost exactly like the backtest, so the backtest results are very helpful. As you can see from the test, the possibility of failure clearly increases in currencies with high volatility. Look for a safe combination of currencies.

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2022.01.15 12:24 #  RU

Thank you

Anton Yapryncev

123

Anton Yapryncev 2021.12.23 15:39  # 

   RU

У меня нет времени сидеть торговать, торгую только поле работы уставший, так что этот советник крут для пассивного дохода с правильными настройками. Самое крутое что если с вашим терминалом что то случилось, отрубили инет, отрубили электричество, вы не сольете депо. Автору большое спасибо за бесплатный крутой продукт.

Vladislav Andruschenko

354156

Reply from developer Vladislav Andruschenko 2021.12.23 16:24 #  RU

Спасибо 🙂

BAHADIR BAYRAM

172

BAHADIR BAYRAM 2020.03.25 21:19  # 

   RU

я тестирую

в каких соотношениях это работает доп.

и вы можете предоставить готовые настройки для паритетов.

Andrey Bakulin

231

Andrey Bakulin 2020.02.09 05:24  # 

   RU

Советник хорош если правильно настроить,и автор молодец респект ему,отзывчивый ,отвечает на каждый вопрос в обсуждениях,вообщем класс

Alice Seifert

311

Alice Seifert 2020.01.30 21:06  # 

   RU

I let this EA run on Bitcoin for 2 days and it produced huge losses !

A crazy amount of pips and worse in money !

Just terrible on Bitcoin !

Next week I will test on a currency pair…..

This week I run this EA (dafault settings) on UK100.

First it produced smal losses, then smal wins…

Then losses again and increased the position after a new loss until the position became giant !

Also were the losses GIANT !

No more wins !

I will not waist more time with this !

This EA (default settings) is just HORRIBLE

1 star is too much !

reply 

complain

fliper-muz

31

fliper-muz 2020.01.22 16:47  # 

   RU

поставил на реал,подобный советник у меня уже есть но в этом много полезных дополнений.

alekseynv

37

alekseynv 2017.01.15 11:41  # 

   RU

Перспективный алгоритм, прост и надежен как автомат калашникова! Во время выхода новостей очень быстро наращивает депозит. Автор отвечает на все вопросы, и обещал добавить много разных плюшек для повышения стабильности результатов. В общем, ждем обещанных доработок )

Comments

Do you have a question?

Leave a Reply

Extra

Navigation by tabs

Main Documentation Settings FAQ Changelog Reviews Comments Extra

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


    This website uses cookies to improve your experience. By using this website you agree to our Data Protection Policy.
    Read more