飞狐红箭选股公式
源码如下:
AA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*3,LINETHICK0,COLORYELLOW;
BB:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*5,LINETHICK0,ColorFFFFFF;
CC:=SMA(AA,3,1),LINETHICK0,COLOR0000FF;
DD:=SMA(BB,3,1),COLORSTICK,COLORFFFF00;
V1:=REF(C,REF(HHVBARS(V,21),0));
M1:=MA(CLOSE,1);
A1:=V>1*REF(V,1) AND(C/REF(C,1)-1)*100>9.5 AND M1>=V1;
a1 and dd>0;