腾龙分时,分时走势通道指标,分时线性特性有柱状提示。源码如下:" p$ E% a' h6 ~% h
5 @9 F. n& ?* F3 H8 V) y# O$ T# m
A1:=(EMA(C,5)+EMA(C,15))/2;
/ N' D1 ?9 l. AB1:=(EMA(C,30)+EMA(C,60))/2;
& {% |. W/ A3 y! X9 b! e& q0 C/ @C1:=SUM(C*V,(BARSSINCE(V>0)+1))/SUM(V,(BARSSINCE(V>0)+1))+((BARSSINCE(V>0)+1)*0);$ l# p1 q8 J. M; s
D1:=(C1+DYNAINFO(5))/2;8 h/ I7 x9 l" D1 g' v
E1:=(C1+DYNAINFO(6))/2;
1 x( ?. u4 X$ V振幅:=DYNAINFO(13)*100;1 M5 U: Z2 R. `3 e6 x9 w' D0 f
线幅1:=ABS((D1-B1)/B1)*100;
: J b( h+ T) H2 s上涨幅:=ABS((D1-REF(D1,1))/REF(D1,1))*100;
& A. B, z% t- f线幅2:=ABS((C1-B1)/B1)*100;
& `4 [. k& D/ J7 d/ |; U) C均涨幅:=ABS((C1-REF(C1,1))/REF(C1,1))*100;
/ [& P8 R, n$ Y3 t线幅3:=ABS((E1-B1)/B1)*100;
6 r( [. z) U; o0 u$ P下涨幅:=ABS((E1-REF(E1,1))/REF(E1,1))*100;6 m# u/ }% _, }. J+ G) k* x
慢线幅:=ABS((B1-REF(B1,1))/REF(B1,1))*100;. G K! y e; u2 c, W; D
上差:=ABS(C1-D1);
' K% P; ]0 W& f' Z$ p! P下差:=ABS(C1-E1);. X7 o! ^" _; i% @8 H4 t
偏下:=COUNT(下差*3 |