考夫曼自适应均线(DOC){考夫曼自适应均线} input: n(9,1,60), p(2,1,60), Q(30,1,60); Direction:=CLOSE - REF( CLOSE , N ) ; XX:=ABS( CLOSE - REF( CLOSE , 1 ) ) ; Volatility:=SUM( XX , N ) ; ER:=ABS( Direction / Volatility ) ; FastC:= 2 / ( p + 1 ) ; SlowC:= 2 / ( q + 1 ) ; SSC:=ER * ( FastC...