SAFETYLOCK allows traders to avoid strong market reversals by setting an opposite order for an already opened position. If a trader…
Trade Report of TickSniper and the best advisors from Expforex
Descompilação ex4 para mq4 é necessário? Descompilador Ex5 para Mq5. Conversor Ex4 para Mql4
Main
Documentation
Settings
FAQ
Changelog
Reviews
Comments
Extra
About 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 re-pending. This process continues until the entire basket of trades is closed by hitting the take-profit target.
This strategy takes advantage of market swings, aiming to capture profit through multiple positions while minimizing risk with proper order management.
There are three types of opening pending orders in our advisor!
- Auto-opening after installation ( Instant opening AutoTrade )
- Opening and maintenance after manual opening ( Manual opening ManualTrade )
- 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 Buy Stop with Sell Stop * Martin lot is installed in its place.
- 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 Swing work?
What do people write about Swing?
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
FULL MT5 version
For MetaTrader 5
35 $
RENT for 3 months
For MetaTrader 5
30 $
Before making a purchase, we highly recommend reviewing our instructions and FAQ section to ensure a smooth experience.
Links
Links úteis
Have you installed MetaTrader?
MetaTrader is required for installing from www.expforex.com
Table of Contents (click to show)
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.
There are three types of opening pending orders in our advisor!
- Auto-opening after installation ( Instant opening AutoTrade )
- Opening and maintenance after manual opening ( Manual opening ManualTrade )
- 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!
- Auto-open after installation,
- Opening and maintenance after a manual opening
- 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:
- 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 set in its place Sell Stop with a larger lot size, BuyStop * Martin lot.
- 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.
- If the position receives a loss, then the current series is considered not closed! And the advisor continues to work with the algorithm!
- 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:
- On startup, the Expert Advisor waits until the user opens the position from our EAPADPRO panel.
- 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.
- If Buy is open, EA sets a new Sell Stop with Buy lot * Martin lot.
- If Sell is open, EA sets a new Buy Stop with Sell lot * Martin lot.
- If the position receives a loss, then the current series is considered not closed! And the advisor continues to work with the algorithm!
- If the position received a take-profit, then the position is closed, and everything starts again.
- 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:
- At startup, the Expert Advisor calculates the HIGH and LOW levels according to the set TimeFrame.
- 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.
- If Buy Stop is triggered, Sell Stop is deleted, and EA sets a new Sell Stop with BuyStop lot * Martin lot in its place.
- 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.
- If the position receives a loss, then the current series is considered not closed! And the advisor continues to work with the algorithm!
- 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.
- 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.
- 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.
- 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.
- 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;
- If Martin is less than 1, then each next position and its lot will be less than the previous one.
- 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.
- If Martin is more than 1, then each next position and its lot will be larger than the previous one.
- The higher the value of Martin, the more dangerous the trade adviser.
- 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
- Start = Period_M1; Stop = Period_D1;
Optimization of TFTrade_Num values: The number of last bars to determine the levels
- 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
Parameter | Description |
---|---|
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 in a series. A series includes all orders/positions until they are closed at Take Profit. |
Magic | Magic number for trades (default = 777). |
StopLoss | Stop Loss, by default not used (0). If set, includes spread. In Points (Pips). |
ModifyStopLossAtOrdersopen | Modifies the Stop Loss of the transaction to the opening level of a pending order. |
TakeProfit | Not used by default (0). If set to -1, then TakeProfit = StopOrdersDistance + spread. In Points (Pips). |
AdjustTP | Adjust the Take Profit when opening pending orders. In Points (Pips). |
AdjustAfter | Number of steps after which the adjustment will occur. |
StopDayTradingEaAfterTP | If the last position closes at Take Profit, the EA stops trading until the next day. |
DeleteOppositeOrder | Deletes the opposite order when the current order is triggered (OCO orders). |
CloseOppositePositionsAfterTP | Closes opposite orders/positions if the current order closes at Take Profit. |
MaxSpreadToNotTrade | The maximum spread at which the EA can open the grid. |
MinSpreadToNotTrade | The minimal spread at which the EA can open the grid. |
Lots | A fixed starting lot (default = 0.1). |
LotFix | Lots separated by commas to open orders, e.g., “0.1,0.2,0.3,0.6,0.8,1”. Starting lot always equals Lots, subsequent orders are defined by LotFix. |
Martin | The Martingale ratio for the next open order’s lot (default = 2). Martingale works only with Lots, and is ignored if LotFix is set. |
MartinFix | The 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”. |
OpenHour | Opening hour for trades (default = 0). |
OpenMinute | Opening minute for trades (default = 0). |
CloseHour | Closing hour for trades (default = 23). |
CloseMinute | Closing minute for trades (default = 59). |
Trailing_ | Section “Trailing Stop Settings”. |
TrailingStopUSE | Use trailing stop (default = false). |
IfProfTrail | Breakeven mode, used only for profitable positions (default = false). |
TrailingStop | Trailing stop distance, default is the minimum allowed (0). |
TrailingStep | Distance step for the trailing stop (default = 1). |
StartPointToTrail | The profit level (in points) where the trailing stop starts. |
RollbackPoint | The number of rollback points for closing part of the position. |
PercentLotToClose | Percentage of the first lot (volume) to close the position. |
StepPointToFixLevel | The number of points to fix the next level. |
MovingInWLUSE | Moves the position to breakeven at the first level of the trailing stop. |
TradebyVolatility | Considers volatility when opening the initial order grid. |
TFVolatility | Time frame for calculating volatility. |
BarVolatility | Number of bars used to determine volatility. |
PointVolatility | Number of points used to determine volatility. |
Slippage | Slippage setting (default = 0). |
MarketWatch | Trading mode (default = false). If set to true, first positions/orders are placed without stops, then modified with Stop Loss and Take Profit. |
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.
Q1: What is the Swing (Pendulum) strategy?
A1: 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.Q2: What are the trading modes in the Swing strategy?
A2: The three modes are AutoTrade (automatic order opening), ManualTrade (after manual position opening), and High-Low Trade (based on high and low levels).Q3: How does the Martingale lot system work in this strategy?
A3: When a trade triggers, the opposite order is replaced with an increased lot size, using the Martingale system to maximize profits.
Q4: What does OCO mean in this strategy?
A4: OCO stands for “One Cancels the Other,” meaning if one order is executed, the other is automatically canceled.
Q5: Can the Swing strategy be used manually?
A5: Yes, the strategy includes a ManualTrade mode for manual position opening.
Q6: What happens when one of the opposite orders is triggered?
A6: The opposite order is deleted and replaced by a larger lot according to the Martingale system.
Q7: What are the benefits of using the Martingale system in Swing strategy?
A7: It increases the chance of recovering losses from previous trades by increasing the lot size after each loss.
Q8: How does the Swing strategy calculate lot size increases?
A8: It follows the Martingale system, which doubles the lot size after a loss, aiming to recover previous losses.
Q9: What is the High-Low Trade mode in the Swing strategy?
A9: The High-Low Trade mode places orders based on high and low levels of price movements.
Q10: What happens when a take-profit level is reached?
A10: When the take-profit is reached, both orders are closed, and the strategy restarts.
Q11: Can the Swing strategy be used with Expert Advisors (EAs)?
A11: Yes, the strategy supports automatic trading using Expert Advisors for opening and managing trades.
Q12: How does AutoTrade mode function?
A12: AutoTrade mode automatically opens two opposite pending orders at predetermined price levels.
Q13: Is it possible to adjust the lot multiplier in the Swing strategy?
A13: Yes, traders can adjust the lot multiplier to customize risk and reward.
Q14: What are the key components of the Pendulum strategy?
A14: Key components include automatic pending orders, OCO functionality, and Martingale lot sizing.
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.
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
Thanks for feedback!
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!!!!
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 он не открывает сделок, Как сделат так чтобы он работал кругло суточно?
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.
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 tq2022.10.13 08:05Hello. 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.
Cristian Mihail Pauna
Cristian Mihail Pauna 2022.09.29 04:38
Positive feedback! This EA can be definitely improved!
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.
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 . .2023.04.08 15:45this EA does not need to be updated. if you need an adviser "for you personally" use freelance.
Comments
Do you have a question?
Extra
Navegação por abas
Publicações relacionadas
Assistant – o melhor painel de negociação gratuito para suportar
Configuração automática de stop loss, take profit, trailing stop, níveis de breakeven, habilitando stops virtuais. Exp Assistant ajudará você a organizar…
CLP CloseIfProfitorLoss with Trailing. Control of the total profit or
Closing positions in MetaTrader upon reaching the total profit/loss with the profit trailing function. You can enable the Virtual stops (Separate Order), Calculating…
Close Minus by Plus, Closing unprofitable positions by searching and
Closing unprofitable positions by searching and closing profitable positions This assistant looks for, among all positions, in the terminal the most…
The X and The xCustomEA: Testing and Optimization
Description The X and The xCustomEA are two standout Expert Advisors (EAs) in the Forex trading community, gaining widespread popularity over…
InfoPad, Online Information Panel for MetaTrader
INFOPad is an information panel that creates information on the selected currency pair in the MetaTrader terminal. Shows the main…
Painel de negociação VirtualTradePad (VTP). Trade Pad para negociação com
Trade Pad para negociação com um clique a partir do gráfico e do teclado. VirtualTradePad ou VTP – painel de controle…
Templates MQL Open Source. Modelo para Criar um Expert Advisor
Resumo Criar Expert Advisors (EAs) para testar sua estratégia usando qualquer indicador pode realmente ser simplificado usando templates e recursos de…
TickSniper Expert Advisor Automático para MetaTrader. Tick scalper
Exp-TickSniper é um scalper Tick rápido que seleciona automaticamente os parâmetros para cada par de moedas separadamente. O EA foi desenvolvido…
EAPadPRO – Information panel for our experts
Information panel for all our advisors and utilities for the MetaTrader terminal. Detailed instructions on the basics of managing and using…
Market Time Pad. Indicator for MetaTrader with trading sessions
The indicator that displays current time at the main markets of the world. It also displays the current session. Very easy…
Averager. Média de posições de negociação. Abrindo operações contra a
Média de posições. Abertura de posições adicionais na tendência e contra a tendência com a função de trailing stop geral…
Copylot – Copiador de transações forex para MetaTrader. Copiador entre
Copiador de transações para MetaTrader. Ele copia transações forex, posições e ordens de qualquer conta. É um dos melhores copiadores de transações…
Tick Hamster Automatic trading robot. Nothing extra!
Expert with automatic optimization of all parameters for any trading symbol in MetaTrader. A trading EA that requires no settings!…
Partial Close and Trailing. Partial closing of positions on rollbacks
Partial Close and Trail – assistant EA. Closes a part of a position (Closes part of the lot) during rollback. EA …
This post is also available in: English Українська Portuguese Español Deutsch Chinese Русский Français Italiano Türkçe 日本語 한국어
Leave a Reply