거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
7362
평가:
(27)
게시됨:
2017.11.03 12:22
업데이트됨:
2018.06.26 14:43
Last ZZ50.mq5 (61.26 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The strategy is based on the ZigZag indicator and pending orders.

The code idea first appeared in the forum topic A strategy based on the ZigZag indicator - "Last ZZ50" (in Russian).

The author of the idea: Vitaly Muzichenko, the author of MQL5 code: Vladimir Karputov.

The general principle of the "Last ZZ50" strategy:

Strategy based on "ZigZag" - "Last ZZ50"

In the ZigZag indicator, we always analyze the last two rays: AB and BC. The AB ray is not fixed yet, and can change (the position of the A point can change).

Pending orders are paced in the middle of the AB and BC rays so that:

  • Triggering of the pending order on the AB ray is the continuation of trend shown by the BC ray.
  • Triggering of the pending order on the BC ray is the reversal of trend shown by the BC ray.

Since the AB ray is not fixed yet, and can change (the position of the A point can change), the pending order will be modified all the time to keep its price in the middle of AB.

Open positions are trailed based on the following rule: we wait until the position moves to the profit area (not taking account commission and swaps) by at least (Trailing Stop + Trailing Step) points, and then enable the trailing function for this position.

The process of search for peaks is implemented in this Expert Advisor: the indicator is added to the chart, and additional three vertical lines are drawn through points A, B and C:

Last ZZ50 vline

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

Symbol Symbol

A library for working with traditional and custom symbols

ATRValues ATRValues

The indicator shows a text block with the values ​​of the user defined ATR period for each timeframe.

Four_MA_Strength_HTF Four_MA_Strength_HTF

The Four_MA_Strength indicator with the timeframe selection option available in input parameters.

AutoSLTP AutoSLTP

This assistant tool sets Stop Loss and Take Profit for all open orders. Symbol settings, position type, Stop Loss and Take Profit are specified in an external file.