量化交易系统

MT4-Powerful martingale generators

  • 型号:
Main Image
强大的马丁格尔生成器是一个可以生成马丁格尔算法的EA。



马丁格尔交易法有一个弱点,就是在没有反弹的趋势性市场中会有大量未实现的损失。

当市场向一个方向移动时,经济指标公布前后的时机尤其常见,市场快速波动导致被迫削减损失的情况并不少见。

为了克服这些弱点,我们实施了一项功能,在经济指标发布前后限制交易。

在交易限制下,交易员不会开立新的头寸,而只会锁定利润。 这就减少了缩减,使交易者能够瞄准利润。



默认设置已经为欧元兑美元的大额利润进行了优化。

我们建议默认设置的保证金为5000美元。

通过改变参数来降低所需的保证金是很容易的。


为了使用经济指标数据

你需要允许以下URL通信

http://192.109.119.100



---------Input Parameter ---------

Parameters for restricting transactions

EVENT_Number_of_non_agricultural_sector_hires_hours_ago

EVENT_Number_of_non_agricultural_sector_hires_hours_later

EVENT_GDP_hours_ago

EVENT_GDP_hours_later

EVENT_Retail_Sales_hours_ago

EVENT_Retail_Sales_hours_later

EVENT_industrial_production_hours_ago

EVENT_industrial_production_hours_later

EVENT_ISM_business_sentiment_index_hours_ago

EVENT_ISM_business_sentiment_Index_hours_later

EVENT_MBA_Mortgage_Application_Index_hours_ago

EVENT_MBA_Mortgage_Application_Index_hours_later

EVENT_Highlights_of_the_FOMC_meeting_hours_ago

EVENT_Highlights_of_the_FOMC_meeting_hours_later

EVENT_Chair_of_the_Federal_Reserve_hours_ago

EVENT_Chair_of_the_Federal_Reserve_hours_later

Control parameter

lots_coefficient lot multiplier

magic_number  magic_number

slippage  slippage

profit_width Takeprofit

average_width Distance with additional orders

sec_threshold Threshold for the number of lots

secondary_profit_width profit_width When the lot number threshold is exceeded or when the lot is under trading restrictions

secondary_average_width  average_width When the lot number threshold is exceeded or when the lot is under trading restrictions

flash_stop_min Once a position is opened, no new positions are opened for the specified time (unit: minutes).

-------------------------------------------------------------------------------------------------------------

The basic lot can be changed by editing the following file.

run time: MQL4\Files\lots.csv

During backtesting:tester\files

The file will be created automatically by EA.