主圖:
黃金柱:=V/REF(V,1)>=2.0; K1:=SUMBARS(黃金柱,1) ; K2:=SUMBARS(黃金柱,2); K3:=SUMBARS(黃金柱,3); K4:=SUMBARS(黃金柱,4); K5:=SUMBARS(黃金柱,5); K6:=SUMBARS(黃金柱,6); K7:=SUMBARS(黃金柱,7); K8:=SUMBARS(黃金柱,8); K9:=SUMBARS(黃金柱,9); K10:=SUMBARS(黃金柱,10); AA:STICKLINE(K1,REF(L,K1-1)*1.002,REF(L,K1-1),5,0),COLORYELLOW; {預(yù)定黃金柱} {預(yù)定黃金柱:=REF(V,2)>=REF(V,3)*1.99 AND REF(C,2)>REF(O,2) AND REF(V,2)=HHV(V,3) AND C/REF(C,2) >=1.0995 AND REF(L,2)=LLV(L,3);} {預(yù)定:STICKLINE(預(yù)定黃金柱,H,H,30,0),COLORRED;} {DRAWICON(預(yù)定黃金柱,H,19);} {將軍柱中的五星上將黃金柱} T60:=V=HHV(V,60); T100:=V=HHV(V,100); T2:=V/REF(VOL,1)>=3; T3:=REF(C,1)/REF( O,1)<3; 五星上將:=(T60 AND T2 AND T3) OR (T100 AND T2 AND T3); DRAWICON(五星上將,H,23); {量柱圖} C2:=REF(C,1); 漲停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(漲停,OPEN,CLOSE,-1,0),COLORWHITE; STICKLINE(漲停,H,L,0,0),COLORWHITE; DRAWICON(漲停,L-0.2,11); DRAWTEXT(漲停,L-0.2,' --漲停'); 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE; STICKLINE(跌停,H,L,0,1),COLORBLUE; DRAWICON(跌停,H+0.2,2); DRAWTEXT(跌停,H+0.2,' --跌停'); {大陽線:=IF((C-C2)*100/C2>=5,1,0) AND IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0) AND IF((C-C2)*100/C2<(10-0.01*100/C2),1,0); STICKLINE(大陽線,OPEN,CLOSE,-1,0),COLORRED; STICKLINE(大陽線,H,L,0,1),COLORRED; 大陰線:=IF((C2-C)*100/C2>=5,1,0) AND IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0) AND IF((C2-C)*100/C2<(10-0.01*100/C2),1,0); STICKLINE(大陰線,OPEN,CLOSE,-1,0),COLORGREEN; STICKLINE(大陰線,H,L,0,1),COLORGREEN;} {MA13:MA(CLOSE,13),COLORWHITE; MA34:MA(CLOSE,34),COLORYELLOW; MA55:MA(CLOSE,55),COLOR9933FF;} {MA4:MA(CLOSE,4),COLORWHITE; MA10:MA(CLOSE,10),COLORYELLOW; MA20:MA(CLOSE,20),COLOR9933FF; MA30:MA(CLOSE,30),COLORLIBLUE; MA60:MA(CLOSE,60),COLORWHITE; MA120:MA(CLOSE,120),COLORLIGREEN;} TY:=C; AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10); C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10); AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10); 前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3; 前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3; {求位置坐標(biāo)} PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3), IF((LLV(L,3)>=REF(C,3) AND REF(C,3)>REF(O,3)),REF(C,3), IF(LLV(L,3)>=REF(O,3) AND REF(C,3)>REF(O,3),REF(O,3),REF(L,3)))); {自動(dòng)畫量能平臺(tái)} {NN 1 300 21} {NN:=21; TTJ:=BARSLAST(REF(倍量黃金柱,NN-1)); 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); CCCC1:=REF(C,K1-1);} {在K線圖上標(biāo)示量柱類型} 倍量:=DRAWICON((VOL>REF(V,1)*2.0 OR VOL=REF(V,1)*2.0) AND C>REF(C,1),H+0.2,26); 低量:=DRAWICON(VOL<REF(LLV(VOL,13),1),H+0.1,2); 地量:=DRAWICON(VOL<REF(LLV(VOL,100),1),H+0.1,12); 平量:=DRAWICON(ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5)<=0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.03,H+0.1,16); 倍縮:=DRAWICON(VOL<=REF(V,1)*0.5,H+0.1,27); {畫量柱標(biāo)識(shí):} {1.畫倍量黃金柱標(biāo)識(shí)--紅箭頭圖標(biāo)} 倍量黃金柱:=DRAWICON((LLV(L,3)>REF(L,3) OR LLV(L,3)=REF(L,3)) AND HHV(V,3)<REF(V,3) AND REF(C,3)>REF(O,3) AND REF(V,3)>=2*REF(V,4),H+0.2,1); {2.畫梯量黃金柱標(biāo)識(shí)--橘子圖標(biāo)} 梯量黃金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) AND REF(V,5)>REF(V,6) AND REF(V,4)>REF(V,5) AND REF(V,3)>REF(V,4),H,17); {3.畫平量黃金柱標(biāo)識(shí)--蘋果圖標(biāo)} 平量黃金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) AND REF(C,3)>REF(O,3) AND ABS(REF(V,3)-REF(V,4))/REF(V,4)<=0.03,H,19); {4.畫立樁量標(biāo)識(shí)--頂部紅箭頭圖標(biāo)} N:=25; 立樁量:=REF(V,3)/REF(MA(V,5),4)>(N/10) AND REF(V,3)/REF(HHV(V,60),4)>1.5 AND LLV(L,3)>REF(L,3); STICKLINE(倍量,OPEN,CLOSE,-1,0),COLORYELLOW; 倍量黃金線:STICKLINE(倍量黃金柱,PHD,PHD,30,0),COLORWHITE; DRAWICON(倍量黃金柱,PHD*1.008,12); DRAWTEXT(倍量黃金柱,PHD*1.010,' 標(biāo)準(zhǔn)黃金柱精準(zhǔn)線'),COLORFF00FF; DRAWTEXT(倍量黃金柱,PHD,'================='),COLORWHITE; {平量黃金線:STICKLINE(平量黃金柱,PHD*1.002,PHD,100,0),COLORYELLOW; DRAWTEXT(平量黃金柱,PHD*1.015,'平量黃金線'),COLORLIGREEN ; 梯量黃金線:STICKLINE(梯量黃金柱,PHD*1.002,PHD,100,0),COLORYELLOW; DRAWTEXT(梯量黃金柱,PHD*1.015,'梯量黃金線'),COLORFF00FF ;} 立樁量標(biāo)識(shí):DRAWICON(立樁量,H*1.002,1); DRAWTEXT(立樁量,H*1.06,'立'),COLORRED; DRAWTEXT(立樁量,H*1.04,'樁'),COLORRED; DRAWTEXT(立樁量,H*1.02,'量'),COLORRED; {DA:STICKLINE(K4<=30,REF(C,K4-1)*1.002,REF(C,K4-1),10,0),COLORBLUE; EA:STICKLINE(K5<=30,REF(C,K5-1)*1.002,REF(C,K5-1),10,0),COLORBLUE; FA:STICKLINE(K6<=30,REF(C,K6-1)*1.002,REF(C,K6-1),10,0),COLORBLUE; GA:STICKLINE(K7<=30,REF(C,K7-1)*1.002,REF(C,K7-1),10,0),COLORBLUE; HA:STICKLINE(K8<=30,REF(C,K8-1)*1.002,REF(C,K8-1),10,0),COLORBLUE; IA:STICKLINE(K9<=30,REF(C,K9-1)*1.002,REF(C,K9-1),10,0),COLORBLUE; JA:STICKLINE(K10<=30,REF(C,K10-1)*1.002,REF(C,K10-1),10,0),COLORBLUE; } AAA:=CONST(HHV(H,90)); TS1:=0+0.03; TS2:=TS1+0.03; TS3:=TS2+0.03; DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS1),'<一>.量柱的階段性拐點(diǎn)標(biāo)志--空間轉(zhuǎn)化原則:'),COLORFF00FF ; DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS2),' 1.平臺(tái)起柱:在K線整理平臺(tái)上突然起柱;'),COLORFF00FF ; DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS3),' 2.凹口起柱:在K線逐步回調(diào)形成凹口時(shí)起柱.常見凹口倍量;'),COLORFF00FF ; TS4:=TS3+0.03; TS5:=TS4+0.03; TS6:=TS5+0.03; DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS4),' 3.過頂起柱:過左峰起柱.常見過頂倍量;'),COLORFF00FF ; DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS5),' 4.觸底起柱:觸前期谷底起柱.常見觸底倍量.'),COLORFF00FF ; DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS6),'<二>.量柱的集合定性--組合量柱:'),COLORFF00FF ; TS7:=TS6+0.03; TS8:=TS7+0.03; TS9:=TS8+0.03; DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS7),' 1.低量柱+倍量柱:后市必大漲!'),COLORFF00FF ; DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS8),' 2.倍量柱+倍量柱:主莊控盤良好,急于拉升!'),COLORFF00FF ; DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS9),' 3.縮倍柱+倍量柱:機(jī)會(huì)就在眼前!'),COLORFF00FF ; {============================} BBB:=CONST(HHV(H,190)); TT1:=0+0.03; TT2:=TT1+0.03; TT3:=TT2+0.03; DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT1),'<三>.量柱的三日定性--時(shí)間轉(zhuǎn)化原則:'),COLORFF00FF ; DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT2),' 1.后三日價(jià)升量縮:轉(zhuǎn)化為黃金柱;'),COLORFF00FF ; DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT3),' 2.后三日量柱先陰后陽:該量柱官升一級(jí);'),COLORFF00FF ; TT4:=TT3+0.03; TT5:=TT4+0.03; DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT4),' 3.后三日量柱陰陽相間:量柱退化,走勢(shì)面臨調(diào)整;'),COLORFF00FF ; DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT5),' 4.后三日量柱實(shí)體逐步縮小:力量將衰退,面臨調(diào)整.'),COLORFF00FF ; {底部趨勢(shì)拐點(diǎn)} VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); VOLUME:=VOL; AAG:=VOL>=REF(V,1)*1.91 AND C>REF(C,1); AA1G:=VOL<REF(LLV(VOL,21),1); AA2G:=VOL<REF(LLV(VOL,55),1); AA3G:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05; MAVOL5:=MA(VOLUME,5); MAVOL35:=MA(VOLUME,35); MAVOL135:=MA(VOLUME,135); VOLUME5:=MA(VOLUME,5); VOLUME35:=MA(VOLUME,35); VOLUME135:=MA(VOLUME,135); 買入:=CROSS(VOLUME5,VOLUME135); DRAWICON(買入,L,9); 買入1:=CROSS(VOLUME35,VOLUME135); DRAWICON(買入1,L,5); 買入2:=CROSS(VOLUME5,VOLUME35); DRAWICON(買入2,L,1); {非常棒} EMA13:=EMA(C,13),COLORWHITE; EMA21:=EMA(C,21),COLORYELLOW; EMA34:=EMA(C,34),COLORFF00FF; EMA60:=MA(C,60),COLORFFCC66; VAR2:=(2*CLOSE+HIGH+LOW)/4; VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); 散戶:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3; 莊家:=EMA(0.667*REF(散戶,1)+0.333*散戶,2)*VAR3; DRAWTEXT(CROSS(散戶,莊家) AND 散戶<30,L-0.05,'←低吸'),COLORLIRED; DRAWTEXT(CROSS(莊家,散戶) AND 散戶>70,H+0.05,'←高拋'),COLORGREEN; DRAWICON(CROSS(散戶,莊家) AND 散戶<30,L-0.05,1); DRAWICON(CROSS(莊家,散戶) AND 散戶>70,H+0.05,2); VAR9:=CLOSE-REF(CLOSE,5); VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5); VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20); 賣出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100); DRAWICON(賣出<0,H+0.05,2); 買線:=EMA(CLOSE,2); 賣線:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42); B1:IF(CROSS(買線,賣線),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA; S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3; S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN; A0:=(L+H+C*2)/4; A1B:EMA(A0,14),COLORBLUE,LINETHICK2; A2B:=EMA(A0,25),COLORLIBLUE,LINETHICK2; A1X:=(A1B-REF(A1B,1))/REF(A1B,1)*100,NODRAW; A2X:=(A2B-REF(A2B,1))/REF(A2B,1)*100,NODRAW; 看多:IF(A1X>=0 AND BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL),COLORMAGENTA{,LINETHICK2}; 逃頂:IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL),COLORCYAN,{LINETHICK2}; 買入持股:IF(A1X>=0,A1B,DRAWNULL)COLORRED,LINETHICK3; 賣出空倉(cāng):IF(A1X<0 AND A2X<0,A1B,DRAWNULL)COLORGREEN,LINETHICK3; {STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF; STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC; STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF; STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;}; 付圖1
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK; 倍量:VOL>=REF(V,1)*1.90 AND C>REF(C,1),NODRAW,COLORYELLOW; 低量:VOL<REF(LLV(VOL,13),1),NODRAW,COLORGREEN; 地量:VOL<REF(LLV(VOL,100),1),NODRAW,COLORMAGENTA; 平量:ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5)<=0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.03,NODRAW,COLORWHITE; 倍縮:VOL<=REF(V,1)*0.5,NODRAW,COLORRED; STICKLINE(倍量,0,V,1,0),COLORYELLOW; STICKLINE(低量,0,V,1,0),COLORGREEN; STICKLINE(地量,0,V,1,0),COLORMAGENTA; STICKLINE(平量,0,V,1,0),COLORWHITE; STICKLINE(倍縮,0,V,1,0),COLORRED; MV1: (MA(VOL,3)+MA(VOL,5)+MA(VOL,8)+MA(VOL,13))/4,COLORMAGENTA; 頂線:MV1*1.382,COLORWHITE; 底線:MV1*0.618,COLORWHITE; 黃金柱: DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) AND REF(C,3)>REF(O,3) AND REF(V,3)>2*REF(V,4),0,1); 附圖2
CV:=CLOSE;
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4; UPR:=BBIBOLL+6*STD(BBIBOLL,11); DWN:=BBIBOLL-6*STD(BBIBOLL,11); QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2))); HSL:=(XVL/20)/1.15; 攻擊:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)); LLJX:=EMA(攻擊,3);0,POINTDOT,COLORWHITE; B1:SUM(LLJX,1),COLORCYAN; B2:SUM(LLJX,2),COLORCYAN; B3:SUM(LLJX,3),COLORCYAN; B4:SUM(LLJX,4),COLORCYAN; B5:SUM(LLJX,5),COLORCYAN; B6:SUM(LLJX,6),COLORCYAN; B7:SUM(LLJX,7),COLORCYAN; B8:SUM(LLJX,8),COLORCYAN; B9:SUM(LLJX,9),COLORCYAN; B10:SUM(LLJX,10),COLORCYAN; A1:IF(B1>REF(B1,1),B1,DRAWNULL),COLORRED; A2:IF(B2>REF(B2,1),B2,DRAWNULL),COLORRED; A3:IF(B3>REF(B3,1),B3,DRAWNULL),COLORRED; A4:IF(B4>REF(B4,1),B4,DRAWNULL),COLORRED; A5:IF(B5>REF(B5,1),B5,DRAWNULL),COLORRED; A6:IF(B6>REF(B6,1),B6,DRAWNULL),COLORRED; A7:IF(B7>REF(B7,1),B7,DRAWNULL),COLORRED; A8:IF(B8>REF(B8,1),B8,DRAWNULL),COLORRED; A9:IF(B9>REF(B9,1),B9,DRAWNULL),COLORRED; A10:IF(B10>REF(B10,1),B10,DRAWNULL),COLORRED; XG:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9; DRAWICON(XG,-100,1); 本文來源于好股票軟件下載網(wǎng) http://www. |
|