당사 팬 페이지에 가입하십시오
- 게시자:
- Conor Mcnamara
- 조회수:
- 299
- 평가:
- 게시됨:
- 2025.03.02 22:18
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
A zigzag which identifies new swing points based on a step size. The sensitivity of the swing detection is controlled by a single input "scale," which adjusts how responsive the indicator is to price changes.
The step size defines the minimum price movement required to reverse the current wave direction. It determines the threshold of price movement needed before the swing direction is considered to have changed.
The traditional Zigzag indicator uses a "depth" parameter to define the minimum number of price bars needed for a swing reversal, while this indicator focuses on the price movement itself.But despite this difference, the functionality is quite similar as there is a leg continuation until the new swing is confirmed. It should be used for swing analysis.
It is a conversion of an MT4 indicator by Evgeniy Chumakov.
The original MT4 indicator can be found here: https://www.mql5.com/en/code/54274
increasing the scale value will make the zigzag more sensitive to price changes, and thus, there will be more zigzag points the higher the scale value.
A default scale input of 1.0 was primarily designed for currency pairs.
For XAUUSD, you can start with a scale input of 3000 and work up from there.
For BTCUSD, you can start with a scale input of 25000 and work up from there.
For other types of markets, you will have to use trial and error to find an appropriate starting scale value.

The goal is to make the function readily available for any Telegram integration task in MQL5 development. By adding this file to your CodeBase, you can simply include it in your Expert Advisors and call the function directly from the included module. This eliminates the need to redevelop the code from scratch repeatedly, ensuring reusability across multiple projects.

Time to candle Close. Dynamic text colours. Optimised for back-testing.

Zig Zag indicator that relies only on a minimum % of retracement to each previous wave , and optionally , being bigger than a specific size measured in atr units.

Indicator edition for new platform.