{N 1 300 35.M 1 300 35. N1 1 1000 3} 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,COLOR00FFFF; 控盘度:100,COLORRED; STICKLINE( 控盘程度,0,控盘程度 ,2,0 ),COLORYELLOW; STICKLINE( 控盘程度 AND 控盘程度>=100,100,控盘程度 ,2,0 ),COLORRED; STICKLINE( 控盘程度 AND 控盘程度>200,200,控盘程度 ,2,0 ),COLORCC3299; 完善点:当出现红色时,全条柱全红,当出现紫色时,全条柱全紫!这样比较直观,谢谢!
爱约股解答:
{N 1 300 35.M 1 300 35. N1 1 1000 3}
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,COLOR00FFFF;
控盘度:100,COLORRED;
STICKLINE( 控盘程度,0,控盘程度 ,2,0 ),COLORYELLOW;
STICKLINE( 控盘程度 AND 控盘程度>=100,0,控盘程度 ,2,0 ),COLORRED;
STICKLINE( 控盘程度 AND 控盘程度>200,0,控盘程度 ,2,0 ),COLORCC3299;