通达信股仙选股指标公式
2014-6-18 13:19:31 股票入门 http://rumen.southmoney.com
M1:=55;
{牛熊分界线}
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
WLT1:=EMA(C,3);
WLT2:=EMA(C,5);
WLT3:=EMA(WLT2,5);
{横盘整理}
HP:=(HHV(CLOSE,10)-LLV(CLOSE,10))/CLOSE《0.10;
{量比}
LB:=VOL/MA(VOL,5);
{上升角度}
X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;
TT:=FILTER(BB5》1 AND EMA(X1,7)》REF(EMA(X1,7),1),10);{45度上升}
MM:=WLT1》REF(WLT1,1) AND REF(WLT1,1)《REF(WLT1,2) ;{均线向上转折}
GG1:=CROSS(WLT1,WLT2);{均线向上金叉}
TYP:= (HIGH + LOW + CLOSE)/3;
CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
差值1:=ABS(REF(CCI1,1)-CCI1);
CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
差值2:=ABS(REF(CCI2,1)-CCI2);
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
差值3:=ABS(REF(CCI3,1)-CCI3);
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
差值4:=ABS(REF(CCI4,1)-CCI4);
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
差值5:=ABS(REF(CCI5,1)-CCI5);
CCI:=(CCI1+CCI2+CCI3+CCI4+CCI5)/2;
WLT91:=HHV(CCI,13);{CCI的13日内最高}
WLT92:=LLV(CCI,13)《-100;{CCI的13日内最低值小于-100}
WLT95:=COUNT(WLT92,13)》=3;{CCI的13日内最低值小于-100的情况不少于3次}
WLT93:=CCI》WLT91;{CCI大于前13日内最高}
WLT96:=CROSS(CCI,100);{CCI上穿100}
TJ91:=WLT95 AND WLT96;
JLP:=FILTER(TJ91,5);{CCI的13日内完成探底后走强}
超买:=MA(C,10)*IF(CAPITAL=0,1.04,1.1);
超卖:=MA(C,10)*IF(CAPITAL=0,0.95,0.9);
TEND:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);
DD:=TEND》REF(TEND,1) AND REF(TEND,1) 》REF(TEND,2);{趋势线向上转折}
GG2:=CROSS(WLT1,TEND);{均线与趋势线向上金叉}
HRY1:=LLV(LOW,55);
HRY2:=HHV(HIGH,21);
GG3:=C《HRY2*0.8 AND C》HRY33;{股价高于牛熊线,低于21日内最高价的80%}
JJ1:=C《HRY1*1.62;
TJ1:=GG1;{均线向上金叉}
TJ2:=GG2 AND JJ1;
TJ3:=GG1 AND GG3 ;
XG:=TJ1 OR TJ3 ;
XG2:=C《HRY2*0.86 OR LB》1;
XG1:=XG AND XG2 AND C》HRY33 AND JLP;
XG3:=XG AND C《HHV(HIGH,250)*0.3;
XG11:=XG1 OR XG3;
V1:=CLOSE/REF(CLOSE,3)》=1.1;
V2:=BACKSET(V1,2);
XG22:=V2 AND COUNT(V2,2)=1;
W18:XG11 OR XG22;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。