macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
23
2024 / 11 / 20
2023-06-06 21:09:24 通达信指标网
个股资金线: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);
原文链接:https://www.tdxzb.com/?id=1373
本文版权:如无特别标注,本站文章均为原创。