以下是通达信金叉突破主图及选股指标源码(无源码的请下载附件导入)
M1:MA(C,5);
M2:MA(C,10);
水平线:IF(CROSS(M2,M1),M2,REF(M2,BARSLAST(CROSS(M2,M1)))),LINETHICK2,COLORGREEN;
XG:=CROSS(M1,水平线) AND REF(MA(C,5),1)<水平线 AND MA(C,5)>水平线;
DRAWTEXT(XG,H+0.05,'★突破'),COLORYELLOW;
{
选股公式:
M1:=MA(C,5);
M2:=MA(C,10);
水平线:=IF(CROSS(M2,M1),M2,REF(M2,BARSLAST(CROSS(M2,M1))));
XG:CROSS(M1,水平线) AND REF(MA(C,5),1)<水平线 AND MA(C,5)>水平线;
838177505.jpg
|