以下是通达信潜力源码附图(无源码的请下载附件导入)
潜力源码
VAR1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR2:=(CLOSE-REF(CLOSE,2))/REF(CLOSE,2)*100;
VAR3:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100;
VAR4:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100;
VAR5:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100;
VAR6:=(CLOSE-REF(CLOSE,6))/REF(CLOSE,6)*100;
VAR7:=(CLOSE-REF(CLOSE,7))/REF(CLOSE,7)*100;
VAR8:=(CLOSE-REF(CLOSE,8))/REF(CLOSE,8)*100;
VAR9:=(CLOSE-REF(CLOSE,9))/REF(CLOSE,9)*100;
VAR10:=(CLOSE-REF(CLOSE,10))/REF(CLOSE,10)*100;
VAR11:=(CLOSE-REF(CLOSE,11))/REF(CLOSE,11)*100;
VAR12:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;
VAR13:=(CLOSE-REF(CLOSE,13))/REF(CLOSE,13)*100;
VAR14:=(CLOSE-REF(CLOSE,14))/REF(CLOSE,14)*100;
VAR15:=(CLOSE-REF(CLOSE,15))/REF(CLOSE,15)*100;
VAR16:=(CLOSE-REF(CLOSE,16))/REF(CLOSE,16)*100;
VAR17:=(CLOSE-REF(CLOSE,17))/REF(CLOSE,17)*100;
VAR18:=(CLOSE-REF(CLOSE,18))/REF(CLOSE,18)*100;
VAR19:=(CLOSE-REF(CLOSE,19))/REF(CLOSE,19)*100;
VAR20:=(CLOSE-REF(CLOSE,20))/REF(CLOSE,20)*100;
VAR21:=VAR1+VAR2+VAR3+VAR4+VAR5;
VAR22:=VAR1+VAR2+VAR3+VAR4+VAR5+VAR6+VAR7+VAR8+VAR9+VAR10;
VAR23:=VAR1+VAR2+VAR3+VAR4+VAR5+VAR6+VAR7+VAR8+VAR9+VAR10+VAR11+VAR12+VAR13+VAR14+VAR15+VAR16+VAR17+VAR18+VAR19+VAR20;
VAR24:=(VAR22-VAR21*50)/100;
VAR25:=(VAR23-VAR22*100)/100;
VAR26:=(VAR23-VAR21*150)/100;
VAR27:=(SUM(VAR21,3)*30-MA(SUM(VAR21,3),45))/10;
VAR28:=(VAR22*30-REF(SUM(VAR22,3),1))/10;
VAR29:=(VAR21*30-REF(SUM(VAR21,3),1))/10;
VAR30:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR31:=SUM(VAR30,3)*30-MA(SUM(VAR30,3),45);
VAR32:=VAR30*30-REF(SUM(VAR30,3),1);
VAR33:=EMA(VAR31,12)-EMA(VAR31,26);
VAR34:=EMA(VAR33,9);
VAR35:=VAR33-VAR34;
VAR36:=VAR35-REF(VAR35,1);
VAR37:=VAR36;
VAR38:=EMA(VAR32,12)-EMA(VAR32,26);
VAR39:=EMA(VAR38,9);
VAR40:=VAR38-VAR39;
VAR41:=VAR40-REF(VAR40,1);
VAR42:=VAR41;
VAR43:=MA(VAR28,WEEKDAY)/100;
VAR44:=MA(VAR28,MONTH)/100;
VAR45:=(REF(CLOSE,1)+CLOSE)/2;
VAR46:=MA(LOW/HIGH*CLOSE,5);
VAR47:=(VAR46*2+CLOSE)/3;
VAR48:=(VAR47*2+CLOSE)/3;
XGF3:CROSS(VAR42,0) AND VAR37>(-15) AND VAR32>30 AND COUNT(VAR32>(-10),5)>3 AND VAR43<VAR44 AND CYD.CYDN>(-0.3) AND VAR45<VAR48;
733299451.png
|