For further details concerning the definition of these moving averages please see the accompanying PDF documentation or the API documentation for SimpleMovingAverage.
.This trading system combines the features of the crossing and extremum value trading systems by requiring that a signal will only be generated if the fast K Stochastic crosses the slow D Stochastic either above or below the extremal values.
[Visual Basic]
Overloads Public Shared Function CrossingExtremeSignal( _
ByVal s As Series, _
ByVal extremeLow As Double , _
ByVal extremeHigh As Double , _
ByVal noOfPeriods As Integer , _
ByVal method As Integer , _
ByVal lengthOfMA As Integer _
) As Series
[C#]
public static Series CrossingExtremeSignal(
Series s,
double extremeLow,
double extremeHigh,
int noOfPeriods,
int method,
int lengthOfMA
);
For further details concerning the definition of these moving averages please see the accompanying PDF documentation or the API documentation for SimpleMovingAverage.
.-1, 0, 1 - this method returns either -1, 0, 1 to indicate that either a sell, no action or buy signal was generated.
This system generates buy and sell signals respectively when one of the following is triggered:
extremumLow
, then a buy signal is generated.
extremumHigh
, then a sell signal in generated.
FinancialEngine Class | FinancialEngine Members | Overload List
2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.