价量角度(横盘 源码 副图)
价:EMA(MA((((C-REF(C,1))+(H-REF(H,1))+(L-REF(L,1)))/3)/C,5),1);
价5:MA(价,5);
量:EMA(MA((V-REF(V,1))/V,5),1);
量5:MA(量,5);
角:=1>(ATAN((C/REF(C,1)-1)*100)*180/3.14115926)>-1;
STICKLINE((量5-量)<0.02 AND 量>REF(量,1),0,量5,3,0),COLORRED ;
STICKLINE(CROSS(价,价5),-0.1,价,3,0),COLORFF00FF;
W:=(C/REF(C,1))>1.01;
横盘:=REF(((HHV(价,3)-LLV(价,3))/LLV(价,3)),1)<=(0.00/100) AND REF(((HHV(价5,3)-LLV(价5,3))/LLV(价5,3)),1)<=(0.00/100);
量横盘:=REF(((HHV(量,3)-LLV(量,3))/LLV(量,3)),1)<=(0.00/100) AND REF(((HHV(量5,3)-LLV(量5,3))/LLV(量5,3)),1)<=(0.00/100);
量比:=((量+REF(量,1)+REF(量,2))/(量5+REF(量5,1)+REF(量5,2)))>0.5;
STICKLINE(横盘 AND 量比 AND 量横盘 AND 角,量5,价,1,0),COLORWHITE ;
A:COUNT(0.00<=价<=0.02 AND 0.00<=价5<=0.02,CROSS(价,价5))=1 AND W ,COLORYELLOW ;
B:COUNT(量5>-0.15 AND 量>-0.15,MA(A,3))=1,COLORBLUE ;
D:IF(量5>-0.15 AND 量>-0.15 AND REF(A,2) AND W,1,0.5),COLORWHITE ;
E:IF(量5>-0.15 AND 量>-0.15 AND REF(A,3) AND W,1,0.5),COLORWHITE ;
F:IF(量5>-0.15 AND 量>-0.15 AND REF(A,1) AND W,1,0.5),COLORWHITE ;
ABB:COUNT(0.00<=价<=0.02 AND 0.00<=价5<=0.02,横盘 AND 量比 AND 量横盘 AND 角)=1 AND W ,COLORRED ;
STICKLINE(A AND ABB,0,2,4,0),COLORRED ;