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

Universal trailing stop - MetaTrader 4용 expert

조회수:
46511
평가:
(31)
게시됨:
2010.03.09 09:33
업데이트됨:
2014.04.21 14:54
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Description:

Can run as a single Expert Advisor or a script, together with any Expert Advisor.

Depending on the variable TrailingStop, trailing may be performed using the fractals, the extremal values of bar in the past or using the specified points.

  • If TrailingStop is greater than 0, then trailing will be carried out with the specified points, which are defined in the variable TrailingStop. If TrailingStop is less than the minimal limit stops, trailing stops will be minimal.
  • If TrailingStop = 0 and Tip.Fr.or.Candl = 0, then trailing will performed using the fractals. The first corresponding fractal is used for the trailing.
  • If TrailingStop = 0 and Tip.Fr.or.Candl = 1, then trailing will performed using the minimal/ maximal price values of the previous candle.
  • If Magic = 0, then the trailing will performde on all orders with of this character, without the magic number. If the variable specified Magic magic number, respectively, will only trailing orders with the number of Magic.
  • If OnlyProfit = true, then trailed profit orders only.
  • If OnlyWithoutLoss = true, then orders trailed to the price level without loss only.

Visualization:

The screen displays information about the ongoing work of the script:

- Script settings;
- Number of orders, that processed;
- Current time
- Minimum levels of Stop (-)
- Current possible stop levels (price tags)

Tips:

The script terminates when all orders are closed. If the program is running as an ExpertAdvisor, it can be terminated manually.


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

EnvelopeMA version 0.0.1.beta EnvelopeMA version 0.0.1.beta

Uses the ideas of envelopes, moving averages and parabolic SARs for entry and exits. Made for M15.

Multi Moving Average v2 Multi Moving Average v2

Multi Moving Average v2 - is a new version of the indicator Multi Moving Average.

Instrument Instrument

Displaying of candles of any instrument of any period.

News Trader Strategy News Trader Strategy

This is an example of the one of trading news strategies. It can be a part of bigger EA which can play news.