Performance
The Performance indicator displays a security's price performance as a
percentage. This is sometimes called a "normalized" chart.
The Performance indicator displays the percentage that the security has
increased since the first period displayed. For example, if the Performance
indicator is 10, it means that the security's price has increased 10% since the
first period displayed on the left side of the chart. Similarly, a value of -10%
means that the security's price has fallen by 10% since the first period
displayed.
Performance charts are helpful for comparing the price movements of different
securities.
Syntax:
Public Function Performance(ByVal PIn() As Double) As Double
Parameters:
Back to list
Example:
Dim TA4Net As
New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE")
Dim Result() As
Double
Dim CloseValues() As
Double
' loading values to arrays
CloseValues =
GetCloseValues()
' calculating Technical Analysis function
Result = TA4Net.Performance(CloseValues)
|