.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > FinancialEngine Class > PriceActionIndicator Method : PriceActionIndicator(SeriesCollection) Method
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
PriceActionIndicator(SeriesCollection) Method
Evaluates the Price Action Indicator (PAIN) of an asset for a given trading period.
Syntax
'Declaration
 
Public Overloads Shared Function PriceActionIndicator( _
   ByVal sc As SeriesCollection _
) As SeriesCollection
'Usage
 
Dim sc As SeriesCollection
Dim value As SeriesCollection
 
value = FinancialEngine.PriceActionIndicator(sc)
public static SeriesCollection PriceActionIndicator( 
   SeriesCollection sc
)

Parameters

sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
Exceptions
ExceptionDescription
Thrown if the High, Low, Open, Close are strictly negative.
Remarks

Evaluation

The PAIN indicator is evaluated by the following formula:
PAIN = ((Close-Open)+(Close-High)+(Close-Low))/2
where:

  1. (Close-Open) defines Intra-Day Momentum
  2. (Close-Low) defines Late Selling Pressure (LSP)
  3. (Close-High) defines Late Buying Pressure (LBP)
Close is the period closing price, Open is the period opening price, High is the highest traded price during the period and Low is the lowest traded price during the period.

Interpretation

When the close is near the low, the assets's price is under selling pressure. If the close is near the high the asset's price is price is under buying pressure

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also