以下是通达信选股,庄家,天狼50受伤庄股的选股公式(无源码的请下载附件导入)
庄家,天狼,选股源码
AGA:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
AGB:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
AGC:=IF(AGB,1,(AGA<(DYNAINFO(5)+0.01) && AGA>(DYNAINFO(6)-0.01)));
MA21:=IF(AGC,0.01*EXPMA(AMOUNT,21)/EXPMA(VOL,21),EMA((HIGH+LOW+CLOSE)/3,21));
MA60:=IF(AGC,0.01*EXPMA(AMOUNT,60)/EXPMA(VOL,60),EMA((HIGH+LOW+CLOSE)/3,60));
MA∞:=IF(AGC,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
当前获利筹码:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,20)NODRAW;
收盘价:=CLOSE;
TJ1:=当前获利筹码>40;
TJ2:=MA60>MA∞ AND MA21>MA60;
TJ3:=收盘价<MA∞;
受伤庄股:TJ1 AND TJ2 AND TJ3;
634266027.jpg
|