!!! Force Index - from "Trading for
a Living" by Dr Alexander Elder, published by John Wiley and Sons
!!! Force is plotted as a histogram with a horizontal centerline
at zero level.
ForceIndex is ([volume] * ([close] - val([close], 1))) / [close].
! Herrick Payoff Index - page 183 from
"Trading for a Living" by Dr. Alexander Elder, published by John
Wiley and Sons.
! These are UDF's that can be plotted as indicators.
MidRange is ([high] - [low]) / 2.
YesterdayMidRange is ValResult(MidRange,1).
Min2DayOpenInt is min([openint],val([openint],1)).
ChangeInOpenInt is abs([openint] - val([openint],1)).
Channel is ((ChangeInOpenInt * 2) / Min2DayOpenInt).
SignedChannel is IFF( MidRange < YesterdayMidRange , Channel
* -1, Channel).
DaysInto is ReportDate() - RuleDate().
Stop if DaysInto >= 240.
K is ((MidRange - YesterdayMidRange) * [volume]) * (1 + SignedChannel).
KY is iff( Stop, 0, ValResult(K,1)).
! Stochastic - from "Trading for a
Living" by Dr Alexander Elder, published by John Wiley and Sons
! Fast stochastic, that plot both PercentK and PercentD on the same
graph.
C is [close].
L is Loval([low], n).
H is HiVal([high], n).
n is 5.
! Williams % R - from "Trading for
a Living" by Dr. Alexander Elder, published by John Wiley and Sons.
! Williams % R For indicators use an upper reference line as 90,
lower reference as 10.
r is 7.
Hr is Hival([high], r).
Lr is Loval([low], r).
C is [close].