CB:=DMA((H+L+C*2)/4,0.9);
JJ:=REF(EMA(CB,3),1);
QJJ:=VOL/((H-L)*2-ABS(C-O));
XVL:=IF(C>O,QJJ*(H-L),IF(C<O,QJJ*(H-O+(C-L)),VOL/2))+IF(C>O,0-QJJ*(H-C+(O-L))
,IF(C<O,0-QJJ*(H-L),0-VOL / 2));
HSL:=XVL/20 /1.15;
攻击流量:=HSL*0.55+REF(HSL,1)*0.33+REF(HSL,2)*0.22;
A:=EMA(攻击流量,8);
B:=EMA(攻击流量,3);
STICKLINE(B>0,B,0,3,0)COLOR0000FF;
STICKLINE(B<0,B,0,3,0),COLORFF4242;
STICKLINE(HSL*0.4>=0,HSL*0.4*1.5,0,0.1,1)COLORYELLOW;
STICKLINE(HSL*0.4<0,HSL*0.4*1.5,0,0.1,1)COLORGREEN;
资金流向: B,COLORCYAN;
流量基线: A,COLORYELLOW;
D:=REF(B,1);
E:=(((B-D)/D) * 100);
流量幅%:IF(((B>0) AND (D<0)),ABS(E),IF((((B<0) AND (D<0)) AND
(B<D)),(0-E),E)),COLORLIGRAY,NODRAW;
力度:HSL*0.4*1.5,COLORGREEN;
周流量:SUM(B,5)*0.5,COLORWHITE;
BB:=REF(周流量,1);
F:=(周流量-BB)/BB*100;
周流量日增量:周流量-BB,COLORMAGENTA,NODRAW;
周增幅%:IF(周流量>0 AND BB<0,ABS(F),IF(周流量<0 AND BB<0 AND
周流量<BB,-F,F)),COLORLIRED,NODRAW; |