Navigation: Function Reference > Stream Functions > Stream Utility Functions > strmDetrend()

strmDetrend()

Top  Previous  Next

strmDetrend( stream: TEStream; offset: integer; bars: integer ) : Double;

 

Removes the trend from stream over the number of bars specified, starting at offset.

 

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 perform the detrend operation.