Our ZTREND indicator is an outstanding Trend indicator to determine the Direction and Strength of the current price movement in units of Standard Deviation from a set period average, that is, helps you visualize the strength of the trend in relation to a set average. This indicator is part of a bundle of 5 indicators which we call the ZScore Indicator Suite all based on the ZScore function of statistics.

In this particular mode (ZTREND) you can see whether price is trending above or below the mean average of it, a simple moving average (period of your choice) determined by a + or - value. The value itself represents a custom function that indicates strength. A value above 1 or below -1 can be sustained ONLY if price is trending in such direction

In the example above we have the ZTrend indicators set at periods 253. It is best to use this indicator with a longer period setting in order to eliminate noise. You can add another ZTrend with a lower period to determine entries within a Trend.

Alerts can be turned off in settings

Each indicator in the ZScore Suite has a particular function:

ZClassic: Measures the position of Price in relation to a set average in units of standard deviation.

ZRange: Measures the position of the Standard Deviation itself in relation to a set average, in units of standard deviation.

ZVolumeDelta: Measures the position of Volume Delta in relation to a set average, in units of standard deviation.

ZTrend: Its a custom mathematical function that allows to measure the strength and direction of the Trend in reference to a set average.

BTC tip jar:
Need help with indicator creation?
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact FX_Baba for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

Please visit our website to gain access to this indicator: http://www.fxbabatrading.com

Want to use this script on a chart?

Warning: please read before requesting access.