【XAverageOrig】
[code]inputs:PriceValue( numericseries ),
Len( numericsimple ) ;
variables:
var0( 1 / Len ) ;
if CurrentBar = 1 then
XAverageOrig = PriceValue
else
XAverageOrig = XAverageOrig[1] + var0 * ( PriceValue - XAverageOrig[1] ) ;
[/code]
页:
[1]