编写要求:
条件: 1:股价高于无穷成本均线20%以上; 2:当日换手率小于等于3%; 3:70%以上筹码集中于34日成本均线之下。
www.gszx.com.cn网解答:
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
C34:=IF(JJJT,0.01*EMA(AMOUNT,34)/EMA(VOL,34),EMA((HIGH+LOW+CLOSE)/3,34));
C120:=IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
A1:=C>=C120*1.2;
A2:=HSL<=3;
A3:=WINNER(C34)>=0.7;
XG:A1 AND A2 AND A3;