{副圖指標(biāo)源碼} 震幅:(H-L)/REF(C,1)*100,NODRAW,COLORRED; 中盤股:FINANCE(7)<800000000 AND FINANCE(7)>=400000000,COLORGREEN,NODRAW; 小盤股:FINANCE(7)<400000000,COLORWHITE,NODRAW; 盤小績(jī)優(yōu):FINANCE(7)<1000000000 AND DYNAINFO(39)>0 AND DYNAINFO(39)<=28,COLOR9933FF,NODRAW; 換手率:V/CAPITAL*100 NODRAW; RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12)); K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; GSKZ0:=(((((2 * OPEN) + HIGH) + LOW) + (3 * CLOSE)) / 7); GSKZ1:=(CAPITAL * GSKZ0); GSKZ2:=(SMA(AMOUNT,10,1) / 1000); GSKZ3:=MA((CLOSE * 3),5); GSKZ4:=GSKZ2*C*3/GSKZ3*1/10; GSKZ5:=GSKZ2*O*3/GSKZ3*1/10; GSKZ6:=GSKZ2*H*3/GSKZ3*1/10; GSKZ7:=GSKZ2*L*3/GSKZ3*1/10; GSKZ8:=(2*GSKZ5+GSKZ6+GSKZ7+3*GSKZ4)/7; GSKZ9:=EMA(DMA(EMA(GSKZ4,2),(SUM(VOL,1) * GSKZ8)),2); GSKZA:=EMA((GSKZ1 - GSKZ9),1); GSK1:=IF((GSKZA > REF(GSKZA,1)),((GSKZA-REF(GSKZA,1))/100),0);{*15/1000} GSK2:=IF((GSKZA < REF(GSKZA,1)),((GSKZA-REF(GSKZA,1))/100),0); GSK3:=SUM(GSK1,15); GSK4:=EMA(GSK3,10); GSK5:=REF(GSK4,1); GSK6:=EMA(CLOSE,13); GSK7:=(GSK6 < REF(GSK6,1)); GSK8:=(GSK7 AND (GSK4 > GSK5)); GSK9:=(SUM(GSK2,21) * (0 - 1)); GSKA:=EMA(EMA(GSK9,5),8); GSKB:=REF(GSKA,1); GSKC:=EMA(CLOSE,3); GSKD:=(GSKC > REF(GSKC,1)); GSKE:=(GSKC < REF(GSKC,1)); GSKF:=((GSK4 > GSK5) AND GSKD); GSKG:=((GSK4 > GSK5) AND GSKE); GSKH:=((GSK6 > REF(GSK6,1)) AND (GSKA > GSKB)); GSKN:=IF(GSK8,GSKZ0,0); GSKK:=IF(GSKH,((GSKZ0 + HIGH) / 2),0); 買線:GSK5/10000,,COLORDB70DB; 進(jìn)價(jià):=GSKN,POINTDOT,COLORFE10D2; 賣線:GSKB/10000,,COLORLIGREEN; 出價(jià):=GSKK,POINTDOT,COLORGREEN; 偏離:100*ABS(買線-賣線)/買線,NODRAW; STICKLINE(偏離<45 AND 買線>賣線,買線,賣線,0.21,0),,COLORRED; STICKLINE(偏離<25 AND 買線<賣線,買線,賣線,0.21,0),,COLORYELLOW; 拉抬:STICKLINE(GSKF AND 買線>賣線,GSK5/10000,(GSK4 * 1.1/10000),1,1),,COLOR1010F0; 變盤:STICKLINE(GSKG AND 買線>賣線,GSK5/10000,(GSK4 * 1.1/10000),1,0),,COLORB4B410; 出貨:STICKLINE(GSKH ,GSKB/10000,(GSKA * 1.2/10000),1,1),,COLORGREEN; 吸籌:STICKLINE(GSK8 AND 買線>賣線,GSK5/10000,(GSK4 * 1.3/10000),1,0),,COLORFE10D2; 莊家克星:=VOL*(C+L+H)/3; 十字死光:=SUM(莊家克星,8)/SUM(VOL,8); NOTEXT1:IF(C>=十字死光 AND 買線>賣線,GSK5/10000,DRAWNULL),LINETHICK3,COLORYELLOW; 莊家指標(biāo)公式:=CROSS(C,十字死光); DRAWICON(莊家指標(biāo)公式 AND 買線>賣線,GSK5/10000,23); VAR118:=EMA(EMA(CLOSE,13),13); 控盤:=(VAR118-REF(VAR118,1))/REF(VAR118,1)*1000; 財(cái):=(EMA(CLOSE,8)-EMA(CLOSE,55))*10; 神:=EMA(財(cái),3); JJ:=DYNAINFO(11); BTJ11:=(C-JJ)/JJ<=-0.03; BTJ2:=控盤>REF(控盤,1) AND 控盤<-0.2; BTJ3:=CROSS(財(cái),神) AND 財(cái)<-0.3; 莊:= BTJ11 AND BTJ2 AND BTJ3; {強(qiáng)莊} AAA:=(3*C+H+L+O)/6; 短線:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36; 中線:=(LLV(短線,2)+LLV(短線,4)+LLV(短線,6))/3; GSKZB:=EMA(GSKZ1-GSKZ9,1); GSKZC:=REF(GSKZB,1); GSKZE:=(GSKZB-GSKZC)*15; GSKZG:=(GSKZC-GSKZB)*(-1); GSKZH:=IF(GSKZB>GSKZC,GSKZE/1000,0); 強(qiáng)莊控盤:=(買線>賣線 OR 買線>=REF(買線,1)) AND ((短線>中線 AND REF(短線,1)=REF(中線,1) AND GSKZH>0 AND CLOSE>OPEN) AND (FILTER(莊,55) OR FILTER(莊,13))); DRAWTEXT(強(qiáng)莊控盤,GSK5/10000,'強(qiáng)莊控盤'),COLORWHITE; DRAWICON(強(qiáng)莊控盤 ,GSK5/10000,24); {突破} WR1:=(HHV(HIGH,10)-LLV(LOW,10))/LLV(LOW,10); WR2:=REF(WR1,1)<=0.3; WR3:=BARSCOUNT(C)>10; WR4:=C>=HHV(HIGH,10); 突破:=FILTER(WR2 AND WR3 AND WR4,4); DRAWTEXT(突破 AND GSK4*1.1>買線 AND GSK4*1.1>賣線 AND 偏離<70,GSK4*1.1/10000,'突破'),COLORGREEN; DRAWTEXT(突破 AND GSK4*1.1>買線 AND GSK4*1.1>賣線 AND 偏離<25,5+GSK4*1/10000,'必買'),COLORYELLOW; {1指.能量線} 能量線:=EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),LINETHICK0; {2指.RSI} RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,LINETHICK0; {3指.KDJ} RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK0; K1:=SMA(RSV1,3,1); D1:=SMA(K1,3,1); J1:=3*K1-2*D1,LINETHICK0; {4指.W&R} 威廉WR:=(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100,LINETHICK0; {5指.CCI} TYP := (HIGH + LOW + CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0; 五指A:=WMA((能量線+RSI+J-威廉WR+CCI)/5,5); 五指B:=WMA((能量線+RSI+J-威廉WR+CCI)/5,13); IF(五指A>REF(五指A,1) AND 買線>REF(買線,1),買線,DRAWNULL),COLOR0000FF,LINETHICK2; PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); 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)); GJJ:=EMA(攻擊流量,8); LLJX:=EMA(攻擊流量,3); 資金流量:=LLJX,LINETHICK0,COLOR0000FF; A10:=資金流量>0; IF((五指A>REF(五指A,1) AND 買線>REF(買線,1) AND 資金流量>=0) AND 買線>賣線,賣線,DRAWNULL),COLOR0000FF,LINETHICK2; 周K:=MA("KDJ.K#WEEK"(9,3,3) ,5); DIF60:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2); DEA60:=EMA(DIF60,9/2); DRAWICON((五指A>REF(五指A,1) AND 買線>REF(買線,1) AND 周K>=REF(周K,1) AND DIF60>=DEA60 AND 資金流量>=0)AND 偏離<45 ,賣線,25); DRAWICON((買線>REF(買線,1) AND 周K>=REF(周K,1) AND DIF60>=DEA60 AND C>=十字死光)AND 偏離<45,賣線,25); A2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; A3:=SMA(A2, 9, 1); A8:=HHVBARS(HIGH, 50); 跨越:=EMA(A3, 3),COLORRED; VARK12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; 機(jī)構(gòu)做空能量線:=SMA(VARK12,3,1),COLORGREEN,LINETHICK2; DRAWTEXT(CROSS(跨越,機(jī)構(gòu)做空能量線) AND (買線>賣線 OR (五指A>REF(五指A,1) AND 買線>REF(買線,1)))AND 偏離<80,賣線*1.25,'強(qiáng)勢(shì)區(qū)域'),COLORRED,LINETHICK1; 公:DRAWNULL,COLORCCCCCC;眾:DRAWNULL,COLORCCCCCC;號(hào):DRAWNULL,COLORCCCCCC;股市客棧:DRAWNULL,COLORCCCCCC; |
|