Algokid HLC Trend Indicator

1192 5 187
This indicator was created based on article found on Full credit goes to the author. This simple indicator calculates the trend based on the differences between close, high, and low of the security . This indicator works on all securities ( Stocks , Forex, Futures , etc....)


Remove from Favorite Scripts Add to Favorite Scripts
study("(AK) HLC Trend Indicator")
// Indicator based on article found on

// Inputs

emac = ema(close,5)
emal = ema(low,13)
emah = ema(high,34)

// Calculations

long = (emac - emah)>= (emal-emac)
neut = (emac - emah)
short = (emal- emac) > ( emac - emah)

// plot indicator

plot(emac-emah, color = blue,linewidth = 2)
plot(emal-emac, color = red, linewidth = 2)

barcolor(long ? blue :red)
bgcolor(long ? blue :red)
barcolor(neut ? yellow :na)
Why ema h is 34 ? It is too sloly. The chart is good work but I need emah 18 or 24 or faster (5,13,34)
Your work is interesting but the blue line is not fast so that I use the Rsi 7 (ema 7) instead of it. What do you think about it?
thx :)
link to article?
EN English
EN English (UK)
EN English (IN)
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 العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out