SMARTHEDGE 交易機器人每天都有豐厚的利潤

4
(1)

The Expert Advisor was developed on the basis of many years of research on pairwise correlation.
This is the assembly of all the best that was in past topics.
Previous topics:
HEAD
半自動 hedge system
在這個顧問, I left a minimum of settings for the convenience and ease of its use. You can set it without changing the default settings. To increase profits, you only need to change the lot.

Trading Robot (SMARTHEDGE

顧問 ) The Expert Advisor works on the following tools:
英鎊兌美元 - 歐元美元
GBPUSD.e - EURUSD.e
英鎊日元 - 美元日元
GBPJPY.e - USDJPY.e
These tools were selected and tested for a considerable period of time. The choice of these instruments is due to the fact that they correlate well with each other and do not diverge very far from each other. This provides insurance against long subsidence.
The timeframe for work I used M5 and M15, but you can experiment on other TFs.
The Expert Advisor on a given time interval (300 蠟燭) compares two instruments to each other and, if these instruments diverge, opens counter positions. 更遠, when the tools converge, the adviser closes the positions by the total profit indicated in the parameters or by changing the direction of convergence (color from red to blue or vice versa). Closing when changing direction occurs only with a positive profit.
Advisor enough to put on one pair of bundles. 例如, for trading on the GBPUSD bond - 歐元美元, it is enough to place the adviser on GBPUSD or EURUSD.
在圖表上, the adviser draws both currencies and the bars indicate the distance between them. In the lower left corner, the adviser shows the earned profit. In the upper right corner from top to bottom: 平衡 - the current balance of the entire account. 公平 - The current Equity of the Profit account - the current profit for open trades. Next in the line is displayed the profit at which the closing of trades takes place. If the closing is set to 0 in the settings, then the EA itself calculates the required closing amount based on the lot. Below right information about discrepancy tools.

Name: USDJPYM15.png Views: 10013 Size: 37.8 KB

最大限度 - this is the maximum discrepancy in the control area (default section = 300 蠟燭), 這
current one is the current discrepancy of the instruments.
Last opening - here it shows at what value the positions were last opened.
打開 - shows the divergence interval at which the following positions will be opened.
The Expert Advisor is fully automatic, but for lovers of the hand trade, I added 3 buttons to the bottom right corner.
When you press the manual control button, the adviser stops opening and closing positions itself, but at the same time it performs all the calculations and shows the levels of divergence.
Button Open - 打開 2 opposite positions for selected instruments.
Button Close - closes all positions.
Advisor can be used as a semi-automatic. 那些. open positions with your hands, and then give the adviser control the closing or, 相反, wait for the profit from the positions opened by the advisor to suit us and close the deals.

Advisor parameters:

п Lot - order volume K_Lot - increase in order volume. StartDelta - the minimum discrepancy at which we open the first pair of orders. It is also used to open subsequent pairs. Close when receiving a loss - the adviser for a given loss, 例如, 100 usd will close all positions
Title: param.PNG Views: 9647 Size: 18.7 KB

Close when receiving profit - the adviser for a given profit, 例如, 100 usd will close all positions. 如果 0 is specified, the adviser will calculate the profit for which you need to close positions depending on the lot and the difference of instruments.

If after opening the first pair of positions, the divergence of the tools increases, then the adviser opens the second pair of orders with the lot multiplied by the coefficient (默認情況下 1 - without increasing the lot).
通常, with such settings, the adviser opens 1-2 對, but the market sometimes gives surprises.

Example of an extreme situation:
пїј
Title: 2018-07-04_15-03-53.png Views: 9556 Size: 2.7 KB

This is a table of comments to orders. Advisor specifically creates such comments for ease of analysis. The adviser opened the first pair at delta 118.2, then the discrepancy increased by another 100 and the adviser opens the second pair 220.0 but the tools went further and the third pair of orders was opened at the delta 326.0. 在那之後, the convergence and closure of all 6 positions in total plus occurred.

pїј In this situation you can not wait for convergence tools to close all positions in manual operation. And you can wait until the profit reaches 610.79 usd or the color of the correlation changes to blue. Advisor works on a demo account without a key. For a real account, you must buy it or open an account using an affiliate program .Click image for larger version Name: USDJPYM15-exit from a drawdown.png Views: 5716 Size: 45.5 KB ID: 2024985

The EA does NOT work in the tester as the MT4 tester is not designed for pair trading.

版本 1 and all following has an autotranslator in English. And you can choose any tools for trade.
Improvements of version 3:
1 添加 3 delta levels (opening 1st 2nd and subsequent pairs of orders)
2 Added a filter for the selected TF. 現在, the adviser can work by analyzing 2 different TFs at once.
3 Added speed filter. Allows opening only if the delta during X bar was zero.
成功交易!

paperclip
圖片

attachment2162943

paperclip 附件
  • 這篇文章有多有用?

    點擊一顆星即可對其進行評分!

    平均評分 4 / 5. 計票數: 1

    目前還沒有投票! 成為第一個評價這篇文章的人.

    很抱歉這篇文章對您沒有用!

    讓我們改進這篇文章!

    告訴我們如何改進這篇文章?



    作者: 外匯維基團隊
    我們是一支經驗豐富的外匯交易員團隊 [2000-2023] 致力於以我們自己的方式生活的人. 我們的主要目標是實現財務獨立和自由, 我們追求自我教育並在外匯市場上獲得豐富的經驗,以此作為實現自我可持續生活方式的手段.