1、橫盤突破抓漲停分時(shí)主圖指標(biāo)公式
其中的橫盤走勢(shì)是股價(jià)開盤形成的分時(shí)走勢(shì),包含有橫盤、突破、下跌、放量等不同的走勢(shì)變化,而投資者要做的就是分析其中的買賣點(diǎn)位置。
均線:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),
1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;
均線H:(均線*1.007 ),COLORFF6600;
均線L:(均線/1.005 ),COLOR00FF00;
均線橫盤:=C<均線H AND C>均線L;
STICKLINE(均線橫盤,均線L,均線,3,0),COLORYELLOW;
放量:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;
橫盤:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)<1;
橫漲:=橫盤 AND 放量 AND (C>均線H);
橫跌:=橫盤 AND 放量 AND CROSS(均線L,C) ;
突破:=FILTER(橫漲,100);
下破:=FILTER(橫跌,50);
DRAWTEXT(突破,均線H,'★突破'),COLORFF00FF;
MA30:=EMA(CLOSE,30);
強(qiáng)弱界定:EMA(CLOSE,900);
STICKLINE((MA30>強(qiáng)弱界定),MA30,強(qiáng)弱界定,1,0),COLOR0000FF;
STICKLINE((MA30<強(qiáng)弱界定),MA30,強(qiáng)弱界定,1,0),COLOR00FF00;
DRAWICON(CROSS(MA30,強(qiáng)弱界定),H,24);
上述的源碼解說的主要是其中的強(qiáng)弱走勢(shì),以及買賣點(diǎn)的位置,在突破的時(shí)候就是其中的一個(gè)介入點(diǎn)位置。
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撐:L1+P1*0.5/8,COLOR00DD00;
CC:CLOSE,COLORWHITE,LINETHICK2;
STICKLINE(突破>0,支撐,阻力,2,0),COLORRED;
JX:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),
1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;
A1:=(VOL/CLOSE)/3;
A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((BARSTATUS=2),((100*A2)/A6),0);
A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));
A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));
A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));
機(jī)構(gòu)買盤:=(A2),LINETHICK2;
機(jī)構(gòu)賣盤:=(A3),LINETHICK2;
散戶買盤:=(A4);
散戶賣盤:=(A5);
DRAWTEXT_FIX(1,0.000,1-0.05,0,STRCAT(STRCAT('【機(jī)構(gòu)買盤】',CON2STR(機(jī)構(gòu)買盤,2)),'萬')),COLORRED;
DRAWTEXT_FIX(1,0.250,1-0.05,0,STRCAT(STRCAT('【機(jī)構(gòu)賣盤】',CON2STR(機(jī)構(gòu)賣盤,2)),'萬')),COLOR00FF00;
DRAWTEXT_FIX(1,0.500,1-0.05,0,STRCAT(STRCAT('【散戶買盤】',CON2STR(散戶買盤,2)),'萬')),COLORRED;
DRAWTEXT_FIX(1,0.745,1-0.05,0,STRCAT(STRCAT('【散戶賣盤】',CON2STR(散戶賣盤,2)),'萬')),COLOR00FF00;
大單買量:=SUM(IF(C>REF(C,1) AND V>4000,V,0),0),NODRAW;
大單賣量:=SUM(IF(C4000,V,0),0),NODRAW;
買單總量:=SUM(IF(C>REF(C,1),V,0),0),NODRAW;
小單買量:=買單總量-大單買量,NODRAW;
小單賣量:=賣單總量-大單賣量,NODRAW;
DRAWRECTREL(0,1000,147,999.4,IF(120,RGB(10,0,0),1));
大宗進(jìn):=大單買量,NODRAW;
大宗出:=大單賣量,NODRAW;
非大宗進(jìn):=小單買量,NODRAW;
非大宗出:=小單賣量,NODRAW;
主力凈流入:=大單買量-大單賣量,COLORRED,NODRAW;
散戶凈流入:=小單買量-小單賣量,COLORRED,NODRAW;
凈流入:=買單總量-賣單總量,COLORRED,NODRAW;
DAZHIV:=CONST(MAX(ABS(大宗進(jìn)),MAX(ABS(大宗出),MAX(ABS(非大宗進(jìn)),ABS(非大宗出))))),NODRAW;
DRAWRECTREL(0,CONST(930-(ABS(大宗進(jìn))*250/DAZHIV)),35,950,IF(CONST(大宗進(jìn)>0),RGB(255,0,0),RGB(0,255,0)));
DRAWRECTREL(37,CONST(930-(ABS(大宗出)*250/DAZHIV)),72,950,IF(CONST(大宗出>0),RGB(0,255,0),RGB(255,0,0)));
DRAWRECTREL(75,CONST(930-(ABS(非大宗進(jìn))*250/DAZHIV)),110,950,IF(CONST(非大宗進(jìn)>0),RGB(150,0,0),RGB(0,150,150)));
DRAWRECTREL(112,CONST(930-(ABS(非大宗出)*250/DAZHIV)),147,950,IF(CONST(非大宗出>0),RGB(0,150,150),RGB(150,0,0)));
DRAWRECTREL(150,CONST(940-(ABS(凈流入)*250/DAZHIV))-20,190,950,IF(CONST(凈流入>0),RGB(255,255,0),RGB(23,125,255)));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0001,0.9,0,STRCAT('',CON2STR(大宗進(jìn)/1,0))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.036,0.9,0,STRCAT('',CON2STR(大宗出/1,0))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.074,0.9,0,STRCAT('',CON2STR(非大宗進(jìn)/1,0))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.111,0.9,0,STRCAT('',CON2STR(非大宗出/1,0))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.150,0.9,0,STRCAT('',CON2STR(凈流入/1,0))),COLORYELLOW;
DRAWTEXT_FIX(1,0.000,0.99,0,STRCAT(STRCAT('主力 ',CON2STR(主力凈流入,0)),'萬')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.078,0.99,0,STRCAT(STRCAT('散戶 ',CON2STR(散戶凈流入,0)),'萬')),COLORCYAN;
DRAWTEXT_FIX(1,0.145,0.99,0,STRCAT(STRCAT('凈流入 ',CON2STR(凈流入,0)),'萬')),COLORYELLOW;
在公式源碼的解析中,能夠看出有資金的凈流入和流出的資金變化情況,而且表明了股票單數(shù)的大小以及買賣單的機(jī)會(huì),希望投資者能夠把握其中的機(jī)會(huì)。
2、黃金十字捕捉漲停分時(shí)指標(biāo)公式
時(shí)間:=TIME2=100000;
N:=BARSLAST(時(shí)間);
CS1:CONST(IF(N,MAX(REF(HHV(H,0),N),DYNAINFO(4)),HHV(H,0))),DOTLINE,COLORGREEN;
CS2:CONST(IF(N,MIN(REF(LLV(L,0),N),DYNAINFO(4)),LLV(L,0))),DOTLINE,COLORRED;
CS3:(CS1+CS2)/2,DOTLINE,COLORYELLOW;
均價(jià):=AMOUNT/VOL/100,COLORYELLOW,LINETHICK1;
DRAWNUMBER(CURRBARSCOUNT=2,CS1*1.005,VAR2STR(CS1,3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=2,CS2*0.995,VAR2STR(CS2,3)),COLORYELLOW;
DRAWTEXT(CS1/CS2<1.03 AND CROSS(C,CS1),CS1*1.005,'買入')COLORRED;
DRAWTEXT(CS1/CS2<1.03 AND CROSS(CS2,C),CS2*0.995,'賣出')COLORGREEN;
DRAWICON(CS1/CS2<1.03 AND CROSS(C,CS1),CS1*1.005,9);
DRAWICON(CS1/CS2<1.03 AND CROSS(CS2,C),CS2*0.9955,2);
STICKLINE(CS1/CS2<1.03 AND CROSS(C,CS1),CS1*1.1,CS2*0.9,1,0),COLORRED;
從時(shí)間的變化以及走勢(shì)均價(jià)的變化,為投資者標(biāo)注出了買入和賣出的點(diǎn)位。
以上就是本文講解的關(guān)于股市中,捕捉漲停板的分時(shí)指標(biāo)公式源碼解析,如果您還想要了解更加專業(yè)的技術(shù)指標(biāo)公式,請(qǐng)百度搜索贏家財(cái)富網(wǎng),股票公式欄目進(jìn)行研究學(xué)習(xí)!
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:datuav.com
銷售熱線:0371-65350319
技術(shù)支持:13333833889