先知量能 副图源码介绍
先知量能 副图源码
红线代表买量,绿线代表卖量,黄线代表买量-卖量;当黄线与白线交叉时,指导意义非常好!!
{M:1 10 3 N:1 10 4}
0,COLORWHITE;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
主买:=主动买盘/CAPITAL;
主卖:=-主动卖盘/CAPITAL;
M1:=MA(主买,M);
M2:=MA(主卖,M);
买:100*MA(M1,N),COLORRED;
卖:100*MA(M2,N),COLORGREEN;
差:买-卖,COLORYELLOW;
差D:=MA(差,2);
关注:(1+BARSLAST(CROSS(差,差D)))*(差>差D),linethick0;
gd20878