거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

SAW_system_1 - MetaTrader 4용 expert

조회수:
20725
평가:
(27)
게시됨:
2016.10.27 13:28
업데이트됨:
2016.11.22 07:32
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The SAW_system_1 Expert Advisor places pending orders on the basis of the volatility for the last N days. The stop loss is always placed at the level of the opposite order, therefore, setting the stop loss value also sets the distance between orders. Stop loss and take profit and NOT calculated in points, but as a percentage of the average volatility over the specified number of days.

The orders are placed at a certain hour (terminal time), and if none of them was triggered, then they are deleted at the specified hour.

In addition, the EA is able to "reverse" the position when the first stop loss is triggered, or rather, it simply does not remove the opposite order when a position is opened by either of the orders. Also, when a position is opened, the opposite order can be placed with an increased lot to compensate losses, in case the position on second order closes in a loss.

Parameters:

  • Lot - trading lot;
  • Amount of days (for calculating volatility) - the number of days for calculation of volatility;
  • Hour installation orders (terminal time) - order placing hour (terminal time);
  • Hour removal orders (terminal time) - order deleting hour (terminal time);
  • Stop-Loss (percentage of the average volatility) - stop loss (percentage of the average volatility);
  • Take-Profit (percentage of the average volatility) - take profit (percentage of the average volatility);
  • Reverse positions - position reversal;
  • Martingale - enable Martingale;
  • Multiplier - Martingale multiplier.

The trading instrument does NOT matter, as long as optimization is performed.

Timeframe is not important either, as everything happens by the terminal time.



Recommendations:

  • The parameters should be optimized on a period not greater than one year, as greater period does not make sense.
  • Reoptimization will probably need to be performed every 3 months.
  • I had written this code long ago, so write me about all issues, I will fix them as much as possible.

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/15952

RAD - Rapid Application Development library RAD - Rapid Application Development library

Rapid Application Development library.

Indicator of the options levels Indicator of the options levels

The indicator is designed for calculating and displaying the options levels on the screen.

Fishing Fishing

The Expert Advisor opens positions after the price passes the specified distance. 1 step up - sells, 1 step down - buys.

Modified assistant for selecting the manual strategy Modified assistant for selecting the manual strategy

The indicator is designed for testing manual strategies and for practicing working according to the strategy. It provides operation reports presented as a table, chart, and additionally saves templates with and without the markup.