
Name

Description


AddValue(TRSCustomChart,TRSChartValueType[])

Overloaded. Adds an array of values to the Target Chart. Values order is assumed to be TimeStamp, High, Low, Average, Close, Open.


Average(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the average of all values from IndexLow to IndexHigh in the SourceChart and returns the average (Inherited from RSChartFunction.TRSCustomChartFunction.)


Average(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the average of all values from IndexLow to IndexHigh in the SourceChart and adds the average to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp. (Inherited from RSChartFunction.TRSCustomChartFunction.)


Changed

Represents method Changed. (Inherited from RSChartFunction.TRSCustomChartFunction.)


ChartAdded(TRSCustomChart)

IChartPanelListener interface method that occurs when a chart is added to a panel. It is ignored by the function class. (Inherited from RSChartFunction.TRSCustomChartFunction.)


ChartChanged(TRSCustomChart)

IChartPanelListener interface method that occurs when the SourceChart changes (e.g., Caption, Align, etc) . It is ignored by the function class. (Inherited from RSChartFunction.TRSCustomChartFunction.)


ChartDeleted(TRSCustomChart)

IChartPanelListener interface method that occurs when a chart is removed from a panel. It is ignored by the function class. (Inherited from RSChartFunction.TRSCustomChartFunction.)


Copy(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Represents method Copy(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer). (Inherited from RSChartFunction.TRSCustomChartFunction.)


DoFunction

Represents method DoFunction. (Inherited from RSChartFunction.TRSCustomChartFunction.)


GetPeriodIndex(TRSCustomChart,Integer,TDateTime)

Returns the Source Chart Index for the end of the period defined by the StopTime from the LowIndex (Inherited from RSChartFunction.TRSCustomChartFunction.)


GreatestCommonDivisor(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the greatest common divisor (gcd) of the SourceChart Values and returns the value. The SourceChart Values are rounded into integers and the GCD calculated from this array. The GCD of two or more integers, when at least one of them is not zero, is the largest positive integer that divides the numbers without a remainder. For example, the GCD of 8 and 12 is 4. (Inherited from RSChartFunction.TRSCustomChartFunction.)


GreatestCommonDivisor(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the greatest common divisor (gcd) of the SourceChart Values and adds the GCD to the TargetChart. The SourceChart Values are rounded into integers and the GCD calculated from this array. The GCD of two or more integers, when at least one of them is not zero, is the largest positive integer that divides the numbers without a remainder. For example, the GCD of 8 and 12 is 4.
If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp.


HighLow(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Calculates the High and Low (Maximum and Minimum) of all values from IndexLow to IndexHigh in the SourceChart and adds the high and low to the TargetChart. The new TargetChart value includes the TimeStamp.


HighLowAverage(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Calculates the High and Low (Maximum and Minimum) and the Average of all values from IndexLow to IndexHigh in the SourceChart and adds the high. low, and Average to the TargetChart. The new TargetChart value includes the TimeStamp.


HighLowAverageOpenClose(TRSChartValueTypeArray)

Overloaded. Calculates the High and Low (Maximum and Minimum), Average, Open, and Close of all values from the input Data array and returns the metadata in an array. The results order is High, Low, Average, Close, Open.


HighLowAverageOpenClose(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the High and Low (Maximum and Minimum), Average, Open, and Close of all values from IndexLow to IndexHigh in the SourceChart and adds them to the TargetChart. The new TargetChart value includes the TimeStamp.
Note

If the TargetChart is not a TRSCandleStickChart, the Open and Close values are ignored.



HighLowMedian(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Calculates the High and Low (Maximum and Minimum) and Median of all values from IndexLow to IndexHigh in the SourceChart and adds the values to the TargetChart. The new TargetChart value includes the TimeStamp.


IsModified

Returns true if the SourceChart has been modified since the last time the chart has applied the function (Inherited from RSChartFunction.TRSCustomChartFunction.)


Maximum(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the maximum of all values from IndexLow to IndexHigh in the SourceChart and returns the maximum (Inherited from RSChartFunction.TRSCustomChartFunction.)


Maximum(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the maximum of all values from IndexLow to IndexHigh in the SourceChart and adds the maximum to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp. (Inherited from RSChartFunction.TRSCustomChartFunction.)


MeanStdDev(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Calculates the Mean and Standard Deviation for all the values from IndexLow to IndexHigh in the SourceChart and adds the high and low to the TargetChart. The new TargetChart value includes the TimeStamp.


Median(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the median of all values from IndexLow to IndexHigh in the SourceChart and returns the median. The function also returns the timestamp of the median value if the SourceChart contains timestamps (SourceChart.Values.IsDateTime=True) (Inherited from RSChartFunction.TRSCustomChartFunction.)


Median(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the median of all values from IndexLow to IndexHigh in the SourceChart and adds the median to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp. (Inherited from RSChartFunction.TRSCustomChartFunction.)


Minimum(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the minimum of all values from IndexLow to IndexHigh in the SourceChart and returns the minimum (Inherited from RSChartFunction.TRSCustomChartFunction.)


Minimum(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the minimum of all values from IndexLow to IndexHigh in the SourceChart and adds the minimum to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp. (Inherited from RSChartFunction.TRSCustomChartFunction.)


Norm(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the Euclidean 'L2' norm for the values in the SourceChart over the time period. (Inherited from RSChartFunction.TRSCustomChartFunction.)


Norm(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the Euclidean 'L2' norm for the values in the SourceChart over the time period and adds the value to the TargetChart. The 'L2' norm is the square root of the sum of squares. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp. (Inherited from RSChartFunction.TRSCustomChartFunction.)


Notification(TComponent,TOperation)

Represents method Notification(TComponent,TOperation). (Inherited from RSChartFunction.TRSCustomChartFunction.)


PanelChange

IChartPanelListener interface method that occurs when the panel changes. It is ignored by the function class. (Inherited from RSChartFunction.TRSCustomChartFunction.)


PerformFunction

Executes the function on the SourceChart and adds values to the TargetChart
Note

Note that the old TargetChart values are deleted



PopnStdDev(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the population standard deviation (the square root of the population variance) of all values in the SourceChart over the time period. (Inherited from RSChartFunction.TRSCustomChartFunction.)


PopnStdDev(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the population standard deviation (the square root of the population variance) of all values in the SourceChart over the time period and adds the value to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp.
(Inherited from RSChartFunction.TRSCustomChartFunction.)


PopnVariance(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the population variance of all values in the SourceChart over the time period, using the n method (biased): TotalVariance / n. (Inherited from RSChartFunction.TRSCustomChartFunction.)


PopnVariance(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the population variance of all values in the SourceChart over the time period and adds the value to the TargetChart, using the n method (biased): TotalVariance / n. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp.
(Inherited from RSChartFunction.TRSCustomChartFunction.)


SelectionChanged(TObject)

IChartPanelListener interface method that occurs when the SourceChart's value is selected or deselected. It is ignored by the function class. (Inherited from RSChartFunction.TRSCustomChartFunction.)


SetFunction

Represents method SetFunction. (Overrides RSChartFunction.TRSCustomChartFunction.SetFunction.)


StdDev(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the sample standard deviation (the square root of the sample variance) of all SourceChart's values over the time period. (Inherited from RSChartFunction.TRSCustomChartFunction.)


StdDev(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the sample standard deviation (the square root of the sample variance) of all SourceChart's values over the time period and adds the value to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp. (Inherited from RSChartFunction.TRSCustomChartFunction.)


Sum(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the sum of all values from IndexLow to IndexHigh in the SourceChart and returns the sum (Inherited from RSChartFunction.TRSCustomChartFunction.)


Sum(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the sum of all values from IndexLow to IndexHigh in the SourceChart and adds the sum to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp. (Inherited from RSChartFunction.TRSCustomChartFunction.)


SumOfSquares(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the sum of the squares of the SourceChart values over the time period: Data[0]^2 + Data[1]^2 + Data[2]^2.... (Inherited from RSChartFunction.TRSCustomChartFunction.)


SumOfSquares(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the sum of the squares of the SourceChart values over the time period: Data[0]^2 + Data[1]^2 + Data[2]^2...and adds the value to the TargetChart. If the TargetChart
is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp.
(Inherited from RSChartFunction.TRSCustomChartFunction.)


ToArray(TRSCustomChart,Integer,Integer,Integer)

Creates a TRSChartValueTypeArray of all the Values in the Chart from IndexLow to IndexHigh for the specified dimension (Inherited from RSChartFunction.TRSCustomChartFunction.)


TotalVariance(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the sum of the squares of the difference between each SourceChart value and the mean of the SourceChart values over the time period. (Inherited from RSChartFunction.TRSCustomChartFunction.)


TotalVariance(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the sum of the squares of the difference between each SourceChart value and the mean of the SourceChart values over the time period and adds the value to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp.
(Inherited from RSChartFunction.TRSCustomChartFunction.)


ValueChanged(TRSCustomChart,TRSChartValue)

IChartPanelListener interface method that occurs when the SourceChart's value is changed. If the function class is Enabled, new values are generated for the TargetChart. (Inherited from RSChartFunction.TRSCustomChartFunction.)


Variance(TRSCustomChart,Integer,Integer,TDateTime,Integer)

Overloaded. Calculates the sample variance of all values in the SourceChart over the time period, using the n1 method (unbiased). (Inherited from RSChartFunction.TRSCustomChartFunction.)


Variance(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer)

Overloaded. Calculates the sample variance of all values in the SourceChart over the time period and adds the value to the TargetChart, using the n1 method (unbiased). If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp.
(Inherited from RSChartFunction.TRSCustomChartFunction.)


VisibleChanged(TObject)

IChartPanelListener interface method that occurs when the SourceChart's or value's visibility is changed. It is ignored by the function class. (Inherited from RSChartFunction.TRSCustomChartFunction.)
