通达信主力控盘度副图指标
N (1.00, 300.00, 35);
M (1.00, 300.00, 35);
N1 (1.00, 1000.00, 3.00);
B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100-M;
B2:=SMA(B1,N,1)+100;
B3:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
控盘程度:(IF(B6>N1,B6-N1,0))*2.5,COLORYELLOW;
控盘度:100,COLORRED;
STICKLINE(控盘程度,0,控盘程度,3,0),COLORYELLOW;
STICKLINE(控盘程度 AND 控盘程度>100,100,控盘程度,3,0),COLORRED;