天狼50受伤庄股的选股公式 天狼50我用了一段时间在选股方面我觉得受伤庄股后期是有比较稳健的涨幅的现在我用通达信把他表达了出来,比对了一下和天狼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; |
