Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the value of the trend indicator.
Syntax
public int getTrendIndicator(real _prevValue, real _currentValue)
Run On
Server
Parameters
- _prevValue
Type: real
The value for the previous time period
- _currentValue
Type: real
The value for the current time period.
Return Value
Type: int
The indicator of the trend, which can be up, flat, or down.
Exceptions
Exception | Condition |
---|---|
Error | An unexpected indicator type was found. |