通达信指标公式_通达信软件_趋势波段通达信副图指标 源码 测试图

通达信金马顺势副图源码

XL1:=MA(L,2)*0.96;
XL2:=MA(L,26)*0.85;
XL3:=REF(XL1,1)< XL2 AND REF(XL1,1)< XL1 AND REF(XL1,1)< REF(XL1,2);
XL4:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
XL5:=EMA(IF(L<=LLV(L,34),(EMA(XL4*13,13)+HHV(EMA(XL4*13,13),34)*2)/2,0),3)/618;
XL6:=(XL3 AND XL5>50) OR XL5>3;
XL7:=100-((90*(HHV(H,14)-C))/(HHV(H,14)-LLV(L,14)));
XL8:=100-MA(((100*(HHV(H,6)-C))/(HHV(H,6)-LLV(L,6))),34);
金带:IF(XL3 AND XL5>0,50,0),COLORYELLOW,LINETHICK3;
XG:=XL6 AND CROSS(XL7,MA(XL8,6)),COLORRED,NODRAW;
紫带:IF(XG,80,0),COLORMAGENTA,STICK,LINETHICK5;
RSV:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100;
K:=SMA(RSV,3,1);
趋势:EMA(EMA(((SLOPE(EMA(K+EMA(SLOPE(K,13),5)*5,21)*1.2,2)*5) +EMA(K+EMA(SLOPE(K,13),5)*5,21)*1.2),3),3)-20,COLORCYAN,DOTLINE;
IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORRED,LINETHICK3;

通达信主力痕迹主图指标公式