通达信最新指标公式 通达信火凤凰分时图指标公式
2016-09-28 14:14 股票知识 zhishi.southmoney.com
DRAWGBK(C>0, RGB(40,120,20),RGB(00,00,00),0,0,1);
年:=YEAR,NODRAW;
月:=MONTH,NODRAW;
星期:=WEEKDAY,NODRAW;
日1:=DATETODAY(DATE);
上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);
自然日:=日1-DATETODAY(上市日)+1;
ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)
OR TOTALBARSCOUNT-CURRBARSCOUNT=0;
本周第几天:=BARSLAST(ZB)+1;
本月第几天:=BARSLAST(年*100+月!=REF(年*100+月,1))+1;
MA1:=REF(C,本周第几天);
MA2:=REF(MA1,本周第几天);
MA3:=REF(MA2,本周第几天);
MA4:=REF(MA3,本周第几天);
MA5:=REF(MA4,本周第几天);
MA6:=REF(MA5,本周第几天);
MA7:=REF(MA6,本周第几天);
MA8:=REF(MA7,本周第几天);
MA9:=REF(MA8,本周第几天);
十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10;
出击突破:REFDATE(十周价,DATE),COLORFF0080,DOTLINE;
DRAWTEXT(ISLASTBAR,出击突破,' 出击突破'),COLORFF0080;
DRAWICON(CROSS(C,出击突破),C,1);
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
地:EMA(均价,50)/0.97,LINETHICK2,COLORGREEN;
IF(地>REF(地,1),地,DRAWNULL),COLORRED,LINETHICK2;
平衡线:(均价+地)/2,DOTLINE,COLORGRAY;
买单次数:=COUNT(V>4000 AND C>REF(C,1),0);
黄次数:COUNT(V>DYNAINFO(16)*10 AND C>REF(C,1),0),COLORYELLOW,NODRAW;
DRAWICON(买单次数>REF(买单次数,1) AND 黄次数>REF(黄次数,1) AND CROSS(C,地),C,7);
SUM(V*C,0)/SUM(V,0),COLORYELLOW,LINETHICK2;
C,COLORWHITE,LINETHICK2;
MA30:=EMA(CLOSE,30);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORFF75BA,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,阻力,'阻力'),COLORB9B9FF;
支撑:L1+P1*0.5/8,COLOR0000FF,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,支撑,'支撑'),COLOR00FFFF;
现价:=CLOSE,COLORWHITE,LINETHICK1;
日时转换:=IF(PERIOD=5,120,240);
QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;
VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;
VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);
DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30));
牵引线:VAR1,COLORC0C0C0;
强弱线:EMA(VAR1,日时转换)NODRAW,COLOR5353FF;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;
强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;
止损区:IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,0,0),COLORMAGENTA;
STICKLINE(冲击量=1,QZS,VAR1,0,0),COLOR9797FF;
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLOR0080FF;
DRAWKLINE(H,O,L,C);
DRAWICON(LONGCROSS(支撑,现价,2),L,1),COLOR0080FF;{吸}
DRAWICON(LONGCROSS(现价,阻力,2),H,2),COLORBBBB00;{抛};
{短突破}
MAA:=MA(C,3);
MAB:=MA(C,8);
生命线:=SUM(VOL*(O+C)/2,88)/SUM(VOL,88),COLORFF80FF;
持股线:HHV(MA(C,18),2),COLOR8888FF;
分离线:IF(MA(C,18)<持股线,(MA(C,18)-(持股线-MA(C,18))),持股线),COLOR6F6F00;
MA18:MA(C,18),LINETHICK9,COLOR00FFFF;
DRAWBAND(分离线,RGB(255,255,0),持股线,RGB(28,134,238));
持股线1:HHV(MA(C,18),2),POINTDOT,COLOR00FFFF,LINETHICK9;
(股票知识网zhishi.southmoney.com)
年:=YEAR,NODRAW;
月:=MONTH,NODRAW;
星期:=WEEKDAY,NODRAW;
日1:=DATETODAY(DATE);
上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);
自然日:=日1-DATETODAY(上市日)+1;
ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)
OR TOTALBARSCOUNT-CURRBARSCOUNT=0;
本周第几天:=BARSLAST(ZB)+1;
本月第几天:=BARSLAST(年*100+月!=REF(年*100+月,1))+1;
MA1:=REF(C,本周第几天);
MA2:=REF(MA1,本周第几天);
MA3:=REF(MA2,本周第几天);
MA4:=REF(MA3,本周第几天);
MA5:=REF(MA4,本周第几天);
MA6:=REF(MA5,本周第几天);
MA7:=REF(MA6,本周第几天);
MA8:=REF(MA7,本周第几天);
MA9:=REF(MA8,本周第几天);
十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10;
出击突破:REFDATE(十周价,DATE),COLORFF0080,DOTLINE;
DRAWTEXT(ISLASTBAR,出击突破,' 出击突破'),COLORFF0080;
DRAWICON(CROSS(C,出击突破),C,1);
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
地:EMA(均价,50)/0.97,LINETHICK2,COLORGREEN;
IF(地>REF(地,1),地,DRAWNULL),COLORRED,LINETHICK2;
平衡线:(均价+地)/2,DOTLINE,COLORGRAY;
买单次数:=COUNT(V>4000 AND C>REF(C,1),0);
黄次数:COUNT(V>DYNAINFO(16)*10 AND C>REF(C,1),0),COLORYELLOW,NODRAW;
DRAWICON(买单次数>REF(买单次数,1) AND 黄次数>REF(黄次数,1) AND CROSS(C,地),C,7);
SUM(V*C,0)/SUM(V,0),COLORYELLOW,LINETHICK2;
C,COLORWHITE,LINETHICK2;
MA30:=EMA(CLOSE,30);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORFF75BA,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,阻力,'阻力'),COLORB9B9FF;
支撑:L1+P1*0.5/8,COLOR0000FF,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,支撑,'支撑'),COLOR00FFFF;
现价:=CLOSE,COLORWHITE,LINETHICK1;
日时转换:=IF(PERIOD=5,120,240);
QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;
VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;
VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);
DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30));
牵引线:VAR1,COLORC0C0C0;
强弱线:EMA(VAR1,日时转换)NODRAW,COLOR5353FF;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;
强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;
止损区:IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,0,0),COLORMAGENTA;
STICKLINE(冲击量=1,QZS,VAR1,0,0),COLOR9797FF;
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLOR0080FF;
DRAWKLINE(H,O,L,C);
DRAWICON(LONGCROSS(支撑,现价,2),L,1),COLOR0080FF;{吸}
DRAWICON(LONGCROSS(现价,阻力,2),H,2),COLORBBBB00;{抛};
{短突破}
MAA:=MA(C,3);
MAB:=MA(C,8);
生命线:=SUM(VOL*(O+C)/2,88)/SUM(VOL,88),COLORFF80FF;
持股线:HHV(MA(C,18),2),COLOR8888FF;
分离线:IF(MA(C,18)<持股线,(MA(C,18)-(持股线-MA(C,18))),持股线),COLOR6F6F00;
MA18:MA(C,18),LINETHICK9,COLOR00FFFF;
DRAWBAND(分离线,RGB(255,255,0),持股线,RGB(28,134,238));
持股线1:HHV(MA(C,18),2),POINTDOT,COLOR00FFFF,LINETHICK9;
(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。