通达信市场心理副图公式
市场心理:COUNT(CLOSE>REF(CLOSE,1),13)/13*100,COLORRED,LINETHICK6;
威廉波段:(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,COLOR00FF00,LINETHICK6;
DRAWBAND(市场心理,RGB(218,112,210),威廉波段,RGB(135,206,235));
风险1:=IF(市场心理>75,市场心理+5,120);
DRAWBAND(120,RGB(180,0,0),风险1,RGB(0,180,180));
底部1:=IF(市场心理<25,市场心理-5,0);
DRAWBAND(底部1,RGB(250,0,00),0,RGB(250,0,00));
STICKLINE(C>0,75,75,2,0),COLORRED;
STICKLINE(C>0,25,25,2,0),COLORRED;
风险2:IF(威廉波段<5,100,120),COLOR00FFFF,LINETHICK2;
底部2:IF(威廉波段>95,20,0),COLOR00FF00,LINETHICK2;
STICKLINE(C>0,95,95,2,0),COLORFF00FF;
STICKLINE(C>0,5,5,2,0),COLORFF00FF;