- Tháng 9 21, 2020
- Gửi bởi: Nhóm ngoại hối Wiki
- Loại: EA ngoại hối miễn phí
Xin chào các bạn Wiki Forex,
Golden Spikes EA Mô tả :
Golden Spikes EA được tạo ra theo chiến lược giao dịch của chuyên gia nước ngoài. Sự khác biệt chính là khả năng tùy chỉnh tất cả các tham số trong mã một cách chính xác nhất có thể. Expert Advisor sử dụng 2 hệ thống độc lập cho giao dịch.
The code itself is quite complicated, there are many settings, my work on it took about a month. For all conditions for entry and forced exit, labels have been added to the chart to make it easier to understand why the corresponding order was opened and closed. My library of news indicators has been added to the advisor, which will not allow entering the market if there is news. All default settings have not been optimized. I recommend testing and optimizing each system in turn.
Recommended currency pairs: HAUUSD
Khung thời gian: M15
thời gian giao dịch: xung quanh đồng hồ, at the time specified in the settings
Recommended MM: 0.01 rất nhiều cho $ 300, 1-2% rủi ro trên mỗi giao dịch.
Người môi giới nên có phí thấp, hoán đổi thấp, và cũng là một máy chủ nhanh. Nhà giao dịch EA hoạt động với mọi nhà môi giới và mọi loại tài khoản, nhưng chúng tôi khuyên khách hàng của chúng tôi sử dụng một trong những môi giới tốt nhất được liệt kê dưới:
Danh sách môi giới tốt nhất :
Description of the strategy: Although it is written in the settings that there are two systems, each system also has several independent conditions for entry and exit (for more details, see the description of the operation of the system).
- The first system uses the indicators: Di chuyển trung bình, TRONG PR, CCI, the closing price [1] of the candle at the current TF and M1. Trades in both directions has 2 conditions for opening and closing orders.
- The second system uses indicators: Bollinger bands, ngẫu nhiên, start and end times for opening/closing orders. It trades only purchases, có 3 conditions for opening and closing orders.
The strategy at the heart of the advisor
Trong đánh giá này, I will try to describe the general principles of the hệ thống giao dịch tự động strategies of the Golden Spikes EA.
chính xác hơn, with all the parameters of the indicators, bên trong "lập trình" language, the system is described in a thread on the forum.
And here my task là to convey the essence so that you have an understanding of why the Golden Spikes EA enters the market.
This is how the full set of indicators used by the EA looks like:
Di chuyển trung bình, multiple sets of Bollinger Bands, ATR, ngẫu nhiên, WPR and CCI.
Both EA strategies use ATR as a filter volatility (see the description of the settings below). If the ATR is below the values specified in the settings, orders are not opened. I E if the market is calm, phẳng - Advisor does not open warrant.
Kế tiếp, we will consider the conditions for each strategy separately.
Chiến lược 1
Chiến lược giao dịch 2
The Golden Spikes EA only opens buy orders.
Đăng nhập (at least one of three conditions must be met):
1) Stochastic is in the oversold zone (below level 10), the price is above the lower Bollinger Bands channel, and the specific trading time from the settings is observed;
2) The closing price of the candle at H1 is higher than the Low price of this candle, and the specific trading time from the settings is also observed;
3) The price is higher than the lower Bollinger Bands channel, the specific trading time from the settings is observed.
Example of entering purchases:
You can also enable the ability to open additional orders if the price goes negative.
Position tracking:
At the time specified in the settings, a trailing stop is activated to follow orders when the price passes the specified distance.
Exit a position (at least one of five conditions):
1) The specified time has come;
2) The price has passed the specified distance, the exit time coincides with the time from the settings;
3) The price has passed the specified distance, the last closed candlestick is bearish;
4) The price has passed the specified distance plus from the breakeven level;
5) Exit on Friday evening according to the time filter.
Cài đặt EA Golden Spikes:
<=== Main Settings ===>
Count Every Tick - use every tick when trading; nếu như SAI , then the signal search will be performed 1 time per minute;
trượt giá - maximum allowable slippage in points;
Auto GMT Offset - automatically calculate the broker's GMT;
Manual GMT Offset - manually specifying the broker's GMT value;
DST - to be used if your broker is switching to summer / winter time;
bảo hiểm rủi ro - allow opening hedging (opposite) mệnh lệnh;
Pending Order Distance - if it is not equal to 0 (số không), then pending orders will be placed instead of market ones with the specified indent in points. If the value is negative, Stop orders are placed, if the value is positive, Limit orders are placed. This is not a pending switch, but a parameter for specifying the values of the order offset in points;
Pending Expiration (tối thiểu) - pending order life time in minutes, after which it will be deleted if not activated.
<=== Extra Settings ===>
Hiển thị bảng thông tin - display the info panel trên biểu đồ;
Chênh lệch tối đa - các maximum allowable spread for opening orders.
Max Open Orders - các maximum allowed number of open orders for both systems in total. Nếu như 0 - các filter is disabled;
Max Account DD% - maximum account drawdown by equity, above which new orders will not be opened;
Thời gian ATR - period of the Average True Range indicator for calculating volatility;
ATR pips - value of the ATR indicator in points, below which the volatility is considered weak and new orders will not be opened;
Pause after Loss (Giờ) - pause after a losing order in hours, during which no new orders will be opened;
Thứ hai: Giờ bắt đầu - time from which trading starts on Monday;
Thứ sáu: Close All trades - filter for closing orders on Friday after Thứ sáu: Exit Hour , if the order lifetime is more than 3 phút;
Thứ sáu: Exit Hour - time in hours, above which all orders will be closed on Friday, nếu như Thứ sáu: Close All trades = true ;
Thứ sáu: Last Trade Hour - các hour after which it is prohibited to open new orders on Friday. Nếu như -1 là not taken into account.
<=== SYSTEM 1 MAIN SETTING ===>
Sys 1: Use System - whether or not to use system # 1;
Sys 1: Only Long - allow opening only purchases for system # 1;
Sys 1: Con số kỳ diệu - magic number for system # 1;
Sys 1: Chặn đứng tổn thất - stop loss in points for system # 1;
Sys 1: Chốt lãi - lấy profit in points for system # 1;
<=== System 1 Indicators ===>
Sys 1: iMA Period - period of the Moving Average indicator;
Sys 1: WPR Period - period of the Williams Percent Range indicator;
Sys 1: CCI Period - period of the Commodity Channel Index indicator;
Sys 1: iMA Shift 1 - offset from the MA for the first entry condition by the system;
Sys 1: iMA Shift 2 - offset from the MA for the second entry condition by the system;
Sys 1: WPR Level 1 - WPR level, bên trên / below which the signal for the first entry condition on the system will be taken into account. For the lower level, the value -100- is taken Sys 1: WPR Level 1;
Sys 1: WPR Level 2 - WPR level, bên trên / below which the signal for the second input condition on the system will be taken into account. For the lower level, the value -100- is taken Sys 1: WPR Level 2 ;
Sys 1: CCI Level - CCI level, bên trên / below which the signal for the first entry condition on the system will be taken into account. For the opposite level, the value is taken - Sys 1: CCI Level ;
Sys 1: iClose Shift - offset from the bar's close [1] giá , required to open an order;
<=== System 1 Modify & Closing ===>
Sys 1: Trail SL Pips Start - value in points after which Sl will be moved closer to the price;
Sys 1: Trail SL Pips Distance - distance from the order open price to the new Sl;
Sys 1: WPR Level Close - value of the WPR indicator, bên trên / below which the signal for the first condition for exiting a trade will be taken into account;
Sys 1: iClose Shift Close - shift in points from the closing price [1] of the bar, which is required for the first condition to exit the deal;
Sys 1: Close Pips Distance 1 - các distance in points from the current price to the open price, above which the order cannot be closed by the first condition for exiting the transaction;
Sys 1: Close Pips Distance 2 - các distance in points from the current price to the open price, above which the order cannot be closed by the second condition for exiting the transaction;
Sys 1: Close Candle M1 Shift - offset from the close [1] price in relation to the open [1] price and for M1 TF to close by the second condition for exiting the trade.
<=== System 1 Risk Management ===>
Sys 1: Chế độ phục hồi - recovery mod. Nếu đúng, after losing trades, the trading lot will increase to recover losses;
Sys 1: Lô cố định - fixed lot that will be used if Sys 1: AutoMM = false ;
Sys 1: AutoMM - automatic money management, the trading lot will be calculated depending on the balance and Sys 1: Chặn đứng tổn thất . Với một giá trị của 1, there will be a risk of 1% của tiền gửi, với một giá trị của 2 - 2%, và như thế.
<=== SYSTEM 2 MAIN SETTING ===>
Sys 2: Use System - whether or not to use system # 2;
Sys 2: Con số kỳ diệu - magic number for system # 2;
Sys 2: Chặn đứng tổn thất - stop loss in points for system # 2;
Sys 2: Chốt lãi - lấy profit in points for system # 2;
Sys 2: Max Open Orders - maximum number of orders for system # 2. Nếu như 0 (số không) - additional averaging orders will not be opened;
Sys 2: Distance Between Orders - minimum distance between orders of system # 2.
<=== System 2 Indicators ===>
Sys 2: Stochastic K Period - period K of the Stochastic indicator;
Sys 2: Stochastic D Period - D period of the Stochastic indicator;
Sys 2: Stochastic Slowing - period of the slowing down Stochastic indicator;
Sys 2: Stochastic Lower Level - các lower level of the Stochastic indicator, below which a buy entry signal will be taken into account;
Sys 2: BB Period 1 - period of the Bollinger Bands indicator for the first condition for opening orders;
Sys 2: BB Period 3 - period of the Bollinger Bands indicator for the third condition for opening orders;
Sys 2: BB Deviation - deviation value of both Bollinger Bands indicators;
Sys 2: BB Channel Shift (số pít) - offset from the BB channel for the first condition for opening orders;
Sys 2: BB Channel Shift 3 (số pít) - offset from the BB channel for the third condition for opening orders.
<=== System 2 Opening ===>
Sys 2: Open Hour Start 1,2 - time in hours to start searching for a signal according to conditions 1 Và 2 for opening orders;
Sys 2: Open Hour End 1,2 - time in hours of the end of the signal search under conditions 1 Và 2 for opening orders;
Sys 2: Open Hour Start 3 - time in hours to start searching for a signal by condition 3 of opening orders;
Sys 2: Open Hour End 3 - time in hours of the end of the signal search by condition 3 of opening orders;
Sys 2: Modify Hour Equal - specific time in hours for modifying the SL using the Sys 2 tham số : Trail SL Pips ;
Sys 2: Open Pips Low Shift - các distance in points added to the Low [1] price of the bar so that the resulting value does not exceed the Close [1] price of the bar for condition 2 Để nhập cảnh;
Sys 2: Trail SL Pips - transferring SL orders for a specified distance at a specified time, if the new price is higher than the old SL.
<=== System 2 Closing ===>
Sys 2: Close Hour Equal 1 - exact time in hours when orders will be closed by condition 1. Tại -1, bộ lọc không hoạt động;
Sys 2: Close Hour Start 2 - start time of the search for a signal to close by condition 2 tính bằng giờ;
Sys 2: Close Hour End 2 - time of the end of the search for a signal to close by condition 2 tính bằng giờ;
Sys 2: Close Pips Distance 2 - các distance from the bid price to the order opening price to close the order by condition 2;
Sys 2: Close Pips Distance 3 - các distance from the bid price to the order opening price to close the order on condition 3;
Sys 2: Close Pips Distance BE - distance from the BU level, above which the order / group of orders will be closed.
<=== System 2 Risk Management ===>
Sys 2: Chế độ phục hồi - recovery mod. Nếu đúng, after losing trades, the trading lot will increase to recover losses;
Sys 2: Lô cố định - fixed lot that will be used if Sys 2: AutoMM = false ;
Sys 2: AutoMM - automatic money management, the trading lot will be calculated depending on the balance and Sys 2: Chặn đứng tổn thất . Với một giá trị của 1, there will be a risk of 1% của tiền gửi, với một giá trị của 2 - 2%, và như thế;
Sys 2: Hệ số lô - multiplier for the trading lot that will be applied to the second and subsequent orders.
<===== NEWS FILTER ========>
UseNewsFilter - whether or not to use the news indicator;
Stop Trade Before News (tối thiểu) - stop trading before the specified time of news release in minutes;
Start Trade After News (tối thiểu) - start trading after the specified time of news release in minutes;
Độ lệch GMT - the time shift of the news according to GMT (Ví dụ, for GMT Offset = +2 in winter and +3 vào mùa hè);
News Time Count - các number of displayed news that do not have the same release time. Must be greater than 0 (số không);
Show Table - displaying a table with data: none, left-top, right-top, left-bottom, right-bottom;
Table Time - display of news time in the table: before the news or the time of the news itself (by broker or local computer);
Show Forecast - display the previous values of news indicators and forecast for each news in the table;
Show Event Flags - show news flags or flags with permanent vertical lines describing the news;
Show Flags Text - display an inscription with news on the flag lines, nếu đúng;
Show History Flags - saves flags with descriptions of past news on the chart.
<===== Currency Settings =====>
DoNotTradeNews - do not display the listed news (Ví dụ, PMI, CPI, Retail Sales, Trade Balance, vân vân.);
Show Only Pair News - show news only for the current pair;
NewsImpact - Các importance of the news displayed.
<===== Notification Settings (Phút) =====>
Show Caution BeforeNews - show a notification of important upcoming news at the top of the screen in minutes before the release.
<====== Design Settings ======>
Color Header - setting the color of the news heading;
Color Low News - setting the color of news with low importance;
Color Medium News - setting the color of news with moderate importance;
Color High News - setting the color of high priority news.
All distance and target settings are indicated in the old paragraphs (2 decimal places).
If you do not understand what you are doing, then do not touch anything except the risk settings!
It is recommended to use lot 0.01 Cho mọi $ 300 của tiền gửi, or put automatic money management 1-2%.
Golden Spikes EA Results:
History tests
Tests on history, tất nhiên rồi, do not reflect how the EA will behave in the future, but at least they can give a rough idea.
Let me remind you that we are doing tests with a fixed lot of 0.1 for a more adequate understanding of the EA's behavior and the size of the drawdown, as well as regular tests with activated money management.
For Golden Spikes EA using two strategies, we also made separate tests for each one. And additional tests with the recovery mode, when the advisor increases the lot after losing trades (không được khuyến khích).
The tests below were done in the Tick Data Suite program with a simulation quality of 99%.
Test with activated money management, 1% rủi ro trên mỗi giao dịch, 2013-2020
The tests are good, the drawdown does not exceed 20% with the MM activated.
Now let's take a look at the strategy tests separately with Golden Spikes EA.
Chiến lược 1, rủi ro 1%, 2013-2020
80% of deals are profitable, but miracles do not happen - the average loss is clearly several times greater than the average profit.
In the second strategy, there are much fewer profitable trades - chỉ một 55%, but this is enough to bring the strategy to a plus.
Nói chung, it can be seen that strategies complement each other well, compensating the periods of drawdowns for one strategy with income for another. Tất nhiên rồi, not always, but often.
Tests with Recovery Mode Activated
1 chiến lược
If in the first strategy the Recovery mode (increasing the lot after losing trades) can be used, sau đó in the second strategy, Recovery should not be used...
Giám sát tài khoản
Ngay bây giờ, the advisor is showing excellent results due to the high volatility of gold. Vì thế, you should not think that it will always be so. You should be prepared for a drawdown and do not forget about risk management.
Tải xuống EA Golden Spikes:
gai vàng EA