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

A WPR Based Trailing Stop Module - MetaTrader 5용 라이브러리

조회수:
6499
평가:
(37)
게시됨:
2013.07.16 20:26
업데이트됨:
2016.11.22 07:32
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The trailing module is based on two stop levels: a short and a long one. The long stop level is similar to a fixed trailing stop. A short stop level is activated when the WPR indicator leaves the overbought/oversold areas. The width of the overbought/oversold areas is defined by the module settings.

Module settings:

  • Timeframe of WPR - the timeframe of the module (may differ from the EA timeframe).
  • Period of WPR - WPR calculation period. It can not be less than 3!
  • Stop levels of WPR-trailing (-50±StpLvl) - setting the overbought / oversold levels relative to level -50. The value should be within the range of (1;49)
  • Short stop - short Stop Loss in points.
  • Long stop - long Stop Loss in points

Locate the file TrailingWPRwStops.mqh in the terminal_data_directory\MQL5\Include\Expert\Trailing or any Trailing subdirectory (not to trash in the source folder), otherwise it will not be available to the Exert Advisor Wizard.

The figure shows an example of the module when opening a short position on EURUSD. When the WPR indicator leaves the oversold area (set by the Stop levels of WPR-trailing (-50±StpLvl) parameter), a short Stop Loss (a red line on the candlestick chart) is activated, which closes the position.

Fig. 1. An example of the module

Fig. 1. An example of the module

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

linreg linreg

A typical MA using the linear regression algorithm

GRFLeadingEdge GRFLeadingEdge

Quite an interesting alternative to Bollinger Bands

Cronex_Impulse_CD_Color Cronex_Impulse_CD_Color

A modification of the MACD histogram.

BBflat_sw BBflat_sw

A simple interpretation of the Bollinger Bands indicator in a separate window.