趋势强弱:MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20,COLORSTICK;
个股趋势:3*SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1)
-2*SMA(SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1),15,1),COLOR00DDDD;
大盘趋势:3*SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1)
-2*SMA(SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1),15,1),COLORDD22DD;
大盘危险:大盘趋势>80,COLOR00FF00,NODRAW;
STICKLINE(大盘趋势>80,大盘趋势,80,3,0),COLOR00FF00;
个股危险:个股趋势>80,COLOR888888,NODRAW;
DRAWBAND(个股趋势,RGB(80,80,80),80,RGB(0,0,0));
IF(1,大盘趋势,大盘趋势),COLORDD22DD;
IF(1,个股趋势,个股趋势),COLOR00DDDD;