腾龙分时,分时走势通道指标,分时线性特性有柱状提示。源码如下:* L- Q8 j; f& A! y2 l I
) _0 V M7 ]3 u" H% f. c- g1 o4 P
A1:=(EMA(C,5)+EMA(C,15))/2;
( R2 m7 Y8 n l8 w \B1:=(EMA(C,30)+EMA(C,60))/2;& p! \ Q3 s6 k8 a* d+ ?# M5 N
C1:=SUM(C*V,(BARSSINCE(V>0)+1))/SUM(V,(BARSSINCE(V>0)+1))+((BARSSINCE(V>0)+1)*0);2 a: @9 o; |8 G a" |
D1:=(C1+DYNAINFO(5))/2;) |8 ~ k! X) F' _* y5 {. p
E1:=(C1+DYNAINFO(6))/2;
+ ^# p4 x6 x9 `+ F振幅:=DYNAINFO(13)*100;
* d; R* h7 j, f" ^& i2 r D/ y线幅1:=ABS((D1-B1)/B1)*100;
- ~- k2 k' z) j# L C0 z上涨幅:=ABS((D1-REF(D1,1))/REF(D1,1))*100;
: T# q! q. c* H9 H线幅2:=ABS((C1-B1)/B1)*100;* W- y8 M! v6 W( t! V; q' s
均涨幅:=ABS((C1-REF(C1,1))/REF(C1,1))*100;/ s( g7 ~0 W3 W, M" r9 M) G
线幅3:=ABS((E1-B1)/B1)*100; `% @4 }1 g1 q$ b7 C5 L7 I( k
下涨幅:=ABS((E1-REF(E1,1))/REF(E1,1))*100;) _% q1 a, [: l' R0 B: A3 F
慢线幅:=ABS((B1-REF(B1,1))/REF(B1,1))*100;
8 e4 a, X$ W" J) ]. Z s上差:=ABS(C1-D1);
1 |% C& m/ ?" j1 M下差:=ABS(C1-E1);; B! i8 s# |* W/ k
偏下:=COUNT(下差*3 |