以下是通达信低位金叉主图幅图选股源码(无源码的请下载附件导入)
{主图}
A:=3*SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,5,1)
-2*SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,180,1),15,1);
A1:=EMA(A,30);
XG:CROSS(A,A1) AND A<-63 AND REF(VOL=LLV(VOL,3),1);
STICKLINE(XG,C,O,2,0),COLORYELLOW;
STICKLINE(XG,H,L,0,0),COLORYELLOW;
DRAWICON(XG,L*0.94,38);
{幅图}
A:=3*SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,5,1)
-2*SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,180,1),15,1);
A1:=EMA(A,30);
XG:CROSS(A,A1) AND A<-63 AND REF(VOL=LLV(VOL,3),1) NODRAW;
STICKLINE(XG,0,8,2,0),COLORYELLOW;
{选股}
A:=3*SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,5,1)
-2*SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,180,1),15,1);
A1:=EMA(A,30);
CROSS(A,A1) AND A<-63 AND REF(VOL=LLV(VOL,3),1);
63766253.jpg
|