Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 06:13:15 +0000



Post From: New chart studie

[2014-05-23 17:31:43]
User52247 - Posts: 26
Hi all,
I found a new indicator that detects the output flat range : "moindre carré"

Would someone kindly translate it for sierra?
example chart attached : http://hpics.li/d4f9ba6
Thanks

FORMULE CHART STUDIE "MOINDRE CARRE"

PeriodL=50
PeriodS=20
del=4

MMEL=exponentialaverage[PeriodL](close)
MMES=exponentialaverage[PeriodS](close)

y1=(MMES[del]+MMEL[del])/2
y2=(MMES+MMEL)/2

coeff=((y2-y1)/del)*1000

return coeff