通达信市场心理威廉波段副图源码
市场心理:COUNT(CLOSE>REF(CLOSE,1),13)/13*100,COLORmaGENTA,POINTDOT,LINETHICK4{GPGS};
风险:=IF(市场心理>75,市场心理+5,120){GPGS};
DRAWBAND(120,RGB(0,180,180),风险,RGB(0,180,180)){GPGS};
底部:=IF(市场心理<25,市场心理-5,0){GPGS};
DRAWBAND(底部,RGB(250,0,00),0,RGB(250,0,00));
--------------------------------------
物极必反:(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,COLORLIMAGENTA,POINTDOT,LINETHICK4{GPGS};
风险:=IF(物极必反<5,物极必反+90,120){GPGS};
DRAWBAND(120,RGB(0,180,180),风险,RGB(0,180,180)){GPGS};
底部:=IF(物极必反>95,物极必反-10,0){GPGS};
DRAWBAND(底部,RGB(250,0,00),0,RGB(250,0,00));
{?W-W-W=G.P*G!S-C~N-{!}