Gains, losses and extremes
The size of each rise and fall with the streak behind it, and what has accumulated since the start: the gain, the loss, the maximum, the minimum and the sum.
In the QTSurfer catalogues, the indicators of counting and extremes are gain, loss, max, min and sum: they follow a value update by update and keep what a rule often needs, the size of a move, its streak, or what has accumulated since the start. They read an indicator by its name, such as price, and work in a ticker or a kline strategy.
- Gain: the size of each rise, and how many come in a row.
- Loss: the size of each fall, and how many come in a row.
- Maximum: the highest value since the start.
- Minimum: the lowest value since the start.
- Sum: the total since the start.
The catalogues have them with their forms: QTScript indicators and Java indicators.