通达信起动线组合的分时指标老股民酒后无意说出 股市唯不会买入通达信公式
公式源码:
DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'11',0);
现价:CLOSE,COLORWHITE,NODRAW;
涨幅:DYNAINFO(14)*100,COLORRED,NODRAW;
量比:DYNAINFO(17),COLORCYAN,NODRAW;
流通盘:CAPITAL*100/100000000,COLORCYAN,NODRAW;
市盈率:DYNAINFO(39),COLORBROWN,NODRAW;
地面:3,COLORWHITE,LINETHICK1,DOTLINE;
拉升:20,COLORYELLOW,LINETHICK1,DOTLINE;
{冲高:30,COLORCYAN,LINETHICK1,DOTLINE;
要涨停:40,COLORBLUE,LINETHICK1,DOTLINE;}
资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;
资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLORGREEN;
资金出入:=资金流入+资金流出,COLORSTICK;
资金比:=资金出入/SUM(V,FROMOPEN)*100,COLORCYAN,LINETHICK1;
资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));
攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;
攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLORBLUE,LINETHICK0;
攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLORGREEN,LINETHICK0;
攻击流量:=攻击量A+攻击量B,COLORSTICK;
攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;
资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));
DRAWRECTREL(210,10,495,90,RGB(0,75,200));
DRAWRECTREL(210,10,350,90,RGB(0,250,50));
DRAWRECTREL(210,10,200+CONST(资金流量比*300/100),90,RGB(200,50,0));
DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORWHITE;
DRAWRECTREL(710,10,995,90,RGB(0,75,200));
DRAWRECTREL(710,10,850,90,RGB(0,250,50));
DRAWRECTREL(710,10,700+CONST(资金攻击度*300/100),90,RGB(175,50,0));
DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORWHITE;
STICKLINE(EMA(C,10)>EMA(C,60) ,16,19,0,0),COLORRED;
STICKLINE(EMA(C,10)<EMA(C,60) ,16,13,0,0),COLORGREEN;
AE:=IF(DATE<=1590301,1,0);
OE:=BETWEEN((CLOSE*AE)/(SUM(AMOUNT,BARSCOUNT(CLOSE*AE))/SUM(VOL*100,BARSCOUNT(CLOSE*AE))),1.05,0.95);
AEOE:=IF(OE=0,MA((CLOSE*AE),BARSCOUNT(CLOSE*AE)),(SUM(AMOUNT,BARSCOUNT(CLOSE*AE))/SUM(VOL*100,BARSCOUNT(CLOSE*AE))));
黄色起动线:EMA((CLOSE/AEOE),20)*1000-1000,COLORYELLOW,LINETHICK2;
洋红色主力线:=EMA((CLOSE/AEOE),60)*1000-1000,COLORMAGENTA,LINETHICK1,NODRAW;
绿色散户线:EMA((CLOSE/AEOE),120)*1000-1000,COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(EMA((CLOSE/AEOE),20),1.02),黄色起动线,' 拉升'),COLORCYAN;
DRAWTEXT(CROSS(EMA((CLOSE/AEOE),20),1.03),黄色起动线,' 冲高'),COLORCYAN;
DRAWTEXT(CROSS(EMA((CLOSE/AEOE),20),1.04),黄色起动线,' 要涨停'),COLORCYAN;
DRAWTEXT(CROSS(EMA((CLOSE/AEOE),20),1),黄色起动线,' ①买'),COLORMAGENTA;
DRAWICON(CROSS(EMA((CLOSE/AEOE),20),1),黄色起动线,9);
DRAWTEXT(CROSS(EMA((CLOSE/AEOE),120),1.0029),绿色散户线,' ②买'),COLORCYAN;
DRAWICON(CROSS(EMA((CLOSE/AEOE),120),1.0029),绿色散户线,9);
DRAWTEXT(CROSS(1,EMA((CLOSE/AEOE),20)),黄色起动线+5,'警惕'),COLORWHITE;