|
Navigation: Function Reference > Stream Functions > Stream Utility Functions > strmAvg() strmAvg() |
Top Previous Next |
strmAvg( stream: TEStream; offset: integer; bars: integer ) : Double;
Calculates a simple moving average of stream at offset, based on the number of bars specified.
Parameters
stream |
input stream of type TEStream |
offset |
integer value. offset into the stream at which to start the calculation. |
bars |
integer value. number of bars over which to average. |