九毛八公式指标
请老师把起步线做选股,就是绿线刚出头的地方做选股,谢谢了 源码 DIFF:EMA(CLOSE,12) - EMA(CLOSE,26); DEA:EMA(DIFF,9); MACD:2*(DIFF-DEA)*80,COLORSTICK; ROC1:=(CLOSE-REF(CLOSE,14))/REF(CLOSE,14)*100; ROC2:=(CLOSE-REF(CLOSE,11))/REF(CLOSE,11)*100; 提前量:MA(ROC2,6),COLORYELLOW,LINETHICK2; HZ1:=EMA(ROC1,13),LINETHICK1,COLORYELLOW; HZ2:EMA(ROC1,4),COLORGREEN,LINETHICK1; HZ3:EMA(HZ2,2),COLORGREEN,LINETHICK1; HZ4:EMA(HZ3,2),COLORGREEN,LINETHICK1; HZ5:EMA(HZ4,2),COLORMAGENTA,LINETHICK1; HZ6:EMA(HZ5,2),COLORMAGENTA,LINETHICK1; HZ7:EMA(HZ6,2),COLORMAGENTA,LINETHICK1; 起步线:-13,POINTDOT,COLORGREEN; 强势线:0,POINTDOT,LINETHICK1,COLORMAGENTA;
公式模块:
{绿线刚出头}
roc1:=(CLOSE-REF(CLOSE,14))/REF(CLOSE,14)*100; ROC2:=(CLOSE-REF(CLOSE,11))/REF(CLOSE,11)*100; HZ2:=EMA(ROC1,4); HZ3:=EMA(HZ2,2); HZ4:=EMA(HZ3,2); AA1:=MAX(MAX(HZ2,HZ3),HZ4); HZ5:=EMA(HZ4,2); HZ6:=EMA(HZ5,2); HZ7:=EMA(HZ6,2); BB1:=MAX(MAX(HZ5,HZ6),HZ7); crOSS(AA1,BB1);