值得收藏的分時(shí)主圖指標(biāo)
{用法:大紅色柱表示主力大買單,大綠色柱表示主力大賣單。暗紅色柱表示散戶小買單,,暗綠色柱表示散戶小賣單,。出現(xiàn)最左邊紅色柱表示大單介入積極,,理想狀態(tài)是大紅色柱要高于大綠色柱,。
分時(shí)雷達(dá)主圖指標(biāo):}
現(xiàn)價(jià):=C,COLORWHITE,LINETHICK2;
均價(jià)11:=SUM(C*V,240)/SUM(V,240),COLORRED,LINETHICK2;
TT:=BARSCOUNT(C);
前高:=REF(HHV(H,TT),1);
突破:=crOSS(C,REF(HHV(H,TT),1)) AND C/均價(jià)11< 1.09 AND TT>1 AND TT< 240;
主力掃盤:=COUNT(突破,13)>=3 AND CROSS(C,REF(HHV(H,TT),1));
已主力掃盤:=BARSLAST(主力掃盤)< 13;
HJ_2:=DYNAINFO(4)>0 AND HHV(HIGH,2)/LLV(LOW,2)< 1.25 AND REF(CLOSE,1)< LLV(LOW,3)+(HHV(HIGH,3)-LLV( LOW,3))*0.85;
HJ_9:=EMA(CLOSE,2);
HJ_10:=EMA(CLOSE,3);
HJ_11:=MAX(HJ_9,HJ_10);
X2:=CLOSE>HJ_11 AND HJ_2 AND (CLOSE>REF(HHV(HIGH,2),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.015) AND (V/CAPITAL< =0.2) AND C/REF(C,1)< 1.07;
NX:=MA(((SLOPE(C,20)*5)+C),10);
B1:=HOUR=09 AND MINUTE=45;
B20:=LLV(L,15);
B30:=BARSLAST(B1);
B4:=REF(B20,B30);
B5:=CONST(B4),COLORFF80FF,CIRCLEDOT,LINETHICK2;
C1:=HOUR=09 AND MINUTE=45;
C2:=HHV(H,15);
C3:=BARSLAST(C1);
C4:=REF(C2,C3);
C5:=CONST(C4),COLORFF80FF,CIRCLEDOT,LINETHICK2;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd10:=(DIF-DEA)*2;
AA0:=MACD10>00 AND DIF>0 AND DEA>0;
A100:=HOUR=10 AND MINUTE=0;
A20:=HHV(H,30);
A30:=BARSLAST(A100);
A40:=REF(A20,A30);
A50:=CONST(A40);
A80:=CLOSE>A50 AND REF(C<=A50,1) AND CLOSE>NX;
AB:=FILTER(A80,100);
A90:=DYNAINFO(3);
AC:=CLOSE<=A90*1.04 AND CLOSE>A90;
量比:=V/REF(MA(V,5),1);
XG:=AA0 AND AB AND AC AND A40>A90 AND 量比>=1;
HJ_4:=CLOSE;
HJ_5:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);
BAB1:=STICKLINE(HJ_5>0,DYNAINFO(3),DYNAINFO(3)*(1+HJ_5),0.1,0);
BAB2:=STICKLINE(HJ_5< 0,DYNAINFO(3),DYNAINFO(3)*(1+HJ_5),0.1,0);
HJ_6:=CLOSE/DYNAINFO(3);
HJ_7:=FILTER(HJ_5>0.015 AND HJ_5>REF(HJ_5,1)*2 AND vol>REF(VOL,1)*2 AND CLOSE>REF(CLOSE,1) OR HJ_5>0.025,240);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*8/9,COLORLIRED,DOTLINE;
支撐:=L1+P1*0.5/9,COLORGREEN,DOTLINE;
DRAWTEXT(FILTER(CROSS(C,支撐),240),L-0.01,'吸籌'),COLOR0000FF;
DRAWTEXT(FILTER(CROSS(C,阻力),240),H-0.01,'壓'),COLOR0000FF;
WA1:=V*C/100;
WA2:=SUM((IF(((WA1/8>20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);
WA3:=SUM((IF(((WA1/8>20) AND (CLOSE< (REF(CLOSE,1)))),WA1,0)),0);
WA4:=SUM((IF(((WA1/8< 20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);
WA5:=SUM((IF(((WA1/8< 20) AND (CLOSE< (REF(CLOSE,1)))),WA1,0)),0);
機(jī)構(gòu)買盤:=(WA2);
機(jī)構(gòu)賣盤:=(WA3);
散戶買盤:=(WA4);
散戶賣盤:=(WA5);
BU:=BARSLAST(CLOSE=HHV(CLOSE,60));
SE:=BARSLAST(CLOSE=LLV(CLOSE,60));
KK1:=SE;
KK2:=BU;
LM1:=SE;
LM2:=BU;
OK:=KK1>KK2 AND LM1>LM2;
OK1:=KK1>KK2 AND LM1< LM2;
NOK:=KK2>KK1 AND LM2>LM1;
NOK1:=KK2>KK1 AND LM2< LM1;
DRAWICON(FILTER(CROSS(KK1,KK2),240),OPEN*1,5);
DRAWTEXT(FILTER(CROSS(KK1,KK2),240) ,OPEN*0.985,'抓'),COLORFF0000;
TT1:=BARSCOUNT(C);
均價(jià)黃:=SUM(C*V,TT1)/SUM(V,TT1);
量?jī)刹?=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
價(jià)兩步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
價(jià)上崗量破5:=C>均價(jià)黃 AND V>MA(V,5);
量起爆:=V>=REF(V,1)*1;
價(jià)創(chuàng)新高:=C>=HHV(C,0);
量創(chuàng)新高:=V>=HHV(V,0);
對(duì)昨日漲幅:=(C/DYNAINFO(3)-1)*100<=4.50;
每日一點(diǎn):=量?jī)刹?AND 價(jià)兩步 AND 價(jià)上崗量破5 AND 量起爆 AND 價(jià)創(chuàng)新高 AND 量創(chuàng)新高 AND 對(duì)昨日漲幅;
VV:=BARSSINCE(每日一點(diǎn))+1;
首次起爆價(jià):=REF(C,VV-1),NODRAW;
起爆收益:(DYNAINFO(7)-首次起爆價(jià))/首次起爆價(jià)*100,NODRAW;
流通盤:=CAPITAL*100/100000000,NODRAW;
起爆時(shí)間:=REF(TIME/10000,VV),NODRAW;
已爆分鐘:=VV-1,NODRAW;
DRAWICON(每日一點(diǎn),C,25);
DRAWTEXT(每日一點(diǎn),L-0.01,'←分時(shí)起爆'),COLOR0000FF;
DRAWNUMBER_FIX(ISLASTBAR AND C>1,0.8,0.5,0,起爆收益),COLORFF0000;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.8,0.45,0,'起爆收益'),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.85,0.5,0,'%'),COLOR0000FF;
ACX:=FILTER(CROSS(KK1,KK2),240);
ACX1:=BARSSINCE(ACX)+1;
首次抓板價(jià):=REF(C,ACX1-1),NODRAW;
抓板收益:(DYNAINFO(7)-首次抓板價(jià))/首次抓板價(jià)*100,NODRAW;
DRAWNUMBER_FIX(ISLASTBAR AND C>1,0.8,0.35,0,抓板收益),COLORFF0000;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.8,0.3,0,'抓板收益'),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.85,0.35,0,'%'),COLOR0000FF;
全倉(cāng)買進(jìn):=CROSS(C,REF(HHV(H,TT),1)) AND HHVBARS(VOL,TT)=0 AND C/均價(jià)11< 1.09 AND TT>1 AND TT< 240 AND BARSLAST(主力掃盤)>=20 AND 對(duì)昨日漲幅;
DRAWTEXT(全倉(cāng)買進(jìn) ,前高, '←全倉(cāng)'),COLORCYAN;
DRAWICON(全倉(cāng)買進(jìn),C,23);
對(duì)昨日漲幅1:=(C/DYNAINFO(3)-1)*100<=7;
價(jià)2步:=C/REF(C,3)>1.04 ;
DRAWTEXT(價(jià)2步,C*0.995,'←突'),COLORYELLOW;
現(xiàn):=100*(C-REF(C,1))/REF(C,1);
量:=SUM(V,FROMOPEN);
大買:=SUM(IF(現(xiàn)>=0 AND V>CAPITAL*0.0005 AND PERIOD=0,V,0),FROMOPEN);
大賣:=SUM(IF(現(xiàn)< 0 AND V>CAPITAL*0.0005 AND PERIOD=0,V,0),FROMOPEN);
小買:=SUM(IF(現(xiàn)>=0 AND V< CAPITAL*0.0005 AND PERIOD=0,V,0),FROMOPEN);
小賣:=SUM(IF(現(xiàn)< 0 AND V< CAPITAL*0.0005 AND PERIOD=0,V,0),FROMOPEN);
B31:=100*大買/量;
B32:=100*大賣/量;
B33:=100*小買/量;
B34:=100*小賣/量;
DRAwrECTREL(133,CONST(100-B31)*1000/100,159,1000,RGB(255,0,0));
DRAWRECTREL(269,CONST(100-B32)*1000/100,294,1000,RGB(0,255,0));
DRAWRECTREL(405,CONST(100-B33)*1000/100,426,1000,RGB(128,0,0));
DRAWRECTREL(536,CONST(100-B34)*1000/100,557,1000,RGB(0,128,0));
DRAWTEXT_FIX(PERIOD=0,0.135,8,0,CON2STR(B31,0)) COLORFFFFFF;
DRAWTEXT_FIX(PERIOD=0,0.270,8,0,CON2STR(B32,0)) COLORFF0000;
DRAWTEXT_FIX(PERIOD=0,0.403,8,0,CON2STR(B33,0)) COLORFFFFFF;
DRAWTEXT_FIX(PERIOD=0,0.539,8,0,CON2STR(B34,0)) COLORFF0000;