For a year – 175 usd
No time limit for 1 trading account – 250 usd

NEW SMARTHEDGE – updated version of the SH Expert Advisor! It has only the most useful functions!The trading robot is based on the correlation and cointegration of currency pairs.
Strategy description:
The work hedges the orders of two highly correlated instruments, so no matter in which direction the market is moving, the drawdown of one instrument will be covered by the profit of the other! The Expert Advisor opens positions on the deviation of the exchange rate from the general trend and closes them when they return to the correct rate.

Principle of trade:
We trade simultaneously on instruments with high correlation. Transactions made on one instrument compensate for the drawdown of transactions on the other instrument. Thus, we can trade fairly large volumes with relatively low risk. The principle of operation is clearly visible in the video below.
The principle of operation is clearly visible in the video below.

In this expert Advisor, I tried to simplify the settings as much as possible, but left all the main functions from the early development. (SMARTHEDGE and SH-2). Now the expert Advisor has a maximum of automatic adjustments that allows you to launch it into trading much faster. All parameters that were in points are now set via the spread and do not require adjustment to the quotation marks..

The EA works on any MT4 and MT5 accounts, including Netting and HEDGE, but keep in mind that testing is only possible in the MT5 tester. And when installing the MT5 Netting account, currency pairs should not overlap on different expert advisors.

About its acquisition, write to me

Optimization and configuration of the adviser.

Above you can see the ready-made set file for optimization SET OPT NEW SH. set (located in the application)
Fields highlighted in red may not be optimized. It is enough to decide once on the size of the initial lot and its restrictions. And of course choose a currency pair for the one that is being optimized. Examples of correlated currency pairs that are applied by AUTO selection:

If you leave an empty line in the Symbol2 parameter or specify it, the Expert Advisor will suggest choosing the second tool from those that are in the market review. And sort them in by correlation.

Lot 1 (2) fixed lot. – If you specify the lot value in this line, the adviser will use it. If you leave 0, the adviser will calculate the lot of the first position as a percentage of the Deposit.
Lot 1 (2) = Balance % – the value of the Deposit percentage
Koeff Lot – Coefficient for increasing the lot of top-up positions

The correlation type is determined automatically.
TIMEFRAMES = 5-Timeframe for calculating the correlation and Delta of divergence of instruments.
The timeframe can be optimized if desired, but since there are a lot of them on MT5, it takes a long time, it is enough to choose M5 or M15.
Bars Correlation-number of bars for calculating correlation and Delta
Delta First open – % of the max Delta at which the first positions are opened
% Delta next open– % of the opening Delta to open additional positions. Additional positions are opened as virtual pending orders.
Level Virtual Orders-the distance to virtual pending orders is calculated in the number of spreads. If it costs 3 and the spread=8, the distance to the pending order will be 24 p.

NoOpenSpread-do not allow the filter to open if the Delta is less than the sum of the spreads of the two instruments multiplied by the number of NoOpenSpread.
Filter GEP – a ban on the opening with a sharp increase in the Delta. If the Delta has increased by more than 2 times on one bar, then we forbid opening positions.
Minimum correlation for opening – the minimum correlation coefficient for opening. If the current coefficient is less than the specified one, it prohibits opening the first positions, but it does not prohibit topping up.


Closing deals in the adviser is due to the trailing profit. The start of the trawl is calculated automatically by the expert Advisor depending on the lot and Delta. Closing the tral occurs when the profit is rolled back by % close tral
Start Tral profit (usd, 0-auto) – closing occurs when all positions in the total amount reach the set value in the Deposit currency. I recommend leaving 0 for automatic profit calculation.
close trall % – rollback of the profit trall (0-close immediately)
dividing the closing profit-dividing the maximum profit. You can use this parameter to reduce the start time of the trawl. If you think that the initial profit is still very far away and you want to reduce it, then set the value to more than 1. If you Take our example, we will start the trawl at 4.45 usd if you set the value here to 3, then the trawl will start at 3.15 usd
Equity profit %
– closing on equity growth in % (0-off). The expert Advisor closes all positions of the entire account (including even positions placed by hands and other expert advisors) at the moment when the equity exceeds the specified percentage.
Closing on equity can greatly affect the results of testing, but keep in mind that if you then trade not on one pair, but on many, then equity will close all open positions at once. in Other words, if you get 2 on one instrument and 20 on the second, and so on, then all will be closed at an increase of 2%. In real life, I recommend disabling equity closing and, if desired, closing everything yourself when you see that the profit is sufficient.
Minimum profit – the minimum profit in the Deposit currency. The minimum profit is needed when closing on the reverse Delta. If you see that orders are closed at the reverse intersection with a minus due to slippage, then increase this parameter.
RulLock – Lock (in the version is 1.25). Allows you to set a full lock when leveling. If the EA has reached the maximum number of positions and the Delta has reached the opening of the next pair, a lock will be opened instead of the next top-up, I.e. all open positions will have opposite positions with the same total lot. Next, the EA will use the profit of this lock to close the locked positions. Thus, it opens the lock and resolves the drawdown. This situation is extremely rare, but sometimes it is very necessary.
Time Start (hour)
– time when the adviser starts working
Time End (hour) – the time when the adviser finishes working.
The EA can open a new series of trades only if the current time is in the Time Start – Time End interval
MagicPlus-in the expert Advisor, the magik is determined automatically by the pairs on which it trades. But if you need to trade on the same pairs with different settings (run 2 or more expert advisors for example on the EURUSD-USDCHF pair), then set any number here, for example, 1000000, and then instead of the usual magic = 5821, the magic 1005821 will be set
WindSize – The size of the information window. If you see text overlaying on 4K monitors, set the parameter to 2 or more.
fontsize – font Size in the information window.
Max Lot 1 – Maximum amount of position opened on 1 instrument
Max Lot 2 – Maximum amount of position opened on 2 instrument

Read more about configuring and optimizing the new SH expert Advisor:

About its acquisition, write to me

You can download the Expert Advisor itself here:

Version: 1.4
219.3 KiB
Version: 1.4
375.0 KiB