Pick Bottoms and Tops of a trend with ZTrend indicator. Use this indicator in multi frame for superb results.
If you are a Short Term trader, then use 2 hourly and Daily timeframe combination.
So after a downtrend, buy when 2 hourly candle turns green and wait until Daily candle also turns Green. Exit when 2 hourly candle turns red.
Ride the trend and do not exit until the 2 hourly candle turns Red.

When 2 consecutive candle body become thin, means end of a trend is near. Therefore either reduce the position or hedge.

Discipline is the key, therefore exit on the indication and do not wait in hope of marking turning your side.
Release Notes: study("ZTrend", shorttitle="Z_HA", overlay=false)

O = ema(open,3)
H = ema(high,3)
L = ema(low,3)
C = ema(close,3)

haclose = (O + H + L + C) / 4
haopen = na(haopen) ? (O + C) / 2 : (haopen + haclose) / 2
hahigh = max(H, max(haopen, haclose))
halow = min(L, min(haopen, haclose))

plotcandle(haopen, hahigh, halow, haclose, title='Mod_HA', color=(haopen < haclose) ? green : red, wickcolor=gray)
Release Notes: New update will plot ZTrend on the price chart itself.

Use the Show/Hide button beside name of the instrument example show/Hide button just beside "NIFTY, 1D, NSE"
Release Notes: Actual closing price of each bar now is also plotted in light blue line. This will help give an indication where exactly the actual price is with respect to ZTrend bars.
Remove from Favorite Scripts Add to Favorite Scripts
Hi there ... I really like your chart .... could you give me access so I can try some different settings?
Thank you very much!!!
Sir I would like to use it but due to restriction not been able to do that!
How are are you guys able to use it? It shows access restricted to me
+2 Reply
well, i am able to plot z trend on main chart but that main chart is collision with z trend so its become difficut to recognise yr chart, how to remove main chart and keep only z trend as chart kindly guide. thx
+4 Reply
techDRT stock_rider
@stock_rider, change chart view to line from candle and problem solved.
hi can you please share the script. Appreciate the effort. Many thanks!
Can u provide AFl of z-trend ??
Does it provide best result only on 2hr timeframe? Or other timeframes also provide good results?
line 9: Undeclared identifier `haopen`;
line 10: Undeclared identifier `haopen`;
line 11: Undeclared identifier `haopen`;
line 11: Undeclared identifier `hahigh`;
line 11: Undeclared identifier `halow`
line 8: Undeclared identifier `haopen`;
line 9: Undeclared identifier `haopen`;
line 10: Undeclared identifier `haopen`;
line 11: Undeclared identifier `haopen`;
line 11: Undeclared identifier `hahigh`;
line 11: Undeclared identifier `halow`
+3 Reply
AnchalGiriya AnchalGiriya
haopen = na(haopen) ? (O + C) / 2 : (haopen + haclose) / 2
From where the haopen is getting the initial value, this is creating problem.
+1 Reply
EN English (IN)
EN English
EN English (UK)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
HE עברית
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Get Help Ideas Published Followers Following Private Messages Chat Sign Out