NEW Smart Hedge
Improvements to version 1.28
- changed the profit trail for a smoother increase in profit
- when you click the manual close button, you can immediately close positions or start a profit trail
- added a virtual trail of first positions
- clearing positions when their number becomes equal to MaxOrders
- launch of the lock (RulLock) and its sequential disclosure in 2 pairs if it is impossible to immediately resolve
- Change the lot number control for the netting account
- change in the Magico room to exclude any intersections with the same type of parametermode
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.
Please ask all questions about the adviser in the telegram group
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:
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:
For 3 months on 1 trading account-75 usd
For a year on 1 trading account – 250 usd
For the year, for all trading accounts opened in the name of 1 – 500 usd
No time limit for 1 trading account – 1000 usd
Other options for resale and so on are discussed in personal correspondence
Please contact me about purchasing it
- Email: email@example.com
- Skype: mqlcmillion
- WhatsApp +79283690333
- Telegram: @mqlcmillion