B1:=(HHV(H,12)-C)/(HHV(H,12)-LLV(LOW,12))*100-38;
B2:=SMA(B1,12,1)+100;
B3:=(C-LLV(L,12))/(HHV(H,12)- LLV(L,12))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
控盘程度:=(IF(B6>1,B6-1,0)),coloryellow;
控盘度:50,colorred;
STICKLINE( 控盘程度,0,控盘程度 ,2,0 ),COLOR00FFFF;
STICKLINE( 控盘程度 AND 控盘程度>50,50,控盘程度 ,2,0 ),colorred;
STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度>50,控盘程度,50,3,0 ),colorblue;
STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度>50,控盘程度,0,0.3,0 ),colorgreen;
STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度<50,控盘程度,0,3,0 ),colorcyan;
TJ1:=((C-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22)))*110;
TJF:=SMA(TJ1,10,2);
TJFF:=SMA(TJ1,17,3);
DRAWBAND(TJF,RGB(250,110,110),TJFF,RGB(10,250,10));
日K:("KDJ.K"(27,6,4)),colorwhite;
日D:("KDJ.D"(27,6,4)),colorwhite,LINETHICK2;
STICKLINE( 控盘程度=0 AND 日K<日D,0,3,3,1 ),colorcyan;