个股资金线:MA(C,1)/MA(REF(C,18),18)*100,LINETHICK2,COLOR00FFFF;
个股趋势线A:=EXPMEMA(个股资金线,1),COLORCYAN,LINETHICK1;
个股趋势线: EXPMEMA(个股趋势线A,5),COLORCYAN,LINETHICK1;
资金生命线: MA(FORCAST(个股资金线,20),6),COLORMAGENTA,LINETHICK3;
升量:=个股资金线-个股趋势线;
跌量:=个股趋势线-个股资金线;
STICKLINE(升量>0,个股趋势线,个股资金线,0.0,0),COLORRED;
STICKLINE(跌量>0,个股资金线,个股趋势线,0.0,0),COLORGREEN;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA,LINETHICK1;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK1;
单边二十:=DRAWTEXT(短期<20 AND 长期>55,(80),'2'),COLORFFFF00;
四线小六:=DRAWTEXT(短期<6 AND 中期<6 AND 长期<6,(3),'6'),COLORFFFF00;
四线穿百:=DRAWTEXT(短期=100 AND 中期=100 AND 长期=100,(101),'M'),COLORFFFF00;
IF(资金生命线>=REF(资金生命线,1),资金生命线,DRAWNULL),COLORRED,LINETHICK2;
IF(资金生命线<=REF(资金生命线,1),资金生命线,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWICON(四线小六 ,资金生命线,9);
DRAWICON(单边二十,资金生命线,12);