通达信主图指标公式 通达信持股线评级买入主图指标公式
2015-4-9 11:14:23 股票入门 http://rumen.southmoney.com
DRAWKLINE(H,O,L,C);
M:=10;
VAR1:=CLOSE-MA(CLOSE,M);
VAR2:=BARSCOUNT(C)-MA(BARSCOUNT(C),M);
VAR3:=MA(POW(VAR1,2),M);
VAR4:=MA(POW(VAR2,2),M);
XGXS:=MA(VAR1*VAR2,M)/(SQRT(VAR3)*SQRT(VAR4));
S1:=IF(CODELIKE(‘300’),0,1);
S2:=H》REF(H,1);
XG3:=CROSS(XGXS,-0.85) AND CAPITAL 《5000000 AND S1 AND S2;
Z:=(O+C)/2;
买入位:DRAWLINE(XG3,Z,REF(XG3,1),REF(Z,1),1),COLOR00FF11 DOTLINE LINETHICK1;
STICKLINE(XG3,OPEN,CLOSE,4,0),COLORYELLOW;
STICKLINE(XG3,CLOSE,OPEN,1,0),COLORRED;
DRAWICON(XG3,L*0.99,1);
AA:=MA(MAX(HHV(H,13),C),2);
AB:=MA(MAX(HHV(H,5),AA),2);
A3:=MA(MAX(HHV(H,3),AB),2);
A4:=MA(MIN(LLV(A3,13),A3),2);
A5:=MA(MIN(LLV(L,13),A4),2);
A6:=(AA+A4+A5)/3;
中线:=EMA(SLOPE(MA(C,2),21)*20+MA(C,2),55),COLORGREEN,LINETHICK3;
长线:=MA(中线,20);
AC:=IF(C》中线,C*0.98,L),COLORYELLOW;
短A:=MA(AC,5);
A8:=IF(C》中线,AA,中线*1.02);
A9:=IF(C》中线,AB,中线*1.02);
A10:=IF(C》中线,A3,中线*1.02);
A11:=(A8+A9+A10)/3;
A12:=MA(A11,10);
短B:=MA(短A,5),COLORYELLOW;
T1:=CROSS(C,短B)AND EXIST(CROSS(中线,C),5);
T2:=CROSS(C,中线);
T3:=CROSS(C,长线);
T4:=C》REF(C,1) AND C/REF(C,1)《1.031;
T5:=V》REF(V,1)*FROMOPEN/240;
T6:=C/中线《1.21;
买入评分:=T1+T2+T3+T4+T5+T6;
DRAWRECTREL(930,500,970,990,0);
DRAWRECTREL(930,CONST(990-买入评分*100),970,990,95);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.953,0.85,1,买入评分),COLORYELLOW;
DRAWTEXT_FIX(1,0.973,0.93,1,‘买入评分’),COLORYELLOW;
持股线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
NOTEXT001:IF(持股线》=REF(持股线,1),持股线,DRAWNULL),LINETHICK2 COLORRED;
NOTEXT002:IF(持股线《REF(持股线,1),持股线,DRAWNULL),LINETHICK2,COLORGREEN;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。