Evaluates the Price Action Indicator (PAIN) of an asset for a given trading period.
|Visual Basic (Declaration)|| |
Public Overloads Shared Function PriceActionIndicator( _
ByVal s As Series _
) As Series
- A financial series, where the first element is the traded price on the most recent period,
the second element is the traded price of the previous periods and so on, for the asset under
A series where the first element is the PAIN of the asset on the most recent period considered,
the second term is the PAIN on the period before that and so on.
|ArgumentException||Thrown if the |
Close are strictly negative.