以下源码都是网上搜集而来 通达信 同花顺 大智慧等大部分通用(在此也感谢原指标作者了!)
====================================================================================
tj1选股:
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
XG:CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975;
=====================================================================================
tj2选股:
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
XG:VOL<MA(VOL,5)/2 AND V<V12/2;
=====================================================================================
骑牛选股:
LS:=C/REF(C,1)>1.028 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
拉升:FILTER(LS,28)*100 AND L>REF(C,1)*0.93 ;
=====================================================================================
黄柱选股
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;
X:=LLV(J,2)=LLV(J,8);
XGHZ:CROSS(J,REF(J+0.01,1)) AND X AND J<19;
=====================================================================================
DEA选股:
xg:MACD.dea>REF(MACD.dea,1) AND REF(MACD.dea,1)<REF(MACD.dea,2) ;
=====================================================================================
拉升选股:
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
filter(买=1,5);
======================================================================================
屠龙选股:
Y1:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9),3),1);
xg:CROSS(CLOSE,Y1);
======================================================================================
击中选股:
RSVDS:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
AS:=SMA(RSVDS,3,1);
AC:=SMA(AS,3,1);
AF:=3*AS-2*AC;
AW:=LLV(AF,2)=LLV(AF,8);
AH:=IF(CROSS(AF,REF(AF+0.01,1)) AND AW AND AF<20,30,0);
xg:CROSS(AF,REF(AF+0.01,1)) AND AW AND AF<20;
======================================================================================
tz一选股:
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:=IF(MA(CLOSE,17)<B,B,MA(CLOSE,17));
XG:CROSS(C,分水岭);
======================================================================================
tz二选股:
XG:CROSS(C,MA(C,5));
======================================================================================
奶牛选股:
奶牛1:=EMA(C,3);
奶牛2:=EMA(C,5);
奶牛3:=EMA(C,7);
奶牛4:=EMA(C,12);
CROSS(奶牛1,奶牛2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛1,奶牛4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛2,奶牛3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛1,奶牛3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(奶牛1,奶牛4);
======================================================================================
金帝龙选股:
CRSI:="RSI.RSI3#WEEK",COLOR77EE00;
HRSI:=HHV("RSI.RSI1#WEEK",2);
金帝龙RSI:=STICKLINE(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),88,12,0.6,0);
VARA:=REF(CLOSE,1);
VARE:=SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100;
ARSI降:=STICKLINE(HRSI<=CRSI,HRSI,CRSI,0.1,1),COLOR00CC00,LINETHICK1;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:=EMA(VAR1,13)-EMA(VAR1,73);
SD:=EMA(SK,2);
XG:((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )
OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) OR 金帝龙RSI);
=========================================================================================
|