股典钟买卖决策通达信版源码
来源:股典钟量化炒股机器人 | 作者:股典钟量化炒股机器人 | 发布时间: 2024-01-11 | 417 次浏览 | 分享到:
绝密技术,源码不全,需者扫码联系


 {NO.5}
 VAR015:=(TYP-MA(TYP,15))/(0.015*AVEDEV(TYP,15));
 VAR016:=(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70));
 VAR017:=IF(VAR015>=150 AND VAR015<200 AND VAR016>=150 AND VAR016<200,100,0);
 VAR018:=0-IF(VAR016>=200,200,VAR017)+400;
 S003:=IF(VAR018=300,1,0);
 {NO.6}
 VAR019:=DMA((3*H+L+O+2*C)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/1000)/1000));
 B007:=IF(CROSS((C-VAR019)/VAR019*1000,-166),1,0);
 {NO.7}
 VAR020:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
 VAR021:=SMA(VAR020,2,1);
 B008:=IF(VAR021<10,1,0);
 {NO.8}
 VAR022:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),5)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),5);
 MFI:=IF(CROSS(100-(100/(1+VAR022)),20),1,0);
 RSI:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*100;
 B009:=IF(MFI,1,0);
 B010:=IF(CROSS(RSI,20),1,0);
 {NO.9}
 VAR023:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
 VAR024:=REF(C,VAR023+1)>C AND REF("RSI.RSI1"(6,12,24),VAR023+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));