天使和魔鬼就在一线间主图和选股指标 通用源码
源码
{指标1:选股指标}
A1:=CROSS(C,MA(C,321));
A2:=MA(V,5)>MA(V,60);
A3:=C/REF(C,1)>1.04;
XG:A1 AND A2 AND A3;
{指标2:主图叠加指标}
魔鬼线:MA(CLOSE,321),LINETHICK2;
LA1:=CROSS(C,MA(C,321));
LA2:=MA(V,5)>MA(V,60);
LA3:=C/REF(C,1)>1.04;
LXG:=LA1 AND LA2 AND LA3;
DRAWTEXT(LXG,魔鬼线*1.01,'★天使'),COLOR00FFFF;