以下是通达信妖股源码(无源码的请下载附件导入)
OUT:SIGNALS_USER(603,0)>0;
FK:INTPART(SIGNALS_USER(604,0));
HJ_1:=OUT OR OUT AND 1;
HJ_2:=REF(CLOSE,1);
HJ_3:=SMA(MAX(CLOSE-HJ_2,0),2,1)/SMA(ABS(CLOSE-HJ_2),2,1)*100;
HJ_4:=SMA(MAX(CLOSE-HJ_2,0),14,1)/SMA(ABS(CLOSE-HJ_2),14,1)*100;
HJ_5:=45;
HJ_6:=50;
HJ_7:=80;
HJ_8:=20;
HJ_9:=5;
HJ_10:=REF(CLOSE,1);
HJ_11:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
HJ_12:=HJ_3<HJ_6 AND REF(HJ_3,1)>HJ_6;
HJ_13:=HJ_3<HJ_5 AND REF(HJ_3,1)>HJ_5;
HJ_14:=HJ_3<HJ_8 AND REF(HJ_3,1)>HJ_8;
HJ_15:=COUNT(HJ_11,13)>=1;
HJ_16:=SMA(LOW,4,3);
HJ_17:=HJ_16 AND REF(HJ_13,1) AND HJ_15;
HJ_18:=HJ_16 AND REF(HJ_14,1) AND HJ_15;
HJ_19:=HJ_17 OR HJ_18;
HJ_20:=REF(EXIST(HJ_1,7),1) AND HJ_19;
YGHTOUT:HJ_20 AND NOT(REF(EXIST(HJ_20,20),1));
JGLX:IF(SIGNALS_USER(508,0)/10000>70,30,SIGNALS_USER(508,0)/10000);
YZLX:IF(SIGNALS_USER(504,0)/10000>70,30,SIGNALS_USER(504,0)/10000);
{-----------------------------------} |