天狼50受伤庄股的选股公式(通达信),轻松涨停(通达信)
admin888
|天狼50受伤庄股的选股公式(通达信),轻松涨停(通达信)
天狼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:=收盘价
受伤庄股:TJ1 AND TJ2 AND TJ3;
轻松涨停(通达信)
XX1:=crOSS(((-((100)*(HHV(HIGH,IF((IF((BARSCOUNT(CLOSE) > 7),(100)*((ma(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1) > 0.35),6,65)) - CLOSE))/(HHV(HIGH,IF((IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1) > 0.35),6,65)) - LLV(LOW,IF((IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1) > 0.35),6,65)))))*((DATE < 20070110)),(-2));
A :=MA(CLOSE,26);
UP:=A + 2*stD(CLOSE,26);
LOWER:=A - 2*STD(CLOSE,26);
W1:=C=HHV(C,20);
W2:=BArslAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
XX2:=IF(W4 AND COUNT(W4,5)=1,20,0);
VAR1:=ema(C,2);
VAR2:=EMA(SLOPE(C,21)*20+C,42);
xx3:=CROSS(VAR1,VAR2);
(XX1 AND XX2 and xx3),COLORLIGREEN;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。