Distance and change
How far one value is from another, and how much a value changed since the update before: the change rate, the percent change and the two distances.
In the QTSurfer catalogues, the indicators of distance and change are rateChange, percentChange, distance and distanceMa: small building blocks that turn one or two values into a relative measure, which compares across instruments. They read an indicator by its name, such as price, and work in a ticker or a kline strategy.
- Change rate: the change since the update before, as a fraction.
- Percent change: the same change, in percent.
- Distance: how far one indicator is from another, in percent of the other.
- Distance from an average: how far the price is from its moving average, in percent of the average.
The catalogues have them with their forms: QTScript indicators and Java indicators.