七武器之孔雀翎,这个指标还需优化,源码分享,方便大家优化。指标只是辅助,具体交易要结合大盘和个股情况来看。
{七武器^孔雀翎}
A1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A2:=EMA(EMA(EMA(A1,4),4),4);
A3:=(A2-REF(A2,1))/REF(A2,1)*100;
A4:=MA(A3,3);
A5:=MA(A3,1);
A6:=IF(A5>A4 OR A5>(-0.25),0.2,0);
A7:=CROSS(A6,0.01);
A8:=EMA(CLOSE,2);
A9:=EMA(SLOPE(CLOSE,9)*20+CLOSE,37);
XG:IF(CROSS(A8,A9) AND A7,1,0),COLORYELLOW;
STICKLINE(XG,0,5,2,1),COLORLIMAGENTA;