PriceOscillator Methods |
The PriceOscillator type exposes the following members.
Name | Description | |
---|---|---|
Add(Double) |
Add value to indicator.
Note: Do Not use methods with and without DateTime for same instance.
Also do not call this method for indicators which need datetime for calculation it's value.
To determine do you need to specify DateTime, see IndicatorNeedDateTime flag.
(Inherited from BaseSimpleIndicatorT.) | |
Add(Double, DateTime) |
Add value to indicator.
Note: Do Not use methods with and without DateTime for same instance.
Note: if you specify time = DefaultTime then method ignore this parameter and call add with out time.
To determine do you need to specify DateTime, see IndicatorNeedDateTime flag.
(Inherited from BaseSimpleIndicatorT.) | |
Clone |
Makes full copy of this instance.
(Inherited from BaseIndicatorT.) | |
CopyTo(Object) |
Sets internal state to destination object.
(Inherited from BaseIndicatorT.) | |
CopyTo(Object, IL_Clone) |
Gets internal state from source object.
(Inherited from BaseIndicatorT.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIndexByTime |
Get offset index of element by element time.
If there no element with such time, we return latest element with time smaller than specified.
If we can't find valid index, we return -1.
(Inherited from HistoryDataQueueT.) | |
GetTimeByIndex |
Return time associated with specified point.
(Inherited from HistoryDataQueueT.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
OfflineComputation(Double, Double) |
Performs offline computation using all data for period simultaneously.
In some cases can be faster and/or use less memory than online (step-by-step) computation.
Note: Indicator object cannot be used after and before calling this method.
(Overrides BaseSimpleIndicatorTOfflineComputation(Double, T).) | |
OfflineComputation(Double, DateTime, Double) |
Performs offline computation using all data for period simultaneously.
In some cases can be faster and/or use less memory than online (step-by-step) computation.
Note: Indicator object cannot be used after and before calling this method.
(Overrides BaseSimpleIndicatorTOfflineComputation(Double, DateTime, T).) | |
SetOnPopDelegate |
Set delegate that will be invoked every time a new element is dequeued.
(Inherited from HistoryDataQueueT.) | |
SetOnPushDelegate |
Set delegate that will be invoked every time a new element is enqueued.
(Inherited from HistoryDataQueueT.) | |
SetQueueListener |
Set listener to queue capacity. Queue will call OnPop method every time, when queue drop some element.
And OnPush method, when queue store element. Do not use listener with single element queue.
Queue support any number of listeners.
(Inherited from HistoryDataQueueT.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |