九毛八公式指标
公式模块:
请老师和高手帮忙将下面指标中的条件制作一个选股公式。谢谢!!!
需要满足的条件:
当rsi3上穿RSI1的同时,bias1上穿0,同时K上穿D;并且个股的流通股数<10亿。
第一指标:N1(2,250,5) N3(2,250,20)
LC:=REF(CLOSE,1);
RSI3:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORMAGENTA,LINETHICK2;
RSI1:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORCYAN,LINETHICK2;
BIAS1 :(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*200,COLORGREEN,LINETHICK2;
BIAS3 :(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*200,COLORRED,LINETHICK2;
第二指标:N(2,90,9) M1(2,30,3) M2(2,30,3)
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),COLORMAGENTA,LINETHICK2;
D:SMA(K,M2,1),COLORCYAN,LINETHICK2;
J:3*K-2*D,COLORBLacK;
N1:=5;N3:=20;
BIAS1 :=(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*200;
BIAS3 :=(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*200;
AA:=crOSS(BIAS3,BIAS1) AND CROSS(BIAS1,0);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BB:=CROSS(K,D);
AA AND BB AND FINANCE(7)<100000;