威廉波段市场心理顶底
{心理}
市场心理:COUNT(CLOSE>REF(CLOSE,1),13)/13*100,COLORFF00FF,LINETHICK2;
市场风险:IF(市场心理>75,100,120),LINETHICK0;
DRAWBAND(120,RGB(250,0,250),市场风险,RGB(0,0,0));
市场底部:IF(市场心理<25,15,0),LINETHICK0;
DRAWBAND(市场底部,RGB(250,0,250),0,RGB(250,0,00));
STICKLINE(C>0,75,75,2,0),COLORRED;
STICKLINE(C>0,25,25,2,0),COLORRED;
DRAWTEXT(CURRBARSCOUNT=10,27,'心理底部线'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=10,77,'心理风险线'),COLORFF00FF;
{威廉}
威廉波段:100-(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,COLORFFFF00,LINETHICK2;
威廉风险:IF(威廉波段>95,110,120),COLOR00FFFF,LINETHICK0;
DRAWBAND(120,RGB(250,250,0),威廉风险,RGB(0,0,0));
威廉底部:IF(威廉波段<5,10,0),COLOR00FF00,LINETHICK0;
DRAWBAND(威廉底部,RGB(250,250,0),0,RGB(0,0,0));
STICKLINE(C>0,95,95,2,0),COLORFF00FF;
STICKLINE(C>0,5,5,2,0),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=10,5,'威廉底部线'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=10,95,'威廉风险线'),COLORFFFFFF;