无未来准确率高的通达信指标公式 通达信看图见强弱主图指标源码
2016-08-09 14:47 股票知识 zhishi.southmoney.com
MA10:=MA(CLOSE,10),LINETHICK1,COLORWHITE,DOTLINE;
MA30:MA(CLOSE,30),LINETHICK2,COLORGREEN;
MA60:MA(CLOSE,60),LINETHICK2,COLORLIBLUE;
中线:IF(MA(C,20)>=MA(C,30) ,MA30,DRAWNULL),COLORRED,LINETHICK2;
长线:=MA(CLOSE,120),LINETHICK1,COLORLIRED,DOTLINE;
TTJ:=BARSLAST((VOL=HHV(VOL,21)));
K0:=TTJ=0;
K1:=SUMBARS(K0,1);
K2:=SUMBARS(K0,2);
K3:=SUMBARS(K0,3);
K4:=SUMBARS(K0,4);
K5:=SUMBARS(K0,5);
K6:=SUMBARS(K0,6);
K7:=SUMBARS(K0,7);
K8:=SUMBARS(K0,8);
K9:=SUMBARS(K0,9);
K10:=SUMBARS(K0,10);
C1:=REF(C,K1-1);
AA:STICKLINE(K1<=30,REF(C,K1-1)*1.002,REF(C,K1-1),10,0),COLOR1B8888;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
强势线:=80,DOTLINE;
分水岭:=50,DOTLINE;
弱势线:=20,DOTLINE;
STICKLINE(长期<50,OPEN,CLOSE,8,1),COLORGREEN,,LINETHICK1;
STICKLINE(短期>长期 AND 长期>50,OPEN,CLOSE,8,1),COLORMAGENTA,;
STICKLINE( L>REF(H,1),L,REF(H,1),20,0),COLORLIRED;
STICKLINE(H<REF(L,1),H,REF(L,1),20,0),COLORWHITE;
涨停:=C/REF(C,1)>1.0925 AND C=H;
STICKLINE(涨停,CLOSE,OPEN,9,0),COLORRED;
STICKLINE(涨停 AND 长期<50,CLOSE,OPEN,4,0),COLORGREEN;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,9,0),COLORGREEN;
STICKLINE(短期<20 AND 长期>50,OPEN,CLOSE,8,0),COLORYELLOW;
MA30:MA(CLOSE,30),LINETHICK2,COLORGREEN;
MA60:MA(CLOSE,60),LINETHICK2,COLORLIBLUE;
中线:IF(MA(C,20)>=MA(C,30) ,MA30,DRAWNULL),COLORRED,LINETHICK2;
长线:=MA(CLOSE,120),LINETHICK1,COLORLIRED,DOTLINE;
TTJ:=BARSLAST((VOL=HHV(VOL,21)));
K0:=TTJ=0;
K1:=SUMBARS(K0,1);
K2:=SUMBARS(K0,2);
K3:=SUMBARS(K0,3);
K4:=SUMBARS(K0,4);
K5:=SUMBARS(K0,5);
K6:=SUMBARS(K0,6);
K7:=SUMBARS(K0,7);
K8:=SUMBARS(K0,8);
K9:=SUMBARS(K0,9);
K10:=SUMBARS(K0,10);
C1:=REF(C,K1-1);
AA:STICKLINE(K1<=30,REF(C,K1-1)*1.002,REF(C,K1-1),10,0),COLOR1B8888;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
强势线:=80,DOTLINE;
分水岭:=50,DOTLINE;
弱势线:=20,DOTLINE;
STICKLINE(长期<50,OPEN,CLOSE,8,1),COLORGREEN,,LINETHICK1;
STICKLINE(短期>长期 AND 长期>50,OPEN,CLOSE,8,1),COLORMAGENTA,;
STICKLINE( L>REF(H,1),L,REF(H,1),20,0),COLORLIRED;
STICKLINE(H<REF(L,1),H,REF(L,1),20,0),COLORWHITE;
涨停:=C/REF(C,1)>1.0925 AND C=H;
STICKLINE(涨停,CLOSE,OPEN,9,0),COLORRED;
STICKLINE(涨停 AND 长期<50,CLOSE,OPEN,4,0),COLORGREEN;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,9,0),COLORGREEN;
STICKLINE(短期<20 AND 长期>50,OPEN,CLOSE,8,0),COLORYELLOW;
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。