金叉突破主图 选股 大智慧通 达信通用 源码 {金叉--突破主图} 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)>水平线;
|