Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Autoscaling Zigzag - indicator for MetaTrader 5

Evgeniy Chumakov
Published by:
Conor Mcnamara
Views:
2912
Rating:
(3)
Published:
2025.03.02 22:18
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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.

Autoscale zigzag

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.



Telegram integration made easy. Telegram integration made easy.

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 Close v1.01 - MT5 Time To Close v1.01 - MT5

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

Fibonacci ZigZag Fibonacci ZigZag

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.

BreakRevertPro EA Adaptive Trading Edge for Breakout Mean Reversion BreakRevertPro EA Adaptive Trading Edge for Breakout Mean Reversion

BreakRevertPro EA merges breakout and mean reversion strategies with adaptive SL/TP and multi-timeframe ATR trailing stops for flexible trading in volatile markets.