神獒系列指標(biāo): 1.神獒霸氣 {45度異動(dòng)} x1:=(C+L+H)/3; bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10; ema8:=ema(c,8); DRAWTEXT(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10), ema8,'∠45上升'),coloryellow; ah:hhvall(h); al:llvall(l); ahl:=ah-al; a23:al+ahl*0.236,COLORYELLOW,POINTDOT; a38:al+ahl*0.382,COLOREE00EE,POINTDOT; a50:al+ahl*0.50,COLORYELLOW,POINTDOT; a61:al+ahl*0.618,COLOREE00EE,POINTDOT; a76:al+ahl*0.764,COLORYELLOW,POINTDOT; {標(biāo)注數(shù)字}y:=999; DRAWTEXTREL(500,0,'100% '+ah),COLOREE00EE; DRAWTEXTREL(500,y*0.236,'76.4% '+a76),COLORYELLOW; DRAWTEXTREL(500,y*0.382,'61.8% '+a61),COLOREE00EE; DRAWTEXTREL(500,y*0.50,'50% '+a50),COLORYELLOW; DRAWTEXTREL(500,y*0.618,'38.2% '+a38),COLOREE00EE; DRAWTEXTREL(500,y*0.764,'23.6% '+a23),COLORYELLOW; DRAWTEXTREL(500,y-30,'最低 '+al),COLOREE00EE; DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0)); varl13:=("macd.diff#WEEK"(26,12,9)); varl14:=("macd.dea#WEEK"(26,12,9)); VL:=REF(LOW,1); VH:=REF(H,1); Var1:=SMA(ABS(H-Vh),13,1)/SMA(MAX(H-Vh,0),13,1)*100; Var2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100; Var3:=MA(Var1,13); Var4:=MA(Var2,13); Var5:=LLV(L,34); Var6:=HHV(H,34); Var7:=EMA(IF(H>=Var6,Var3,0),3); Var8:=EMA(IF(L<=Var5,Var4,0),3); var9:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1)); var10:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (var9* 10.9); Var11:=FILTER(IF(var10<=var9 AND Var8>REF(Var8,1),Var8*8,0),55); Var21:=LLV(LOW,60); Var31:=HHV(HIGH,60); Var41:=EMA((CLOSE-Var21)/(Var31-Var21)*100,13); Var51:=EMA(0.667*REF(Var41,1)+0.333*Var41,21); varl2:=FILTER(CROSS(Var51,Var41) AND Var41>84,13); 持股線:MA(C,26),LINETHICK3,coloryellow; 趨勢線:MA(CLOSE,13),linethick5,colorred; qjj:FILTER((CROSS(varl13,varl14) and varl14<0 and CROSS(c,持股線)),90),LINETHICK0; DRAWTEXTREL(10,900,'㊣十二星座*神獒贏富㊣'),linethick1,COLOR00EEff; DD:=FINANCE2(35); SS:=FINANCE2(37); GG:=FINANCE2(3); TH:=DYNAINFO(39); DRAWTEXTREL(10,720,'總股本:'+NUMTOSTRn(DD,0)+'萬股' +' 流通A股:'+NUMTOSTRn(SS,0)+'萬股'+'市盈率:'+NUMTOSTRn(TH,2)+' 倍'+' 每股收益:'+NUMTOSTRn(GG,3)+' 元'),ColorFFFF00; DRAWTEXT(var11,C*0.98,'㊣'),linethick4,ColorFFFF00; DRAWICON(qjj,C*1.09,1); DRAWTEXT(qjj,l*0.78,'霸占大牛股'),COLOR00FFFF; DRAWTEXT(varl2,C*1.04,'逃跑'),Colorgreen; 獲利比例:=(WINNER(C)*1000)/10; 平均成本:=(COST(50)*100)/100; 穿透力:=(winner(C)-winner(ref(C,1)))/v*capital; 90%成本:=FLOOR(COST(50-90/2)*100)/100; ~:=CEILING(COST(50+90/2)*100)/100; 90集中度:=INTPART((~-90%成本)/(~+90%成本)*1000)/10; 70%成本:=FLOOR(COST(50-70/2)*100)/100; ~~:=CEILING(COST(50+70/2)*100)/100; 70集中度:=INTPART((~~-70%成本)/(~~+70%成本)*1000)/10; DRAWTEXTABS(0,12,' 獲利比例:'+STR(獲利比例)),COLOR44bbff; DRAWTEXTABS(0,24,' 平均成本:'+STR(平均成本)),COLOR44bbff; DRAWTEXTABS(0,36,' 穿透力:'+STR(穿透力)),COLOR44bbff; DRAWTEXTABS(0,48,'90%成本:'+STR(90%成本)+'-'+STR(~)),COLOR44bbff; DRAWTEXTABS(0,60,'90集中度:'+STR(90集中度)),COLOR44bbff; DRAWTEXTABS(0,72,'70%成本:'+STR(70%成本)+'-'+STR(~~)),COLOR44bbff; DRAWTEXTABS(0,84,'70集中度:'+STR(70集中度)),COLOR44bbff; gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); 明日阻力:=l+(gj-l)+(c-l); 明日支撐:=l+(c-gj); 今日阻力:=REF(明日阻力 , 1); 今日支撐:=REF(明日支撐 , 1); STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,20,0),Color0000FF; STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,20,0),Color00FF00; STICKLINE(DISPSTATUS=2 and c>=今日支撐,今日支撐,今日支撐,20,0),ColorFF00FF; STICKLINE(DISPSTATUS=2 and c<今日支撐,今日支撐,今日支撐,20,0),ColorFF9900; DRAWTEXTREL(770,5,'今日支撐:'+NUMTOSTRN(今日支撐 ,2 )),Colorred; DRAWTEXTREL(630,5,'今日阻力:'+NUMTOSTRN(今日阻力 ,2 )),ColorGREEN; DRAWTEXTREL(1,800,'所屬板塊:'+BKNAME),ColorAFFF00; DRAWTEXTREL(1,850,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市凈率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 凈資產(chǎn):'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF; 2.神獒波段: input:N(5,1,111),N1(10,1,111),P(3,0.1,30),M(21,0,100); DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0)); a1:=(IF((DATE <= 1091025),1,0)) * (IF((CURRENTDATE <= 1091025),1,0)); DRAWGBK((CLOSE > 0),'5'); a2:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4)); a3:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2; a4:=EMA((MA(a2,5)),10); a5:=EMA((MA(a2,15)),10); a6:=EMA((MA(a2,13)),21); a7:=((a4 + a5) + a6) / 3; a8:=(((REF(a7,1)) + a7) + (REF(a7,2))) / 3; 決策線:EMA((MA(CLOSE,5)),3),colorGreen; PARTLINE(決策線,決策線 > (REF(決策線,3)),RGB(255,0,0)),linethick1,colorRed; UPR:決策線 + (3 * (STD(決策線,10))),Color808000; DWN:決策線 - (3 * (STD(決策線,10))),ColorA10000; 多空價(jià):a8 * a1,linethick2,Color008E00; 半年線:MA(CLOSE,120),POINTDOT,linethick4,colorGray; 年線:MA(CLOSE,250),CROSSDOT,Color717143; STICKLINE((CLOSE > OPEN),HIGH,LOW,0.0001,1),colorRed; STICKLINE((CLOSE > OPEN),OPEN,CLOSE,8,1),Color5050FF; STICKLINE((CLOSE < OPEN),OPEN,CLOSE,8,0),ColorFFFF85; STICKLINE((CLOSE < OPEN),HIGH,LOW,0.0001,0),colorCyan; a9:=((EMA((MA(a2,3)),3)) + (WMA(a2,5))) / 2; a10:=REF(a9,1); a11:=BARSCOUNT(CLOSE); a12:=IF((a11 = 1),0,(((a9 - a10) / a10) * 100)); a13:=REF(CLOSE,1); a14:=IF((a11 = 1),0,(((CLOSE - a13) / a13) * 100)); a15:=IF((a11 = 1),((CLOSE + OPEN) / 2),a10); a16:=REF(a9,2); a17:=((a9 + a10) + a16) / 3; a18:=((ABS((a9 - a17)) + ABS((a10 - a17))) + ABS((a16 - a17))) / 3; a19:=IF((a11 < 3),0,((a18 / a9) * 100)); a20:=IF((((a12 > 0.5) AND ((a19 > 0.215) OR (LOW > a15))) AND (CLOSE >= OPEN)),1,0); a21:=IF((((a12 < (0 - 0.3)) AND ((a19 > 0.2) OR (HIGH < a15))) AND ((OPEN >= CLOSE) OR (a14 < -1))),1,0); B:((COUNT(a20,BARSLAST(a21))) = 1) AND a20,linethick0; D:((COUNT(a21,BARSLAST(a20))) = 1) AND a21,linethick0; a22:=BARSLAST(B); a23:=((SUM(D,a22)) = 0) * a22; a24:=a23 > 0; a25:=a23 = 0; STICKLINE(a24,CLOSE,OPEN,8,0),colorMagenta; STICKLINE(a24,CLOSE,OPEN,7,0),ColorFF28FF; STICKLINE(a24,CLOSE,OPEN,6,0),ColorFF3DFF; STICKLINE(a24,CLOSE,OPEN,5,0),ColorFF51FF; STICKLINE(a24,CLOSE,OPEN,4,0),ColorFF65FF; STICKLINE(a24,CLOSE,OPEN,3,0),ColorFF7AFF; STICKLINE(a24,CLOSE,OPEN,2,0),ColorFF8EFF; STICKLINE(a24,CLOSE,OPEN,1,0),ColorFFA2FF; STICKLINE(a25,CLOSE,OPEN,8,0),ColorFFFD02; STICKLINE(a25,CLOSE,OPEN,7,0),ColorF8FF24; STICKLINE(a25,CLOSE,OPEN,6,0),ColorFDFF4A; STICKLINE(a25,CLOSE,OPEN,5,0),ColorFCFF69; STICKLINE(a25,CLOSE,OPEN,4,0),ColorFDFD97; STICKLINE(a25,CLOSE,OPEN,3,0),ColorFFFFA2; STICKLINE(a25,CLOSE,OPEN,2,0),ColorFFFFB6; STICKLINE(a25,CLOSE,OPEN,1,0),ColorFFFFCC; STICKLINE(B,CLOSE,OPEN,8,0),colorYellow; STICKLINE(D,CLOSE,OPEN,8,0),Color00BE00; DRAWTEXT(B,(LOW * 0.98),'㊣'),linethick2,ALIGN1,colorWhite; DRAWTEXT(D,(HIGH * 1.035),'S'),linethick2,ALIGN1,colorGreen; PARTLINE(決策線,決策線 > (REF(決策線,3)),RGB(255,0,0)),linethick1,colorRed; a26:=(((CLOSE / a13) - 1) * 100) >= (7 * a1); a27:=HIGH - ((HIGH - LOW) / 3); a28:=LOW + ((HIGH - LOW) / 3); PARTLINE(多空價(jià),多空價(jià) > (REF(多空價(jià),3)),RGB(255,0,0)),linethick2,colorRed; DRAWTEXTREL(10,800,'㊣十二星座*神獒贏富㊣'),linethick1,COLOR00EEff; DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0)); BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; 3.神獒底部: {參數(shù)名 缺省 最小 最大 N 21 0 100 N1 34 0 100 } input:n(21),n1(34); 主籌估算:EMA(WINNER(CLOSE)*70,3),STICK,LINETHICK3,COLORRED; 散籌估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*70,3),LINETHICK2,color009900; 籌碼鎖定:散籌估算-主籌估算, COLORFFBB00; 總股本:=FINANCE2( 35); 動(dòng)態(tài)底部:EMA(IF(LOW<= LLV(LOW,99),SMA(ABS(LOW-REF(LOW,1)),99,1)/SMA(MAX(LOW-REF(LOW,1),0),99,1),0)*5,3),COLOR62B3FF; FILLRGN(籌碼鎖定,散籌估算,籌碼鎖定>0),color009900; FILLRGN(籌碼鎖定,散籌估算,籌碼鎖定<=0),color009900; FILLRGN(0,籌碼鎖定,籌碼鎖定>0),COLORFFBB00; FILLRGN(0,籌碼鎖定,籌碼鎖定<=0),COLORFFBB00; FILLRGN(0,動(dòng)態(tài)底部,動(dòng)態(tài)底部>0),COLOR62B3FF; 主籌估算,LINETHICK2,COLORRED; VAR1:=HHV(HIGH,9)-LLV(LOW,9); VAR2:=HHV(HIGH,9)-CLOSE; VAR3:=CLOSE-LLV(LOW,9); VAR4:=VAR2/VAR1*100-70; VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=SMA(VAR3/VAR1*100,3,1); VAR8:=LLV(LOW,34); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VARA:=IF(VAR9>100,VAR9-100,0); VARB:=HHV(HIGH,34); AA:= VARA*2; BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13); VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2); CC:= SMA(VAR5,20,1); VARD:=SMA(AA,2,1)-AA; VARE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB; VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; VAR2A:=SMA(VAR1A,9,1)+100; VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR4A:=SMA(VAR3A,3,1); VAR5A:=SMA(VAR4A,3,1)+100; VAR6A:=VAR5A-VAR2A; 低抄:=IF(VAR6A>N,VAR6A-N,0); 端莊窩:=IF(VAR6A>N1,VAR6A-N1,0); 抄底:IF(CROSS(低抄,0.01),8,0),STICK,COLOR0000CC,LINETHICK2; 起步:CROSS(主籌估算,籌碼鎖定),COLORWHITE; 跑步:CROSS(主籌估算,散籌估算),COLORYELLOW; 鎖定拉升:CROSS(0,籌碼鎖定),COLORCYAN; DRAWICON(鎖定拉升>0,0,7),LAYER0,ALIGN1; STICKLINE(起步,0,籌碼鎖定,4,0),COLORWHITE; STICKLINE(跑步,0,散籌估算,4,0),COLORYELLOW; 主力籌碼:=EMA(WINNER(CLOSE)*70,10); 散戶籌碼:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10); 開始高控:CROSS(主力籌碼,散戶籌碼),COLORMAGENTA; STICKLINE(開始高控,0,主力籌碼,4,0),COLORMAGENTA; CD1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))-0.7; CD2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)); CD3:=SMA(SMA(CD2,3,1),3,1); CD4:=(CD3-SMA(CD1,9,1))-0.5; CD5:=IF(CD4>0.00,CD4,0.00); CD6:=REF(CD5,1); VAR81:=MA(CLOSE,9); 空頭:=IF(CD6-CD5,CD6,CD5); 減倉空倉:IF(CROSS(CD6,CD5),18,0),STICK ,COLORGREEN; DRAWICON(減倉空倉>0,18,8),LAYER0,ALIGN1; DRAWFLAGTEXT(抄底,C,'關(guān)注[抄底]信號(hào),底部已確認(rèn),趕快抄底,做波小行情!'),COLORYELLOW; DRAWFLAGTEXT(減倉空倉,C,'形態(tài)變壞,股價(jià)要回調(diào)了,重倉者建議減倉或空倉!'),COLORGREEN; DRAWFLAGTEXT(1,C,'============================================='),Color326C2C; DRAWFLAGTEXT(1=1,C,'★☆使用者,請(qǐng)注意:本指標(biāo)的買賣提示和解盤建議,只作參考,據(jù)此入市,風(fēng)險(xiǎn)自負(fù)!'),COLOR4682B4; DRAWFLAGTEXT(1,C,'============================================='),Color326C2C; DRAWFLAGTEXT(起步,C,'關(guān)注[起步]信號(hào),該信號(hào)是主力準(zhǔn)備拉升提示,可適量建倉!'),COLORCYAN; DRAWFLAGTEXT(跑步,C,'關(guān)注[跑步]信號(hào),通常是鎖定和加速拉升的提示,可考慮加倉,若遇上主升段要耐心持股!。'),COLORMAGENTA; DRAWFLAGTEXT(開始高控,C,'關(guān)注[開始高控]信號(hào),據(jù)此提示,意味著主力已經(jīng)進(jìn)入高度控盤區(qū)域,若遇上主升行情,要好好把握,預(yù)防主力洗盤、震倉出局!'),COLORRED; 4.神獒密鑰: DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0)); A1:=(25); A2:=(26); A3:=(3 * (SMA((((CLOSE - (LLV(LOW,A1))) / ((HHV(HIGH,A1)) - (LLV(LOW,A1)))) * 100),5,1))) - (2 * (SMA((SMA((((CLOSE - (LLV(LOW,A2))) / ((HHV(HIGH,A2)) - (LLV(LOW,A2)))) * 100),5,1)),3,1))); A4:=(3 * (SMA((((INDEXC - (LLV(INDEXL,A1))) / ((HHV(INDEXH,A1)) - (LLV(INDEXL,A1)))) * 100),5,1))) - (2 * (SMA((SMA((((INDEXC - (LLV(INDEXL,A2))) / ((HHV(INDEXH,A2)) - (LLV(INDEXL,A2)))) * 100),5,1)),3,1))); 星座趨勢:EMA(A3,5),linethick0; A5:=REF(星座趨勢,1); A6:=EMA(A3,3); 大盤線:EMA(A4,3),colorMagenta; A7:=星座趨勢 > A5; A8:=星座趨勢 < A5; A9:=((CLOSE / (REF(CLOSE,1))) - 1) * 100; A10:=(IF((DATE <= 1091025),1,0)) * (IF((CURRENTDATE <= 1091025),1,0)); A11:=BIGORDER(1,3); A12:=BIGORDER(2,3); A13:=BIGORDER(1,2); A14:=BIGORDER(2,2); A15:=((((A13 - A14) * VOL) / CAPITAL) * 500) * A10; A16:=((((A11 - A12) * VOL) / CAPITAL) * 500) * A10; A17:=IF(((A15 >= 0) AND (A16 >= 0)),(MAX(A15,A16)),(MIN(A15,A16))); A18:=IF((A9 > 0),A9,ABS(A9)); A19:=IF(((A17 > 0) AND (A9 < 0)),A9,A18); A20:=A17 - A19; 爆破:IF((A20 > 0),A20,0),linethick0,colorRed; A21:=((CLOSE - (EMA(CLOSE,25))) / (EMA(CLOSE,25))) * 100; A22:=((CLOSE - CYC(13)) / CYC(13)) * 100; A23:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4)); A24:=((EMA((MA(A23,3)),3)) + (WMA(A23,5))) / 2; A25:=REF(A24,1); A26:=BARSCOUNT(CLOSE); A27:=IF((A26 = 1),0,(((A24 - A25) / A25) * 100)); 神獒密鑰①:(((A20 > 6) AND (A27 < -3.5)) AND (A22 < -18)) AND (A21 > -20),linethick0,ColorFF4398; STICKLINE(神獒密鑰①,10,0,2,0),linethick0,ColorFF4398; DRAWTEXT(神獒密鑰①,A20,'神獒密鑰①成功率93%'),ColorFF4398; 神獒密鑰②:(((A20 >= 5) AND (A27 < -3)) AND (A21 < -22)) AND (A22 < -22),linethick0,ColorFFFF98; STICKLINE(神獒密鑰②,12,0,2,0),linethick0,ColorFFFF98; DRAWTEXT(神獒密鑰②,A20,'神獒密鑰②成功率97%'),ColorFFFF98; 神獒密鑰●:((((A20 >= 8) AND (A27 < -5)) AND (A21 < -13)) AND (A22 < -16)) AND (A15 >= 1),linethick0,Color00FDFF; STICKLINE(神獒密鑰●,14,0,2,0),linethick0,Color00FDFF; DRAWTEXT(神獒密鑰●,A20,'神獒密鑰●成功率99%'),Color00FDFF; 神獒密鑰④:((((A20 >= 4) AND (A27 < -4)) AND (A21 < -10)) AND (A22 < -12)) AND (A15 >= 0.5),linethick0,ColorFFF6FF; STICKLINE(神獒密鑰④,14,0,2,0),linethick0,ColorFFF6FF; DRAWTEXT(神獒密鑰④,A20,'神獒密鑰④成功率90%'),ColorFFF6FF; 神獒密鑰⑤:((((A20 >= 4) AND (A27 < -3)) AND (A21 < -10)) AND (A22 < -13)) AND (A15 >= 0.5),linethick0,ColorFFF6FF; STICKLINE(神獒密鑰⑤,14,0,2,0),linethick0,ColorFFF6FF; DRAWTEXT(神獒密鑰⑤,A20,'神獒密鑰⑤成功率90%'),ColorFFF6FF; 二級(jí):((((A20 >= 4) AND (A15 > 0.2)) AND (A27 < -4)) AND (A22 < -14)) AND (A21 > -10),linethick0,colorGreen; 三級(jí):((((A20 >= 6) AND (A27 < -2.5)) AND (A22 < -18)) AND (A21 < -14)) AND (A15 > 0.2),linethick0,colorMagenta; 四級(jí):((A20 >= 8) AND (A27 < -5)) AND (A22 < -18),linethick0,colorRed; 五級(jí):((A20 >= 10) AND ((A15 > 1) OR (A16 > 2.5))) AND (A15 > 0.2),linethick0,ColorFF0000; DRAWTEXTREL(0,0,' 密鑰爆破級(jí)數(shù)越高意味著成功率越高。'),linethick1,colorRed; STICKLINE(二級(jí),14,0,2,0),colorGreen; STICKLINE(三級(jí),13,0,4,0),colorMagenta; STICKLINE(四級(jí),12,0,6,0),colorRed; STICKLINE(((A20 >= 10) AND ((A15 > 1) OR (A16 > 2.5))),10,0,8,0),ColorFF0000; STICKLINE(((A20 > 5) AND (A15 > 1)),(A20 * 2),0,0.5,0),colorYellow; STICKLINE(A8,星座趨勢,A5,6,0),Color3DFF3D; STICKLINE(A8,星座趨勢,A5,5,0),Color51FF51; STICKLINE(A8,星座趨勢,A5,4,0),Color65FF65; STICKLINE(A8,星座趨勢,A5,3,0),Color7AFF7A; STICKLINE(A8,星座趨勢,A5,2,0),Color8EFF8E; STICKLINE(A8,星座趨勢,A5,1,0),ColorA2FFA2; STICKLINE(A7,星座趨勢,A5,6,0),Color2828FF; STICKLINE(A7,星座趨勢,A5,5,0),Color3D3DFF; STICKLINE(A7,星座趨勢,A5,4,0),Color5151FF; STICKLINE(A7,星座趨勢,A5,3,0),Color6565FF; STICKLINE(A7,星座趨勢,A5,2,0),Color7A7AFF; STICKLINE(A7,星座趨勢,A5,1,0),Color8E8EFF; IF((((CROSS(A5,星座趨勢)) AND (星座趨勢 > 85)) AND (((((A13 - A14) * VOL) / CAPITAL) * 500) < -0.65)),70,90); IF((((CROSS(星座趨勢,A5)) AND (星座趨勢 < 15)) AND (((((A13 - A14) * VOL) / CAPITAL) * 500) > 0.3)),20,10); DRAWTEXTREL(10,900,'㊣十二星座*神獒贏富㊣'),linethick1,COLOR00EEff; 5.神獒趨勢: DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0)); a1:=((INDEXC - (REF(INDEXC,1))) / (REF(INDEXC,1))) * 100; a2:=((CLOSE - (REF(CLOSE,1))) / (REF(CLOSE,1))) * 100; a3:=(EMA((a2 - a1),20)) * 1000; a4:=REF(a3,1); a5:=(a3); STICKLINE((a3 > 0),a4,a3,8,0),colorRed; STICKLINE((a3 < 0),a4,a3,8,0),colorGreen; a6:=(a3 > a4) AND (a3 < 0); STICKLINE((a3 < 0),a4,a5,8,0),colorGreen; STICKLINE((a3 < 0),a4,a5,7,0),Color28FF28; STICKLINE((a3 < 0),a4,a5,6,0),Color3DFF3D; STICKLINE((a3 < 0),a4,a5,5,0),Color51FF51; STICKLINE((a3 < 0),a4,a5,4,0),Color65FF65; STICKLINE((a3 < 0),a4,a5,3,0),Color7AFF7A; STICKLINE((a3 < 0),a4,a5,2,0),Color8EFF8E; STICKLINE((a3 < 0),a4,a5,1,0),ColorA2FFA2; STICKLINE((a3 > 0),a4,a5,8,0),colorRed; STICKLINE((a3 > 0),a4,a5,7,0),Color1414FF; STICKLINE((a3 > 0),a4,a5,6,0),Color2828FF; STICKLINE((a3 > 0),a4,a5,5,0),Color3D3DFF; STICKLINE((a3 > 0),a4,a5,4,0),Color5151FF; STICKLINE((a3 > 0),a4,a5,3,0),Color6565FF; STICKLINE((a3 > 0),a4,a5,2,0),Color7A7AFF; STICKLINE((a3 > 0),a4,a5,1,0),Color8E8EFF; 資金趨勢:MA(a3,8); 0,ColorFF0000; DRAWTEXTREL(10,800,'㊣十二星座*神獒贏富㊣'),linethick1,COLOR00EEff; 6.神獒密鑰2 DRAWTEXTREL(50,10,' 代碼: '+STKLABEL+' '+STKNAME+' 日期: '+YEAR+'年'+MONTH+'月 '+DAY+'日 '),linethick2,ColorFFFF80; DRAWTEXTREL(650,10,'㊣十二星座*神獒贏富㊣'),linethick1,COLOR00EEff; a1:=SUM((ORDERVOL(1,3)),0); a2:=SUM((ORDERVOL(2,3)),0); a3:=(SUM((ORDERVOL(1,2)),0)) - a1; a4:=(SUM((ORDERVOL(2,2)),0)) - a2; a5:=(SUM((ORDERVOL(1,1)),0)) - (SUM((ORDERVOL(1,2)),0)); a6:=(SUM((ORDERVOL(2,1)),0)) - (SUM((ORDERVOL(2,2)),0)); a7:=(SUM((ORDERVOL(1,0)),0)) - (SUM((ORDERVOL(1,1)),0)); a8:=(SUM((ORDERVOL(2,0)),0)) - (SUM((ORDERVOL(2,1)),0)); a9:=(SUM((ORDERVOL(1,0)),0)) + (SUM((ORDERVOL(2,0)),0)); a10:=a7 - a8;{股票公式www.88gs.com} a11:=a5 - a6; a12:=a3 - a4; a13:=a1 - a2; a14:=(SUM((ORDERVOL(1,2)),0)) - (SUM((ORDERVOL(2,2)),0)); a15:=(100 * a7) / a9; a16:=(100 * a8) / a9; a17:=(100 * a5) / a9; a18:=(100 * a6) / a9; a19:=(100 * a3) / a9; a20:=(100 * a4) / a9; a21:=(100 * a1) / a9; 中戶籌碼:A11,linethick1,colorGreen; 大戶籌碼:A12,linethick1,colorYellow; 機(jī)構(gòu)籌碼:A13,linethick1,ColorFF0000; 主力籌碼:A14,linethick2,colorRed; a22:=(100 * a2) / a9; a23:=(100 * (SUM((ORDERVOL(1,2)),0))) / a9; a24:=(100 * (SUM((ORDERVOL(2,2)),0))) / a9; a25:=(100 * a10) / a9; a26:=(100 * a11) / a9; a27:=(100 * a12) / a9; a28:=(100 * a13) / a9; a29:=(100 * a14) / a9; a30:=(a1); a31:=(a2); a32:=(a3); a33:=(a4); a34:=(a5); a35:=(a6); a36:=(a7); a37:=(a8); a38:=((SUM((ORDERVOL(1,2)),0))); a39:=((SUM((ORDERVOL(2,2)),0))); a40:=(a10); a41:=500 / (MAX(a30,a31,a32,a33,a34,a35,a36,a37,a40,中戶籌碼,大戶籌碼,機(jī)構(gòu)籌碼)); a42:=550 / (MAX(a38,a39,主力籌碼)); a43:=600 - (a30 * a41); a44:=600 - (a31 * a41); a45:=600 - (a32 * a41); a46:=600 - (a33 * a41); a47:=600 - (a34 * a41); a48:=600 - (a35 * a41); a49:=600 - (a36 * a41); a50:=600 - (a37 * a41); a51:=600 - (a38 * a42); a52:=600 - (a39 * a42); a53:=600 - (a40 * a41); a54:=600 - (中戶籌碼 * a41); a55:=600 - (大戶籌碼 * a41); a56:=600 - (機(jī)構(gòu)籌碼 * a41); a57:=600 - (主力籌碼 * a42); DRAWRECTREL(50,a49,70,600,250),colorYellow; DRAWRECTREL(70,a50,90,600,9213440),colorYellow; DRAWRECTREL(90,a53,110,600,(IF((a10 >= 0),3289855,8584960))),colorYellow; DRAWRECTREL(160,a47,180,600,250),colorYellow; DRAWRECTREL(180,a48,200,600,9213440),colorYellow; DRAWRECTREL(200,a54,220,600,(IF((a11 >= 0),3289855,8584960))),colorYellow; DRAWRECTREL(270,a45,290,600,250),colorYellow; DRAWRECTREL(290,a46,310,600,9213440),colorYellow; DRAWRECTREL(310,a55,330,600,(IF((a12 >= 0),3289855,8584960))),colorYellow; DRAWRECTREL(380,a43,400,600,250),colorYellow; DRAWRECTREL(400,a44,420,600,9213440),colorYellow; DRAWRECTREL(420,a56,440,600,(IF((a13 >= 0),3289855,8584960))),colorYellow; DRAWRECTREL(925,a51,945,600,255),colorYellow; DRAWRECTREL(945,a52,965,600,9213440),colorYellow; DRAWRECTREL(965,a57,985,600,(IF((a14 >= 0),3289855,8584960))),colorYellow; DRAWRECTREL(0,600,445,604,255),colorWhite; DRAWTEXTREL(18,450,'散戶'),ColorDDFFFF; DRAWTEXTREL(125,450,'中戶'),ColorDDFFFF; DRAWTEXTREL(235,450,'大戶'),ColorDDFFFF; DRAWTEXTREL(345,450,'機(jī)構(gòu)'),ColorDDFFFF; DRAWTEXTREL(888,450,'主力'),ColorDDFFFF; DRAWTEXTREL(2,720,'機(jī)構(gòu)買:'+NUMTOSTR(a21)+'%'+' 大戶買:'+NUMTOSTR(a19)+'%'+' 中戶買:'+NUMTOSTR(a17)+'%'+' 散戶買:'+NUMTOSTR(a15)+'%'),colorRed; DRAWTEXTREL(2,790,'機(jī)構(gòu)賣:'+NUMTOSTR(a22)+'%'+' 大戶賣:'+NUMTOSTR(a20)+'%'+' 中戶賣:'+NUMTOSTR(a18)+'%'+' 散戶賣:'+NUMTOSTR(a16)+'%'),colorGreen; DRAWTEXTREL(2,860,'機(jī)構(gòu)差:'+NUMTOSTR(a28)+'%'+' 大戶差:'+NUMTOSTR(a27)+'%'+' 中戶差:'+NUMTOSTR(a26)+'%'+' 散戶差:'+NUMTOSTR(a25)+'%'),colorWhite; DRAWTEXTREL(2,930,'主力差:'+NUMTOSTR(a29)+'%'),colorWhite; |
|