Evaluates the Price Action Indicator (PAIN) of an asset for a given trading period.
[Visual Basic]
Overloads Public Shared Function PriceActionIndicator( _
   ByVal seriesName As String , _
   ByVal s As Series _
) As Series[C#]
public static Series PriceActionIndicator( 
   string  seriesName,
   Series s
);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.
| Exception | Description | 
|---|---|
| Thrown if the High,Low,Open,Closeare strictly negative. | 
The PAIN indicator is evaluated by the following formula:
            
	PAIN = ((Close-Open)+(Close-High)+(Close-Low))/2
 where:
            
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.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
FinancialEngine Class | FinancialEngine Members | Overload List
2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.