钻石拉升选股指标公式
说明:
直接做副图或选股均可
源码:
信号:=MA(CLOSE,30)+2*STD(CLOSE,30);
启动信号:=CLOSE>信号 AND CLOSE>=OPEN;
三十日线:=MA(CLOSE,30);
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
VAR2:=100*WINNER(CLOSE*0.95);
高度控盘:=IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0);
不停牌:=VOL>0;
DIF2:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA2:=EMA(DIF2,9);
MACD:=(DIF2-DEA2)*2;
S2:=IF(NAMELIKE(1),0,1);
S3:=IF(NAMELIKE(2),0,1);
M:=34;
P:=81;
散户:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));
RSV:=(CLOSE-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄家:=EMA(J,6);
金叉:=CROSS(庄家,散户);
选股:=高度控盘>REF(控盘,1) AND 高度控盘>0 AND 不停牌 AND DIF2>DEA2 AND S2 AND S3;
精选:选股 AND 启动信号 AND EVERY(高度控盘,1) AND EVERY(启动信号,1) AND 金叉;
赞 (0)