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

Close Minus by Plus, Closing unprofitable positions by searching and closing profitable positions
Tick Hamster Automatic trading robot. Nothing extra!
Close Minus by Plus, Closing unprofitable positions by searching and closing profitable positions
Tick Hamster Automatic trading robot. Nothing extra!

Swing strategy (Pendulum). Automatic opening of 2 opposite pending orders, OCO orders. Video Thumbnail

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

About strategy Swing

The Pendulum or Swing strategy involves the sequential opening of pending orders with an increased lot size. The core principle is simple: two pending orders are placed, and when one is activated, the other is automatically replaced with a new pending order. This process continues until the entire group of trades is closed by hitting the take-profit target.

This strategy takes advantage of market swings, aiming to capture profits through multiple positions while minimizing risk with proper order management.

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 initiation (Manual Opening ManualTrade)
  3. Opening at High and 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 canceled if the second order is 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 the Buy Stop is triggered, the Sell Stop is deleted and replaced with a new Sell Stop with a lot size multiplied by Martin.
  • If the Sell Stop is triggered, the Buy Stop is deleted and replaced with a new Buy Stop with a lot size multiplied by Martin.
  • When the take-profit is achieved, all orders are deleted, and the process starts again!

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

How Does Swing Work?

Exp – Swing Main Functions

Exp – Swing or Pendulum trade

Exp – Swing Auto Trading

Auto Trading

Example Swing trade

Exp – Swing Manual Trading

Manual Trading

Example Swing trade

Exp – Swing Trading by High Low levels

Trading by High Low levels

Example Swing trade

Example of using Swing + Exp TralPartionClose (Partial Close and Trail)

What do people write about Swing?

  • Chris
    Awesome EA. Just wish it was on MT5 as well.
    Chris
    ⭐⭐⭐⭐⭐
  • Touro1908
    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
    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
    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
    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
    整体思路非常好,不知道作者有没有更新版本
    Yuan Chen
    ⭐⭐⭐⭐⭐
  • Taufik Andri Widodo
    good EA, I hope this can be used on mt5
    Taufik Andri Widodo
    ⭐⭐⭐⭐⭐

You can Download free Swing

Get started for FREE!

You can download and install our program for free!
Or thank us by purchasing our version for the MT5 terminal

You can Buy the full version of Swing for MT5

MetaTrader

Time Use

Trade Accounts

Computers

Functions

Support

FULL MT5 version


For MetaTrader 5

35 $

MT 5

Lifetime

Unlimited

10

Full

24/7

RENT for 3 months


For MetaTrader 5

30 $

MT 5

3 months

Unlimited

10

Full

24/7


Before making a purchase, we highly recommend reviewing our instructions and FAQ section to ensure a smooth experience.

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 Pendulum strategy (OCO orders) is the sequential opening of pending orders with an increased lot size.

The principle is simple: two pending orders are placed, and when one order is activated, the second order is replaced with a new pending order before the entire group is closed by take-profit.

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 initiation (Manual Opening ManualTrade)
  3. Opening at High and 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 the Buy Stop is triggered, the Sell Stop is deleted and replaced with a new Sell Stop with a lot size multiplied by Martin. If the Sell Stop is triggered, the Buy Stop is deleted and replaced with a new Buy Stop with a lot size multiplied by Martin.

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

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

If you want more advanced trading strategies with more features and automated trading:

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 manual initiation,
  3. Opening at High and Low levels!

TypeofTrade – Choosing an Expert Advisor Trading Mode!

We created an Expert Advisor that operates in three different modes. 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 the Buy Stop is triggered, the Sell Stop is deleted and replaced with a new Sell Stop with a larger lot size, calculated as BuyStop multiplied by Martin.
  3. If the Sell Stop is triggered, the Buy Stop is deleted and replaced with a new Buy Stop with a larger lot size, calculated as Sell Stop multiplied by Martin.
  4. If the position incurs a loss, the current series is considered not closed, and the advisor continues to operate using the algorithm.
  5. If the position reaches take-profit, the position is closed, and the process starts again.
Swing Strategy Execution Chart

Result of Work:

Swing Strategy Profit Chart

ManualTrade or Tracking After Manual Opening:

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

Algorithm:

  1. On startup, the Expert Advisor waits until the user opens a position from our EAPADPRO panel.
  2. Only after the trader opens a position using our panel does the advisor place the opposite pending order, while modifying the take-profit and stop-loss according to the system settings.
  3. If a Buy position is opened, the EA sets a new Sell Stop with the lot size multiplied by Martin.
  4. If a Sell position is opened, the EA sets a new Buy Stop with the lot size multiplied by Martin.
  5. If the position incurs a loss, the current series is considered not closed, and the advisor continues to operate using the algorithm.
  6. If the position reaches take-profit, the position is closed, and the process starts again.
  7. The advisor stops working until the trader opens a new position.
ManualTrade Mode Workflow

Result of Work:

ManualTrade Profit Chart

TFTrade or Work on High Low Levels:

In this mode, the Expert Advisor operates based on the High and Low levels set by the following variables:

TFTrade_PERIOD = PERIOD_D1; – Timeframe used by the advisor to determine the High and Low levels.
TFTrade_Num = 1; – The number of bars used to determine the level.

IMPORTANT!

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

Please set Period = M1 during strategy tester optimization!

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 based on the set Timeframe.
  2. Using the provided formula, the EA calculates the distance and places two pending orders, Buy Stop and Sell Stop, at a distance of StopOrderDeltaifUSE from the current price.
  3. If the Buy Stop is triggered, the Sell Stop is deleted, and the EA sets a new Sell Stop with a lot size multiplied by Martin.
  4. If the Sell Stop is triggered, the Buy Stop is deleted, and the EA sets a new Buy Stop with a lot size multiplied by Martin.
  5. If the position incurs a loss, the current series is considered not closed, and the advisor continues to operate using the algorithm.
  6. If the position reaches take-profit, the position is closed, and the process starts again.
TFTrade Mode Workflow

Result of Work:

TFTrade Profit Chart

Optimization Tips

We developed this advisor based on the Pendulum algorithm.

The logic of the Expert Advisor’s operation is designed to execute 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 provide some recommendations:

Optimization for TypeofTrade = Manual Trade and AutoTrade

Manual Trade – Maintenance of manual position openings.

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 currency pair.

  1. For example, if this is the EURUSD currency pair and you trade on the M30 timeframe with an average price movement of 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 timeframe with an average price movement of 50 bars = 100 points, then set this parameter for optimization as start = 0, step = 10, stop = 100.
  3. For example, if you need confirmation of the first signal and the average price movement in the period is 100 bars = 1000 points, then set start = 0, step = 50, stop = 500.

Optimizing MaxOrders: This parameter allows you to specify the maximum number of orders in a series to avoid losing your deposit.

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

Optimizing Martingale values: This parameter allows you to specify the increase in the lot size of the next pending order.

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

  1. If Martingale is less than 1, each subsequent position and its lot size will be smaller 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 Martingale is greater than 1, each subsequent position and its lot size will be larger than the previous one.
  4. The higher the value of Martingale, the riskier the trading advisor becomes.
  5. Martingale is a very simple and risky strategy.

The difference from ManualTrade is that with manual tracking, the advisor closes a series of orders in profit and stops working.

Optimization for TypeofTrade = TFTrade

TFTrade

In this mode, the Expert Advisor operates based on the High and Low levels set by the following variables:

TFTrade_PERIOD = PERIOD_D1; – Timeframe used by the advisor to determine the High and Low levels.
TFTrade_Num = 1; – The number of bars used to determine the level.

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

Optimizing TFTrade_PERIOD values: This is the period used to build the High and Low levels.

  1. Start = PERIOD_M1; Stop = PERIOD_D1;

Optimization of TFTrade_Num values: The number of recent bars used to determine the levels.

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

Example of Use

Swing Strategy Trade Example


NumberOperation TypeTicketLotOpening PriceStop LossTake ProfitProfitBalance
1buy stopone0.011.203040.000001.20614
2sell stop20.011.202720.000001.19962
3sell20.011.202720.000001.19962
4deleteone0.011.203040.000001.20614
5buy stop30.021.203040.000001.20335
6modify20.011.202721.203041.19962
7s / l20.011.203041.203041.19962-0.329999.68
8buy30.021.203040.000001.20335
9sell stopfour0.041.202710.000001.20239
10modify30.021.203041.202711.20335
11s / l30.021.202711.202711.20335-0.669999.02
12sellfour0.041.202710.000001.20239
13buy stopfive0.081.203040.000001.20335
14modifyfour0.041.202711.203041.20239
15s / lfour0.041.203041.203041.20239-1.329997.70
16buyfive0.081.203040.000001.20335
17sell stop6th0.161.202700.000001.20238
18modifyfive0.081.203041.202701.20335
19s / lfive0.081.202701.202701.20335-2.729994.98
20sell6th0.161.202700.000001.20238
21buy stop7th0.321.203040.000001.20335
22modify6th0.161.202701.203041.20238
23s / l6th0.161.203041.203041.20238-5.449989.54
24buy7th0.321.203040.000001.20335
25sell stopeight0.641.202700.000001.20237
26modify7th0.321.203041.202701.20335
27s / l7th0.321.202701.202701.20335-10.889978.66
28selleight0.641.202700.000001.20237
29buy stop901/01/281.203040.000001.20335
30modifyeight0.641.202701.203041.20237
31s / leight0.641.203041.203041.20237-21.769956.90
32buy901/01/281.203040.000001.20335
33sell stopten01/02/561.202700.000001.20237
34modify901/01/281.203041.202701.20335
35s / l901/01/281.202701.202701.20335-43.529913.38
36sellten01/02/561.202700.000001.20237
37buy stopeleven05/12/241.203040.000001.20335
38modifyten01/02/561.202701.203041.20237
39s / lten01/02/561.203041.203041.20237-87.049826.34
40buyeleven05/12/241.203040.000001.20335
41sell stop1201/10/241.202700.000001.20237
42modifyeleven05/12/241.202701.203041.20237
43t / peleven05/12/241.203351.202701.20335158.729985.06

External Variables and Settings

ParameterDescription
Trade_Section “Trade Settings”.
TypeofTradeChoosing an Expert Advisor Trading Mode.
StopOrderDeltaifUSEDistance for pending orders in Points (Pips) (default = 100).
MaxOrdersMaximum number of orders in a series. A series includes all orders/positions until they are closed at Take Profit.
MagicMagic number for trades (default = 777).
StopLossStop Loss, not used by default (0). If set, it includes spread. Measured in Points (Pips).
ModifyStopLossAtOrdersopenModifies the Stop Loss of the transaction to the opening level of a pending order.
TakeProfitNot used by default (0). If set to -1, then TakeProfit = StopOrdersDistance + spread. Measured in Points (Pips).
AdjustTPAdjusts the Take Profit when opening pending orders. Measured in Points (Pips).
AdjustAfterNumber of steps after which the adjustment will occur.
StopDayTradingEaAfterTPIf the last position closes at Take Profit, the EA stops trading until the next day.
DeleteOppositeOrderDeletes the opposite order when the current order is triggered (OCO orders).
CloseOppositePositionsAfterTPCloses opposite orders/positions if the current order closes at Take Profit.
MaxSpreadToNotTradeThe maximum spread at which the EA can open the grid.
MinSpreadToNotTradeThe minimum spread at which the EA can open the grid.
LotsA fixed starting lot (default = 0.1).
LotFixLots separated by commas to open orders, e.g., “0.1,0.2,0.3,0.6,0.8,1”. The starting lot always equals Lots, and subsequent orders are defined by LotFix.
MartinThe Martingale ratio for the next open order’s lot (default = 2). Martingale works only with Lots and is ignored if LotFix is set.
MartinFixThe Martingale coefficient, separated by commas for opening orders, e.g., “2,3,1,5,2,1”. Works with Lots, ignored if LotFix is set.
timetrade_Section “Trade Time Settings”.
OpenHourOpening hour for trades (default = 0).
OpenMinuteOpening minute for trades (default = 0).
CloseHourClosing hour for trades (default = 23).
CloseMinuteClosing minute for trades (default = 59).
Trailing_Section “Trailing Stop Settings”.
TrailingStopUSEUse trailing stop (default = false).
IfProfTrailBreakeven mode, used only for profitable positions (default = false).
TrailingStopTrailing stop distance, default is the minimum allowed (0).
TrailingStepDistance step for the trailing stop (default = 1).
StartPointToTrailThe profit level (in points) where the trailing stop starts.
RollbackPointThe number of rollback points for closing part of the position.
PercentLotToClosePercentage of the first lot (volume) to close the position.
StepPointToFixLevelThe number of points to fix the next level.
MovingInWLUSEMoves the position to breakeven at the first level of the trailing stop.
TradebyVolatilityConsiders volatility when opening the initial order grid.
TFVolatilityTimeframe for calculating volatility.
BarVolatilityNumber of bars used to determine volatility.
PointVolatilityNumber of points used to determine volatility.
SlippageSlippage setting (default = 0).
MarketWatchTrading mode (default = false). If set to true, initial positions/orders are placed without stops, then modified with Stop Loss and Take Profit.

FAQ about Swing

Our General FAQ

FAQ Answers to the most popular questions

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

What is the Swing (Pendulum) strategy?

The Swing strategy involves placing two opposite pending orders (Buy Stop and Sell Stop). When one order is activated, the other is replaced with a larger lot size. This repeats until a take-profit is reached.

What are the trading modes in the Swing strategy?

The three modes are AutoTrade (automatic order opening), ManualTrade (after manual position opening), and High-Low Trade (based on high and low levels).

How does the Martingale lot system work in this strategy?

When a trade triggers, the opposite order is replaced with an increased lot size, using the Martingale system to maximize profits.

What does OCO mean in this strategy?

OCO stands for “One Cancels the Other,” meaning if one order is executed, the other is automatically canceled.

Can the Swing strategy be used manually?

Yes, the strategy includes a ManualTrade mode for manual position opening.

What happens when one of the opposite orders is triggered?

The opposite order is deleted and replaced by a larger lot according to the Martingale system.

What are the benefits of using the Martingale system in Swing strategy?

It increases the chance of recovering losses from previous trades by increasing the lot size after each loss.

How does the Swing strategy calculate lot size increases?

It follows the Martingale system, which doubles the lot size after a loss, aiming to recover previous losses.

What is the High-Low Trade mode in the Swing strategy?

The High-Low Trade mode places orders based on high and low levels of price movements.

What happens when a take-profit level is reached?

When the take-profit is reached, both orders are closed, and the strategy restarts.

Can the Swing strategy be used with Expert Advisors (EAs)?

Yes, the strategy supports automatic trading using Expert Advisors for opening and managing trades.

How does AutoTrade mode function?

AutoTrade mode automatically opens two opposite pending orders at predetermined price levels.

Is it possible to adjust the lot multiplier in the Swing strategy?

Yes, traders can adjust the lot multiplier to customize risk and reward.

What are the key components of the Pendulum strategy?

Key components include automatic pending orders, OCO functionality, and the Martingale lot sizing system.

Changelog

ersion 24.404 2024.04.04

Global Update EAPADPRO v55

-Added: information about profit from closed positions to the chart.

 The information is displayed for each bar of the current timeframe.

 You can change the timeframe to see the result of trading on a certain bar of the current timeframe.

 If several positions/deals are closed on one bar of the current timeframe, the trading result is summarized, and the total information for a certain bar is displayed.

 The information is updated when the next position/deal is closed.

 You can turn off showing history in the panel settings.

===========================================================================================

-Added: The status of the Expert Advisor operation if it was launched on the server from "VPS MQL MetaQuotes".

 When Expert Advisor is running on the server from MetaQuotes, a message will be created on the home computer that Expert Advisors are running on the server "VPS MQL MetaQuotes". The smiley face is blue.

 Attention: If an Expert Advisor is launched on both the server and the home computer, it can trade in parallel on 2 terminals (server "VPS MQL MetaQuotes" + home computer); there may be conflicts.

 Attention: If the Expert Advisor is launched on the server "VPS MQL MetaQuotes", do not Turn it on work on the home computer to avoid conflicts.

 Frequency of polling the status of work on the server = 1 day.

 After deinitialization of the Expert Advisor on the server - It will get the status - stopped.

 To test the work on the server from "VPS MQL MetaQuotes", pending orders are created!

===========================================================================================

-Added: The error status of the Expert Advisor operation can now be read on the EAPADPRO panel.

 You can click on the Smile or the Expert Advisor operation status bar and you will be shown a message about current errors of Expert Advisor operation.

 If you click on the Smile button on the panel, you will be shown the causes and errors and their solutions with pictures.

===========================================================================================

-Added: Notification of errors and opening/closing of trades to the chart in the form of InfoBox.

 Notification is shown for 4 types:

---Opening a new trade;

---Closing a deal;

---Modification of a trade;

---Error received by Expert Advisor from the server;

 In the EAPADPRO panel settings, you can turn on or off the notification type you need.

 Notifications can be viewed as they arrive in the notification queue.

 Notifications are accumulated in a data array each time you install/reinstall/change Expert Advisor settings.

 In the EAPADPRO header you can also enable disable INFOBOX.

===========================================================================================

-Added: Working with Telegram (Beta version)

 For Expert Advisor to work with the Telegram bot, you need to set up the bot on your phone and create a "public" or "private" channel.

To receive notifications from your account, you need to assign your bot as an administrator of your "public" or "private" channel.

Attention! Sending notifications and working with commands takes computer resources! Use the Telegram bot only for your own needs.

How To set Telegram bot:

New settings for working with Telegram:

EAPadPRO2=" =============== Telegram bot ";

==input ENUM_UPDATE_MODE TG_UpdateMode=UPDATE_SLOW --> Update Mode. Timer speed, to receive commands from Telegram bot. The faster the timer runs, the more computer resources will be used! Please do not change it unnecessarily. 2sec,3sec,10sec

==TG_PRIORITY=TG_HOME_VPS --> Priority of work. This is the priority mode when the Telegram bot works on the MetaQuotes VPS server and your home computer.

   TG_HOME_ONLY=1, // Only the HOME bot. The Telegram bot works only on the home computer.

   TG_VPS_ONLY=2, // Only the VPS bot. The Telegram bot works only on the MetaQuotes VPS server.

   TG_VPS_HOME=3, // First VPS bot, second HOME bot. The Telegram bot works on the MetaQuotes VPS server if you upload it to the server. If not, it will work on your home terminal. Check the work on the VPS server every 10 minutes.

   TG_HOME_VPS=4, // First HOME bot, second VPS bot. The Telegram bot works on a home computer, but if the home computer/terminal is turned off, it will work on the VPS server from MetaQuotes. Check the VPS server's work every 10 minutes.

Attention! Screenshots are not available on the VPS server from MetaQuotes!

==TG_Token="" --> Token bot. Token (unique code) of the bot that will send notifications and receive commands

==TG_ChannelName="" --> --> Public Channel Name @. Or "private" ID starts -100 of the private channel. That will send notifications about opening/closing/modification/errors and screenshots from the terminal.

==TG_UserNameFilter="" --> Whitelist Usernames. List of users, starting with @, who can use the bot.

Attention! Sending notifications and working with commands takes computer resources! Use the Telegram bot only for your own needs.

==TG_UseBotTimer=false;//TG_UseBotTimer --> Working with the bot from the phone

New notification type added to EAPADPRO panel settings:

==Notice Open TG - Send a notification to the Telegram channel if a trade is open;

==Notice Close TG - Send a notification to the Telegram channel if a trade is closed;

==Notice Modify TG - Send a notification to the Telegram channel if a trade is modified;

==Notice Error TG - Send a notification to the Telegram channel if an error is received;

==ScreenShot TG - Send a screenshot to the Telegram channel if a trade is opened or closed;

Attention! This is a beta version of working with the Telegram bot. We are working on improving and adding new features.

If you have any suggestions, please write in the "Comments" section.

===========================================================================================

-Improvement: Code optimization to increase speed.

-Improvement: The speed of the panel update in the strategy tester is now calculated automatically depending on the speed of quotes arrival.

 This is done to increase the speed of the program in the strategy tester.

 Information update is now equal to 1 real second.

-Improvement: The speed of the program running EAPADPRO in the strategy tester.

 Attention! Events in the strategy tester are processed only when a new tick is created.

 If a new tick (minimum price movement) is not created, then the panel waits for the next tick.

  With Visualization:

   Version 48: 390sec (TickSniper 2024-2024)

   Version 55: 244sec >>159% (TickSniper 2024-2024)

  w/o Visualization:

   Version 48: 363sec (TickSniper 2020-2024)

   Version 55: 220sec >>165% (TickSniper 2020-2024)

  with Visualization:

   Version 48: 15750sec (TickSniper 2020-2024)

   Version 55: 6220sec >>253% (TickSniper 2020-2024)

-Improvement: The color of the button to close a position on the chart changes depending on the current profit of this position.

-Improvement: Graphic improvements to optimize the Expert Advisor's performance

-Improvement: The account deposit Symbol is cent ¢, USD $, or eur €. All others are the first letter of the deposit currency name.

-Improvement: When visual testing is completed, objects are not removed from the graph.

-Improvement: When creating screenshots after opening/closing positions, the EAPAPDPRO Control Panel will be expanded to show full information.

 This is done in order to study the trading history of Expert Advisor on the visualization graph after testing is completed.

-Fixed: Managing positions and orders from the chart when the panel is minimized.

-Fixed: Corrected the error of clearing the chart from unused order labels.

-Fixed: AutoSize when switching charts.

-Fixed: Drawing errors to Print when the Expert Advisor runs on "VPS MQL MetaQuotes"

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

Gunawan321

⭐⭐⭐⭐⭐


Good best ea scalping

5299381

⭐⭐⭐⭐⭐


Dear Vladislav I try your EA in Demo..the results very very good..best features..i want try to real trading..i hope same results like demo thanks so much Vladislav..

Omar Alsaleem

⭐⭐⭐⭐⭐


Thank you for sharing this promising EA.

Andy Tong13

⭐⭐⭐⭐⭐


Andy Tong 2024.04.09 15:03
Very good EA

Touro1908

⭐⭐⭐⭐⭐


Touro1908
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
good EA, I hope this can be used on mt5

Chris

⭐⭐⭐⭐⭐


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

sugihara1

⭐⭐⭐⭐⭐


sugihara1
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
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
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

⭐⭐⭐⭐


Pretty good system, but ours is much better 🙂

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.

dody.juna

⭐⭐⭐⭐


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 Expforex
Reply from ExpForex:
Hello. You can set takeprofit in ea settings.

marcetech


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.

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


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!

Cristian Mihail Pauna


Positive feedback! This EA can be definitely improved!

Yuan Chen

⭐⭐⭐⭐⭐


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

Yuan Chen

⭐⭐⭐⭐⭐


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

13235010165

⭐⭐⭐⭐


thanks.had better trade according to trend.

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.

belurum

⭐⭐⭐⭐⭐


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

8668018

⭐⭐⭐⭐⭐


thank you Can I work on a real account?
Vladislav Expforex
Reply from ExpForex:
Hello. This is free version. For all accounts.

mino

⭐⭐


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-

⭐⭐⭐⭐⭐


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

John Winsome Munar

⭐⭐⭐⭐⭐


Nice RR, trend following. will test in demo.

Frederique Daniel

⭐⭐⭐⭐⭐


está bien gracias por compartir

Ahmed Sarıkaya

⭐⭐⭐⭐⭐


Thanks.

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.

skifotavr


Советник поработал около месяца на демо счете, потом перестал работать. Подскажите в чем причина ? Заново загрузить и установить не получается.2022.03.31 09:04:28.035 HistoryCenter: 2080 bars imported in 'AUDUSD1440' - из журнала. Проблема решена, в целом советник нравится, потому что на данном этапе результат на тестере и демо счете совпадает.
Vladislav Expforex
Reply from ExpForex:
Причин может быть миллионы. Нужно открыть журнал эксперта и смотреть ошибки.

Ayan Santra

⭐⭐⭐⭐⭐


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

jbalondo


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

⭐⭐⭐⭐⭐


Спасибо за советник! Работает отлично!
Vladislav Expforex
Reply from ExpForex:
Спасибо за отзыв.

Yermek Amerzhan


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

Manase Mlangeni


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 Expforex
Reply from ExpForex:
Thank you.

creflo_ts

⭐⭐⭐⭐⭐


Fanstastik, I tested this robot and this bot brings a lot of profit compared to losing 🙂
Vladislav Expforex
Reply from ExpForex:
Thank you

Indigotom

⭐⭐⭐⭐⭐


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 Expforex
Reply from ExpForex:
Thank you. Comment is fixed with technical info.

holan2u

⭐⭐⭐⭐⭐


what does it mean EA does't works Check Algo Trading
Vladislav Expforex
Reply from ExpForex:
Hello. Please click to algorrading button in your terminal.

philippe germain

⭐⭐⭐


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

budifadjar1971

⭐⭐⭐⭐⭐


thank , this EA can follow trend
Vladislav Expforex
Reply from ExpForex:
Thank you

semur1

⭐⭐⭐⭐⭐


Понятен. надежен и рискован!
Vladislav Expforex
Reply from ExpForex:
Спасибо за честность.

髙 Yama Hiroshi Ki

⭐⭐⭐⭐⭐


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 Expforex
Reply from ExpForex:
Thank you

Anton Yapryncev

⭐⭐⭐⭐⭐


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

BAHADIR BAYRAM


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

Andrey Bakulin

⭐⭐⭐⭐⭐


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

Alice Seifert


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 !

fliper-muz

⭐⭐⭐⭐⭐


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

alekseynv

⭐⭐⭐⭐⭐


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

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Extra

Navigation by tabs

This post is also available in: English Українська Portuguese Español Deutsch Chinese Русский Français Italiano Türkçe 日本語 한국어

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.


     

    Risk Warning:


    Past trading performance does not guarantee future results.

    Trading foreign exchange on margin carries a high degree of risk and may not be suitable for all investors.

    Be aware that using trading robots involves substantial risk, and you could lose more than your initial investment.

    Please proceed with caution, assess your financial situation carefully, and consider seeking advice from a qualified professional.

    Disclaimer

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