同花顺参考副图指标
源码
DRAWGBK(V 1,STRIP(RGB(110,110,255),RGB(140,140,255),1));
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
yxf:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX 0,2) AND CROSS(DX,MA(DX,2)),1,0);
升:IF(FILTER(yxf=1,5),80,0),STICK,colorred,linethick3;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
(L,55))*100,5,1);
fy:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
qs:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
强:IF(CROSS(qs,0)AND fy 40,80,0),STICK,coloryellow,linethick3;