ATR Based Zig Zag with EMAummadirajani wrote: Tue May 06, 2025 10:46 am HI mrtools
please consider converting this trading view Indicator to mt4
Hello, could you please verify if this is close to the TV version.
What is the ATR Based Zig Zag indicator?
This code was originally published on TradingView by HabibiBudo as a refined trend-following tool for traders seeking clear trend signals. It uses an "ATR breakout method" to determine the market trend and incorporates a smooth EMA line for visual trend direction.
The indicator monitors new swing highs and lows using ATR volatility thresholds. A significant price move against the trend, exceeding a distance multiplied by ATR, signals a trend reversal. This method ensures trend changes are based on key volatility movements rather than random price fluctuations.
How is this different from using the Zig Zag?
Rather than showing a bunch of zigzag pivots that can make things look messy, this indicator creates a clean, smooth EMA line based on the average price
((high + low) / 2). The line changes color right away depending on the trend: green (or any color you choose) for when prices are going up, and red for when they're going down.