以下是通达信展翅高飞 通用选股源码
A:=MA(C,7);
B:=MA(C,23);
D:=MA(C,49);
去除ST:=EXIST((C/REF(C,1)-1)*100>5.61,50);
去除停牌:=DYNAINFO(4)>1; {通达信:今开大于1}
去除高价:=DYNAINFO(7)<120; {最新价小于120元}
去除大盘股:=CAPITAL/1000000<10; {流通盘为10亿以下}
排除:=去除ST AND 去除停牌 AND 去除高价 AND 去除大盘股;
STICKLINE(CROSS(A,B),0,2,2,0),COLORLIMAGENTA;
STICKLINE(CROSS(A,B),2,4,2,0),COLORRED;
DRAWICON(CROSS(A,B),4,28);
STICKLINE(A>B AND B>D AND CROSS(L,B),0,3,2,0) COLORRED;
STICKLINE(A>B AND B>D AND CROSS(L,B),3,6,2,1) COLORWHITE;
STICKLINE(A>B AND B>D AND CROSS(L,B),6,9,2,0) COLORYELLOW;
DRAWICON(A>B AND B>D AND CROSS(L,B),8.5,30);
选股 --(这个不要复制,复制下面)
蓝蝶--(这个不要复制,复制下面)
A:=MA(C,7);
B:=MA(C,23);
D:=MA(C,49);
去除ST:=EXIST((C/REF(C,1)-1)*100>5.61,50);
去除停牌:=DYNAINFO(4)>1; {通达信:今开大于1}
去除高价:=DYNAINFO(7)<120; {最新价小于120元}
去除大盘股:=CAPITAL/1000000<10; {流通盘为10亿以下}
排除:=去除ST AND 去除停牌 AND 去除高价 AND 去除大盘股;
CROSS(A,B) AND 排除;
红蝶--(这个不要复制,复制下面)
A:=MA(C,7);
B:=MA(C,23);
D:=MA(C,49);
去除ST:=EXIST((C/REF(C,1)-1)*100>5.61,50);
去除停牌:=DYNAINFO(4)>1; {通达信:今开大于1}
去除高价:=DYNAINFO(7)<120; {最新价小于120元}
去除大盘股:=CAPITAL/1000000<10; {流通盘为10亿以下}
排除:=去除ST AND 去除停牌 AND 去除高价 AND 去除大盘股;
A>B AND B>D AND CROSS(L,B) AND 排除;