{www.9m8.cn}名称 强弱度}
参数n 2----200默认20自己设置
个股:=MA((H-REF(H,N))/REF(H,N)*100,3);
大盘:=MA((INDEXH-REF(INDEXH,N))/REF(INDEXH,N)*100,3);
强弱值:=MA(个股-大盘,2),COLORSTICK;
{www.9m8.cn}下面8句画彩色柱}
CDA:=强弱值 REF(强弱值,1) AND 强弱值
CDB:=强弱值 =REF(强弱值,1) AND 强弱值
CDC:=强弱值 REF(强弱值,1) AND 强弱值
CDD:=强弱值 =REF(强弱值,1) AND 强弱值
STICKLINE(CDB,0,强弱值,0.5,0),COLOREE00EE;
STICKLINE(CDA,0,强弱值,0.5,0),COLOR00DDDD;
STICKLINE(CDC,0,强弱值,0.5,0),COLORRED;
STICKLINE(CDD,0,强弱值,0.5,0),COLORBLUE;
(个股: MA((H-REF(H,N))/REF(H,N)*100,2);
(大盘: MA((INDEXH-REF(INDEXH,N))/REF(INDEXH,N)*100,2);