Description:
A study for determining the the
strength of a trend
if (a1[i] >= a1[i-1])
score = score + 1 else score = score - 1)
if (a1[i] >= a1[i-period]) score = score + 1 else score = score - 1)
Parameters:
Period:
Period with which to base the
TrendScore Calculation
Arguments:
OHLC
or output indicator from another
study.
Output Indicators:
TrendScore
Example:
Study Name Expanded in a 3 minute timeframe:
I3_TrendScore(10)(Close)_I3
This study calculates
TrendScore study with a period of 10 on the 3 minute time frame,
using the close of the 3 minute bar as input argument
The output indicators names are appended to the studyname,
that is if the studyname is sn1 then
the outputindicator is
sn1::TrendScore