極品主圖(頂?shù)滓荒苛巳?30日均線向上持股,反之賣股,漲跌幅大變色)
STICKLINE(C>=O,C,O,7,0),COLOR0000AA; STICKLINE(C>=O,C,O,6,0),COLOR0000bb ; STICKLINE(C>=O,C,O,5,0),COLOR0000cc; STICKLINE(C>=O,C,O,4,0),COLOR0000DD ; STICKLINE(C>=O,C,O,3,0),COLOR0000ee; STICKLINE(C>=O,C,O,2,0),COLOR0000FF; STICKLINE(C>=O,C,O,1,0),COLOR0000ff; STICKLINE(C>=O,H,L,0,0),COLORRED; STICKLINE(C<=O,C,O,7,0),Coloraaaa00; STICKLINE(C<=O,C,O,6,0),Colorbbbb00; STICKLINE(C<=O,C,O,5,0),Colorcccc00; STICKLINE(C<=O,C,O,4,0),Colordddd00; STICKLINE(C<=O,C,O,3,0),Coloreeee00; STICKLINE(C<=O,C,O,2,0),COLORffff00; STICKLINE(C<=O,C,O,1,0),Colorffff00; STICKLINE(C<=O,H,L,0,0),COLORffff00; STICKLINE(c/ref(c,1)>1.05,(c+o)/2,c,7,0),color00AAAA; STICKLINE(c/ref(c,1)>1.05,(c+o)/2,c,5,0),color00CCCC; STICKLINE(c/ref(c,1)>1.05,(c+o)/2,c,3,0),color00EEEE; STICKLINE(c/ref(c,1)>1.05,(c+o)/2,c,1,0),coloryellow; DH:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); STICKLINE(DH<=-4,(c+o)/2,c,7,0),colorAA0000; STICKLINE(DH<=-4,(c+o)/2,c,5,0),colorCC0000; STICKLINE(DH<=-4,(c+o)/2,c,3,0),colorEE0000; STICKLINE(DH<=-4,(c+o)/2,c,1,0),colorFF0000; M30:MA(CLOSE,30),Colorff00ff,linethick1; 頂: COST(95)*1, linethick2,COLORRED; Var1:=(2*CLOSE+HIGH+LOW)/4; 底: EMA(Var1,99)*0.91, linethick2,colorgreen ; 最終定版籌碼突破(實戰(zhàn)的好公式) 主籌估算:EMA(WINNER(C)*70,3),LINETHICK2,COLORRED;
散籌估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),color009900; 籌碼鎖定:散籌估算-主籌估算,COLORFFBB00; FILLRGN(籌碼鎖定,散籌估算,籌碼鎖定>0),color009900; FILLRGN(0,散籌估算,籌碼鎖定<=0),color009900; FILLRGN(0,籌碼鎖定,籌碼鎖定>0),COLORFFBB00; FILLRGN(0,籌碼鎖定,籌碼鎖定<0),COLORFFBB00; FILLRGN(-50,籌碼鎖定,籌碼鎖定<-50),COLORRED; 動態(tài)底部:EMA(IF(L<= LLV(l,99),SMA(ABS(L-REF(L,1)),99,1)/SMA(MAX(L-REF(l,1),0),99,1),0)*5,3),COLORYELLOW; FILLRGN(0,動態(tài)底部,動態(tài)底部>0),COLORYELLOW; 主籌估算,LINETHICK2,COLORRED; 漲:CROSS(主籌估算,籌碼鎖定),COLORFFBB00; 強:CROSS(主籌估算,散籌估算),COLORFFBB00; STICKLINE(漲,0,籌碼鎖定,4,0),COLORWHITE; STICKLINE(強,0,散籌估算,4,0),COLORYELLOW; 紅線出橙峰見底(第一買點),紅線出藍峰買入(第二買點),,紅線出綠峰回調(diào)買入(第三買點),第一買點結(jié)合cys斷底,第三買點要選30日均線向上,有量能股票.
好的量能公式(粉線表示漲幅,蘭線表示量能,蘭線上粉線,粉線向上,表示量價齊升). input:N(27),N2(9),N3(3),N4(16);
Var1:=IF(DATE>=1030131,1,1); Var2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; 獲利盤: WINNER(CLOSE)*100*Var1; Var3:=SMA(Var2,3,1)*Var1; Var4:=SMA(Var3,N2,1)*Var1; Var5:=3*Var3-2*Var4*Var1; Var6:=VOL*Var1; 量比: VOL/MA(VOL,5)*Var1; 漲跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100*Var1; 角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100*Var1; 換手: VOL/CAPITAL*100*Var1; Var7:=SUM(換手,30)*Var1; Var8:=LLV(INDEXL,5)*Var1; Var9:=HHV(INDEXH,5)*Var1; VarA:=EMA((INDEXC-Var8)/(Var9-Var8)*100,4); VarB:=MA(EMA(0.667*REF(VarA,1)+0.333*VarA,2),9); VarC:=MA(VarB,30); VarD:=EMA(獲利盤,4)*Var1; 本盤億股: CAPITAL/1000000; 振幅: (HIGH-LOW)/REF(CLOSE,1)*100; V5: MA(VOL,5)*2*Var1,colorcyan; VarE:=MA(V5,3); V34: MA(VOL,34)*2*Var1,colormagenta; VarF:=(漲跌>VarD AND 角度<-30 AND 漲跌>3)*Var1; CROSS(VarB,VarC) AND VarC<29*Var1; STICKLINE(VOL AND Var5>Var4,0,VOL,8,1),colorred; STICKLINE(VOL AND Var5<Var4,0,VOL,8,1),colorgreen; STICKLINE(VOL AND Var4<N4,-10,VOL*0.5,8,0),colorblue; 量能公式用法 由下圖可看出,量于價先見頂.(良性動能呈紅色)
再來一個追漲選股(n 16) A1:=REF(H,n)=HHV(H,2*N+1);
B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); D1:=FILTER(C1,N); A2:=REF(L,n)=LLV(L,2*N+1); B2:=FILTER(A2,N); C2:=BACKSET(B2,N+1); D2:=FILTER(C2,N); E1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2; E2:=(H+L)/2; H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSCOUNT(C)=1; L1:=(D2 AND NOT(D1 AND E1<E2)); H2:=D1 AND NOT(D2 AND E1>=E2); X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1)); G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1); L2:=LD OR BARSCOUNT(C)=1; X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2)); G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1); TSHD:=IF(BARSLAST(LD)>=BARSLAST(HD),BARSLAST(HD),0); CROSS(C,REF(H,REF(TSHD,1))) AND C>O or C>REF(H,REF(TSHD,1)) AND C>O; 實戰(zhàn)MACD( LONG 26 SHORT 12 m 9) DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M); MACD : 2*(DIFF-DEA), COLORSTICK; MACD2 : 2*(DEA-DIFF),COLORgreen; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 周K:=MA("KDJ.K#WEEK"(9,3,3) ,5); 周D:=MA("KDJ.D#WEEK"(9,3,3) ,5); 周J:=MA("KDJ.J#WEEK"(9,3,3) ,5); DRAWICON(k<20 and cross(k,d),MACD,1),align2; 周金:DRAWTEXT(CROSS("KDJ.K#WEEK"(9,3,3),"KDJ.D#WEEK"(9,3,3)) ,MACD,'▲'),align2,COLORred; 周死:DRAWTEXT(CROSS("KDJ.d#WEEK"(9,3,3),"KDJ.k#WEEK"(9,3,3)) ,macd*1.5,'▼'),align2,COLORgreen; 月金:DRAWTEXT(CROSS("KDJ.K#MONTH"(9,3,3),"KDJ.D#MONTH"(9,3,3)) ,MACD,'▲'),align2,COLORMAGENTA; 月死:DRAWTEXT(CROSS("KDJ.D#MONTH"(9,3,3),"KDJ.K#MONTH"(9,3,3)) ,macd*1.5,'▼'),align2,COLORYELLOW; 理論及用法: ①MACD在0線下方金叉時,周線KDJ在超賣區(qū)生了金叉,能走出一波勁升行情。周線KDJ是日線MACD在0線下方金叉后升勢是否強勁的“過濾器”。 ②MACD兩曲線在0線上方金叉時,以買入為主,在0線上方附近金叉時更是如此。MACD在0線上方金叉后,后面的上升行情會比前一波上升行情升幅大,力度強。 金叉時macd2剛好向下穿更好. 極品趨勢 msd:ema (100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3),colorwhite;
{風(fēng)險區(qū):80,colorFF85FF; {安全區(qū):20,COLORyellow;天線:100,COLORFFFF00,linethick2;地線:0,linethick2 color6699ff;強弱線:50,COLORGREEN,pointdot;} 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)); 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); Var10:=IF(Var9>100,Var9-100,0); Var11:=HHV(HIGH,34); Var12:=EMA((Var6-Var8)/(Var11-Var8)*100,13); Var13:=EMA(0.667*REF(Var12,1)+0.333*Var12,2); 趨勢值:Var13,COLORred; STICKLINE(Var12-Var13>0,Var12,Var13,8,0),COLORRED; STICKLINE(Var12-Var13<0,Var12,Var13,8,0),COLOR00FF0F; Vark1:=EMA(HHV(HIGH,500),21); Vark2:=EMA(HHV(HIGH,250),21); Vark3:=EMA(HHV(HIGH,90),21); Vark4:=EMA(LLV(LOW,500),21); Vark5:=EMA(LLV(LOW,250),21); Vark:=EMA(LLV(LOW,90),21); Vark7:=EMA((Vark4*0.96+Vark5*0.96+Vark*0.96+Vark1*0.558+Vark2*0.558+Vark3*0.558)/6,21); Vark8:=EMA((Vark4*1.25+Vark5*1.23+Vark*1.2+Vark1*0.55+Vark2*0.55+Vark3*0.65)/6,21); Vark9:=EMA((Vark4*1.3+Vark5*1.3+Vark*1.3+Vark1*0.68+Vark2*0.68+Vark3*0.68)/6,21); Varka:=EMA((Vark7*3+Vark8*2+Vark9)/6*1.738,21); Varkb:=REF(LOW,1); Varkc:=SMA(ABS(LOW-Varkb),3,1)/SMA(MAX(LOW-Varkb,0),3,1)*100; Varkd:=EMA(IF(CLOSE*1.35<=Varka,Varkc*10,Varkc/10),3); Varke:=LLV(LOW,30); Varkf:=HHV(Varkd,30); Vark10:=IF(MA(CLOSE,58),1,0); 火焰山: EMA(IF(LOW<=Varke,(Varkd+Varkf*2)/2,0),3)/618*Vark10; 火焰: STICKLINE(火焰山>0,0,火焰山,4,1); 今量: 火焰山; STICKLINE(火焰山>0,0,今量*1.2,8,0) COLOR0000ff; STICKLINE(火焰山>0,0,今量*0.8,8,0) COLOR0066ff; STICKLINE(火焰山>0,0,今量*0.6,8,0) COLOR0099ff; STICKLINE(火焰山>0,0,今量*0.4,8,0) COLOR00ccff; STICKLINE(火焰山>0,0,今量*0.2,8,0) COLOR00ffff; 布林副圖 臨界點:ma(c,20),POINTDOT,linethick0;
var1:=pow((c-臨界點),2); var2:=ma(var1,20); var3:=SQRT(var2); 上軌阻力線:臨界點+2*var3,colorff9933; 下軌支撐線:臨界點-2*var3,colormagenta; 遍地黃金:STICKLINE(REF(臨界點,1)<臨界點,臨界點,REF(臨界點,1),3,0),linethick2,COLORYELLOW; 小心慢長盤整:STICKLINE(REF(臨界點,1)>臨界點,臨界點,REF(臨界點,1),3,0),linethick2,COLORWHITE ; STICKLINE(close>=open,open,close,5,1),colorred; STICKLINE(open>close,close,open,5,0 ),colorgreen; STICKLINE(close>=open,close,HIGH,0.5 ,1 ),colorred; STICKLINE(close>=open,open,low,0.5 ,1 ),colorred; STICKLINE(open>close,close,low,0.5 ,0 ),colorgreen; STICKLINE(open>close,open,HIGH,0.5 ,0 ),colorgreen; 放量突破
input:n1(4,1,100),n2(7,1,150);
a:ema(c,7)-ema(c,7),colorwhite; B:ema(c,4)-ema(c,7),colorred,linethick2; FILLRGN(cross (b,a),b,12); 控盤力量 Var1:=EMA(EMA(CLOSE,13),13);
控盤:=(Var1-REF(Var1,1))/REF(Var1,1)*1000; 無莊控盤:STICKLINE(控盤<0,控盤,0,4,0),colorwhite; 有莊控盤:STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,4,1),colorred; Var2:=100*WINNER(CLOSE*0.95); 主力出貨:STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,4,0),color00ff00; 高度控盤:STICKLINE(Var2>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0,4,0),colorff00ff; a10:=CROSS(控盤,0); 開始控盤:if(a10,6,0),coloryellow; 陽拐點' STICKLINE(OPEN<CLOSE,OPEN,CLOSE,8,0),COLOR0000FF;
STICKLINE(OPEN<CLOSE,OPEN,CLOSE,7.75,0),COLOR0018FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,7.5,0),COLOR001BFF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,7.25,0),COLOR0022FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,7,0),COLOR0035FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,6.75,0),COLOR0041FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,6.5,0),COLOR0050FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,6.25,0),COLOR0059FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,6,0),COLOR0062FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,5.75,0),COLOR006CFF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,5.5,0),COLOR007AFF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,5.25,0),COLOR0080FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,5,0),COLOR0089FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,4.5,0),COLOR0095FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,3.5,0),COLOR009CFF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,3,0),COLOR00ABFF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,2.5,0),COLOR00C0FF; STICKLINE(OPEN<CLOSE,OPEN,CLOSE,1.5,0),COLOR00D1FF; STICKLINE(OPEN<CLOSE,CLOSE,HIGH,0.5,0),COLOR00D1FF; STICKLINE(OPEN<CLOSE,OPEN,LOW,0.5,0),COLOR00D1FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,8,0),COLOR0000FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7.75,0),COLOR0018FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7.5,0),COLOR001BFF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7.25,0),COLOR0022FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7,0),COLOR0035FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,6.75,0),COLOR0041FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,6.5,0),COLOR0050FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,6.25,0),COLOR0059FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,6,0),COLOR0062FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,5.75,0),COLOR006CFF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,5.5,0),COLOR007AFF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,5.25,0),COLOR0080FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,5,0),COLOR0089FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,4.5,0),COLOR0095FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,3.5,0),COLOR009CFF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR00ABFF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,2.5,0),COLOR00C0FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLOR00D1FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),CLOSE,HIGH,0.5,0),COLOR00D1FF; STICKLINE(OPEN=CLOSE and CLOSE>REF(CLOSE,1),OPEN,LOW,0.5,0),COLOR00D1FF; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,8,0),COLOR006800; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,7.75,0),COLOR007F00; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,7.5,5),COLOR008B00; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,7.25,0),COLOR008B00; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,7,0),COLOR009000; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,6.75,0),COLOR009500; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,6.5,0),COLOR009C00; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,6.25,0),COLOR00A300; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,6,0),COLOR00AB00; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,5.75,0),COLOR00AF00; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,5.5,0),COLOR00B900; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,5.25,0),COLOR00C000; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,5,0),COLOR00C100; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,4.5,0),COLOR00CA00; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,3.5,0),COLOR00D300; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,3,0),COLOR00DB00; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,2.5,0),COLOR00EA00; STICKLINE(OPEN>CLOSE,OPEN,CLOSE,1.5,0),COLOR00FF00; STICKLINE(OPEN>CLOSE,OPEN,HIGH,0.5,0),COLOR00FF00; STICKLINE(OPEN>CLOSE,CLOSE,LOW,0.5,0),COLOR00FF00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,8,0),COLOR006800; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,7.75,0),COLOR007F00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,7.5,5),COLOR008B00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,7.25,0),COLOR008B00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,7,0),COLOR009000; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,6.75,0),COLOR009500; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,6.5,0),COLOR009C00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,6.25,0),COLOR00A300; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,6,0),COLOR00AB00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,5.75,0),COLOR00AF00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,5.5,0),COLOR00B900; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,5.25,0),COLOR00C000; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,5,0),COLOR00C100; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,4.5,0),COLOR00CA00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,3.5,0),COLOR00D300; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR00DB00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,2.5,0),COLOR00EA00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLOR00FF00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),OPEN,HIGH,0.5,0),COLOR00FF00; STICKLINE(OPEN=CLOSE and CLOSE<REF(CLOSE,1),CLOSE,LOW,0.5,0),COLOR00FF00; STICKLINE(OPEN=CLOSE and CLOSE=REF(CLOSE,1),OPEN,CLOSE,8,0),COLORWHITE; STICKLINE(OPEN=CLOSE and CLOSE=REF(CLOSE,1),HIGH,LOW,0.5,0),COLORWHITE; MA1:MA(CLOSE,5); MA2:MA(CLOSE,13); MA3:MA(CLOSE,21),LINETHICK2; MA4:MA(CLOSE,34); MA5:MA(CLOSE,55); FFF:=(LOW<=MA1 AND LOW<=MA2 AND LOW<=MA3 AND CLOSE>=MA1 AND CLOSE>=MA2 AND CLOSE>=MA3 AND CLOSE>REF(CLOSE,1)); DRAWICON(OPEN>MA1 AND OPEN>MA2 AND OPEN>MA5 AND CLOSE<MA1 AND CLOSE<MA2 AND CLOSE<MA5,LOW,2); BBB:=(LOW<=MA1 AND LOW<=MA2 AND LOW<=MA3 AND HIGH>=MA1 AND HIGH>=MA2 AND HIGH>=MA3 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)); STICKlINE(BBB,CLOSE,OPEN,8,0),COLOR9900FF; A1:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(C,2)<REF(C,3); A2:=REF(OPEN,1)<REF(CLOSE,2)AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)>(REF(CLOSE,2)+REF(OPEN,2))/2; A3:=CLOSE>REF(CLOSE,1); A4:=LLV(LOW,13)=REF(LOW,1); MB:=BACKSET(A1 AND A2 AND A3 AND A4,3); STICKLINE(MB,CLOSE,OPEN,7,0),COLOR0066FF; DRAWTEXT(CROSS(0.5,MB),HIGH *1.08,'哈哈!,↑曙光初現(xiàn)'),COLOR0066FF; DRAWTEXT(FFF,LOW*0.98,'↑陽拐點'),COLOR00FFFF; macd解盤(各股趨勢一目了然) 參數(shù):n 1.5 m 3 p 64
Kn:=BARSTATUS=2; DIFF:EMA((EMA(CLOSE,N*12)-EMA(CLOSE,N*26))/EMA(CLOSE,N*26)*1000,M),PRECIS1; DEA:EMA(DIFF,N*9),COLOR00AA88,PRECIS1; MACD:2*(DIFF-DEA),LAYER1,COLOR888888,PRECIS1; MACDx:MACD,LAYER0,COLORAAAAAA,PRECIS1; MACDo:EMA(MACD,5),LAYER0,COLORFF77FF,PRECIS1; DIFFO:EMA(DEA,P)*1.8,PRECIS1; A:=HHV(DIFF,300); A*1.3,PRECIS1,colorgreen; B:=MACD-REF(MACD,1); STICKLINE(MACD>0 AND B>0,0,MACD,8,1),COLOR770077; STICKLINE(MACD>0 AND B<0,0,MACD,8,0),COLOR772277; STICKLINE(MACD<0 AND B>0,0,MACD,8,1),COLOR775500; STICKLINE(MACD<0 AND B<0,0,MACD,8,0),COLOR775522; PARTLINE(DIFF,DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),RGB(255,150,0), DIFF<REF(DIFF,1) AND DEA<REF(DEA,1),RGB(0,100,255), DIFF>=REF(DIFF,1) AND DEA<REF(DEA,1),RGB(0,255,0), DIFF<REF(DIFF,1) AND DEA>REF(DEA,1),RGB(255,10,0)),LINETHICK4,PRECIS0,LAYER1; FILLRGN(DIFF,DEA,DIFF>DEA,RGB(255,150,0),DIFF<DEA,RGB(0,100,255)),LAYER1; PARTLINE(DIFFO,DIFFO>=REF(DIFFO,1),RGB(255,100,55),DIFFO<REF(DIFFO,1),RGB(0,155,255)),LINETHICK1,LAYER1; Bs:=CROSS(DIFF,REF(DIFF,1)); Ss:=CROSS(REF(DIFF,1),DIFF); Bm:=CROSS(DIFF,DEA); Sm:=CROSS(DEA,DIFF); Kbs:=Bs+Ss+Bm+Sm; DRAWTEXT(Kn>0 AND DIFF<DEA AND Sm=1,A,'當(dāng)前操作:趨勢轉(zhuǎn)弱,全倉賣空。'),LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF,PRECIS1; DRAWTEXT(Kn>0 AND DIFF<DEA AND DIFF<REF(DIFF,1) AND Kbs=0,A,'當(dāng)前操作:弱勢調(diào)整,持幣觀望。'),LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF,PRECIS1; DRAWTEXT(Kn>0 AND DIFF<DEA AND Bs=1,A,'當(dāng)前操作:弱勢反彈,少量試買。'),LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF,PRECIS1; DRAWTEXT(Kn>0 AND DIFF<DEA AND DIFF>REF(DIFF,1) AND Kbs=0,A,'當(dāng)前操作:反彈繼續(xù),逢低少量加倉。'),LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF; DRAWTEXT(Kn>0 AND DIFF<DEA AND Ss=1,A,'當(dāng)前操作:反彈結(jié)束,全倉賣空。'),LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF,PRECIS1; DRAWTEXT(Kn>0 AND DIFF>=DEA AND Bm=1,A,'當(dāng)前操作:趨勢轉(zhuǎn)強,加碼追買。'),LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF,PRECIS1; DRAWTEXT(Kn>0 AND DIFF>=DEA AND DIFF>=REF(DIFF,1) AND Kbs=0,A,'當(dāng)前操作:強勢漲升,持股或逢低加倉。'),PRECIS1,LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF; DRAWTEXT(Kn>0 AND DIFF>=DEA AND Ss=1,A,'當(dāng)前操作:強勢調(diào)整,適當(dāng)減倉。'),LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF,PRECIS1; DRAWTEXT(Kn>0 AND DIFF>=DEA AND DIFF<REF(DIFF,1) AND Kbs=0,A,'當(dāng)前操作:強勢調(diào)整繼續(xù),逢高減倉。'),PRECIS1,LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF; DRAWTEXT(Kn>0 AND DIFF>=DEA AND Bs=1 AND Bm<>1,A,'當(dāng)前操作:重拾強勢,加碼追買。'),LAYER0,ALIGN2,VALIGN2,LINETHICK3,COLOR00FFFF,PRECIS1; 曾氏kdj RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),linethick2,coloreeee33; D:SMA(K,M2,1),linethick2 ,color6699ff; J:=3*K-2*D; 買入:=CROSS(j,d )and cross(j,k)and k <40 and d<50 and j<50; DRAWICON(買入=1,20,1) 參數(shù)(n 85 1 100 m1 7 2 40 m2 6 2 40) 用法:專用于捕捉中期底,收益一般都在20%左右,對于有的股票可提前發(fā)出信號,連續(xù)2次出現(xiàn)買入信號勝算大增,連續(xù)3次,幾乎沒有虧損。超過4次砸鍋賣鐵也要買。當(dāng)kdj超過80或接近80為警戒區(qū)一發(fā)現(xiàn)拐頭,死叉賣出。 猛虎出籠(猛虎出籠頂,籠頂下穿籠底為好股) 猛虎: 600*(ema(close,3)-ema(low,30))/ema(low,30);
風(fēng)險:ema(猛虎,7),colorred; 籠頂:(winner(120*c/100)-winner(100*c/100))*100,colorgreen; 籠底:-100*(winner(120*c/100)-winner(100*c/100))+5,colorf00ff0; 底部區(qū):=猛虎<籠頂 and 猛虎<籠底; 打壓吸籌區(qū):stickline(底部區(qū),猛虎+10,猛虎-10,2,0),color669933; 底成:=(close-ma(close,28))/ma(close,28)*100<-23;{平均成功率:78.22%, 成功率達到50%的股票有:42.3%} stickline(底成,籠底+40,籠底-50,3,0),color00ff00; drawtext(底成,籠底-40,'★:底成'),color00ff00; varx:=llv(low,75); varx1:=hhv(high,75); varx2:=(varx1-varx)/100; varx3:=sma((close-varx)/varx2,20,1); varx4:=3*varx3-2*sma(varx3,15,1); varx5:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100; varx6:=sma(varx5,3,1); varx7:=sma(varx6,3,1); dbx:=(close-ma(close,40))/ma(close,40)*100; 要漲:=(cross(dbx,-5.4) and (8+dbx)*10>=29 and (100-varx4)>49 and (varx4>sum(varx4,20)/20 and varx7>ref( varx7,1)))*10; stickline(要漲,籠底-10,籠底+50,4,0),colorblue; drawtext(要漲,籠底+40,'★:要漲'),colorblue; 看圖解勢 參數(shù)(周期 15 1 100 過濾8 1 100 選股-26 -30 -20 抄底 -40
-50 -25) Var1:=MA(CLOSE,5); Var2:=MA(CLOSE,10); Var3:=MA(CLOSE,20); Var4:=MA(CLOSE,30); Var5:=(Var1+Var2+Var3+Var4)/4; Var6:=(Var5-REF(Var5,周期))/REF(Var5,周期)*100; Var7:=(Var5-REF(Var5,周期))/REF(Var5,周期)*100; Var8:=EMA(Var6,過濾); 底部注意: STICKLINE(Var6>REF(Var6,1) AND Var6<0 AND Var6<Var8,Var6,0,5,0), ,COLORFF0000 ; 低位轉(zhuǎn)強: STICKLINE(Var8>REF(Var8,1) AND Var6<0 AND Var6>Var8,Var8,0,5,0), ,COLOR62B3FF; 買點: STICKLINE(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,Var6,Var8,10,0), , COLORRED; 堅定持股: STICKLINE(Var8>REF(Var8,1) AND Var8>0,Var6,0,5,0),COLORFF00FF ,; 謹慎觀望: STICKLINE(Var6<REF(Var6,1) AND Var8>REF(Var8,1) AND Var6>0,Var6,Var8,10,0),COLOR00FFFF ,; 果斷持幣: STICKLINE(Var6<REF(Var6,1) AND Var6<Var8,Var6,Var8,5,1), , COLORGREEN; Var9:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100; VarA:=Var9>1*REF(Var9,1) AND Var9<選股 AND Var9>抄底*1.5; VarB:=VOL/CAPITAL*100; VarC:=LLVBARS(LOW,50); VarD:=SUM(VOL,VarC); VarE:=HHVBARS(HIGH,50); VarF:=SUM(VOL,VarE); Var10:=(CLOSE-REF(OPEN,VarE))/REF(OPEN,VarE)*100; Var11:=VarF/CAPITAL*100; Var12:=(CLOSE-REF(OPEN,VarC))/REF(OPEN,VarC)*100; Var13:=VarD/CAPITAL*100; Var14:=MA(CLOSE,3); Var15:=REF(CLOSE,2)*0.865; Var16:=REF(CLOSE,13)*0.772; Var17:=MIN(Var15,Var16); Var18:=MA(CLOSE,13); 超跌: IF((CLOSE-Var17)/CLOSE<0.03 AND Var10<-35 AND SUM(VarB,5)/5<1.8,1,0)*10, , COLORWHITE; DRAWTEXT(超跌,超跌,' 抄底 '), ,COLORFF0000 ; Var19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; Var1A:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100; Var1B:=EMA(Var1A,9); Var1C:=2*(Var1A-Var1B); DRAWTEXT(Var1A<-50 AND Var19>7 AND Var1A<Var1B,-10,'底'), , COLORWHITE; DRAWTEXT(Var1A<-50 AND Var19>7 AND Var1A>=Var1B,5,'追'), , COLORWHITE; STICKLINE(Var1A<-50 AND Var19>7,0,-10,5,0),,COLORFFFF00 ; 周KDJ K:ma("kdj.k#week",5);
D:ma("kdj.d#week",5); J:ma("kdj.j#week",5); 勝算多多 REFLINE: 0, 25, 75, 100;
Var1:=IF(MA(CLOSE,88),1,0); Var2:=1/WINNER(CLOSE); Var3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100); 趨勢: WINNER(AMOUNT/VOL/100)*100*Var1; 高山: (100-ABS((CLOSE-MA(CLOSE,15))/MA(CLOSE,15)*100))*Var1; 火山: IF(Var2>5,IF(Var2<100,Var2,Var3-10),0)*Var1, COLORSTICK; 流水: ABS((COST(50)-CLOSE)/CLOSE*100)*Var1, , [00010001]; 趨強: 25, POINTDOT; 強勢: 75, POINTDOT; 中位線: 50, , [00010008]; 操作說明 1、及時引入準確的個股財務(wù)數(shù)據(jù)及除權(quán)數(shù)據(jù),并使系統(tǒng)處在價格自動還權(quán)狀態(tài)。 2、[趨勢]線接近[0]線時,出現(xiàn)[火山]信號,表示股價接近底部,考慮逐步買入;尤其是[火山]信號由強烈轉(zhuǎn)為緩和時更要引起您的高度關(guān)注! 3、[趨勢]線向上穿越[流水]線,短中線絕對買入。 4、[趨勢]線上穿[趨強]線時,買入。 5、[趨勢]線下穿[高山]線時,短線賣出。 6、[趨勢]線下穿[強勢]線時,中線賣出。 7、[趨勢]線在[趨強]線下時,股價走弱,不要輕易介入。 8、[趨勢]線在[趨強]線上時,股價較強,持股待漲。 9、[趨勢]線接近[0]線,[流水]線接近[中位線],將發(fā)生重量級反彈。 10、[趨勢]線接近[0]線,[流水]線大于[中位線]、小于[高山]線甚至接近或超過[高山]線,將發(fā)生超重量級反彈。 11、[趨勢]線由[流水]線附近急促向上沖至[高山]線,發(fā)生大牛行情的機率特別大。 量勢雙雄 80,COLORRED;20;
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)); 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); Var10:=IF(Var9>100,Var9-100,0); Var11:=HHV(HIGH,34); Var12:=EMA((Var6-Var8)/(Var11-Var8)*100,13); Var13:=EMA(0.667*REF(Var12,1)+0.333*Var12,2); Var13,COLORRED; STICKLINE(Var12-Var13>0,Var12,Var13,8,0),COLOR00FF0F; STICKLINE(Var12-Var13<0,Var12,Var13,8,0),COLORRED; 差值:(Var12-Var13)*5,POINTDOT,COLOR33CC00; STICKLINE(差值>=0,0,差值*1,4,0),color0000ff; STICKLINE(差值>=0,0,差值*0.8,4,0),color0066ff; STICKLINE(差值>=0,0,差值*0.6,4,0),color0099ff; STICKLINE(差值>=0,0,差值*0.4,4,0),color00ccff; STICKLINE(差值>=0,0,差值*0.2,4,0),color00ffff; STICKLINE(差值<=0,0,差值*1,4,0),COLORGREEN; STICKLINE(差值<=0,0,差值*0.8,4,0),COLOR33CC00; STICKLINE(差值<=0,0,差值*0.6,4,0),COLOR339900; STICKLINE(差值<=0,0,差值*0.4,4,0),COLOR337700; STICKLINE(差值<=0,0,差值*0.2,4,0),COLOR005500; 大盤副圖 HDO:=INDEXO;
DH:=INDEXH; DL:=INDEXL; DC:=INDEXC; HZ:=EMA(DC,13); MA(hz,4),colormagenta,LINETHICK1; MA(hz,36),colorgreen,LINETHICK1; EMA(hz,1),colorcyan,LINETHICK1; EMA(hz,21),Color0080FF,LINETHICK1; STICKLINE(DC>=HDO,HDO,DC,7,1),COLORRED; STICKLINE(DC>=HDO,DL,HDO,0,1),COLORRED; STICKLINE(DC>=HDO,DC,DH,0,1),COLORRED; STICKLINE(DC<HDO,HDO,DC,7,0),COLORcyan; STICKLINE(DC<HDO,DC,DL,0,0),COLORcyan; STICKLINE(DC<HDO,HDO,DH,0,0),COLORcyan; 閃電出擊' VarF:=TROUGHBARS(3,15,1)<4;
升跌:EMA((C/MA((2*C+H+L)/4,30)-1)*100,3),colorstick; PARTLINE(C,升跌),colorgreen; PARTLINE(C,0),colorred,linethick2; STICKLINE(FILTER(VarF=1,5),50,0,10,0),colorblue; DRAWICON(FILTER(VarF=1,5),50,1); DRAWTEXT(FILTER(VarF=1,5),25,'閃電出擊'),coloryellow; 周MACD DIFF:ma("macd.diff#week",5);
DEA:ma("macd.dea#week",5); MACD:ma("macd.macd#week",5),COLORSTICK; 穩(wěn)健追漲(主圖) MA1:=EMA(CLOSE,5),color00ff00;
MA2:=EMA(CLOSE,10),colorffcc66; MA3:=EMA(CLOSE,15); MA4:=EMA(CLOSE,30),colorff00ff; MAA:=EMA(CLOSE,60),COLORblue,linethick2; MA5:IF(MA1<MA4,MA1,MA4),COLOR00ff00; IF(MA1<MA4,MA4,MA1),coloryellow; MA10:if(ma2<ma4,ma2,ma4),colorffcc66; if(ma2<ma4,ma4,ma2),color0099ff; MA15:if(ma3<ma4,ma3,ma4),colorwhite; if(ma3<ma4,ma4,ma3),colorblue; MA30:if(ma4<maa,ma4,maa),colorff00ff; if(ma4<maa,maa,ma4),colorred,linethick2; MA60:if(ma4>maa,maa,maa),linethick2,colorblue; Var1:=MAX(MA1,MAX(MA2,MAX(MA3,MA4))); Var2:=MIN(MA1,MIN(MA2,MIN(MA3,MA4))); Var3:=(Var1-Var2)/Var2*1000; Var4:=MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>REF(MA5,1); Var5:=Var3<5; Var6:=COUNT(Var5=1,5)>0; Var7:=CROSS(MA1,MA4); Var8:=Var4 AND Var6 AND Var7; Var9:=Var4 AND Var5<3; DRAWICON(Var3<2 AND Var4,LOW,1); DRAWICON(Var8,LOW*0.99,1); Var1a:=CROSS(MA(CLOSE,5),MA(CLOSE,30)); DRAWICON(Var1a,LOW-LOW*0.01,1); DRAWTEXT(Var1a AND CLOSE>MA(CLOSE,250),LOW-LOW*0.03,'少量買 '),colorWHITE; DRAWTEXT(Var1a AND CLOSE>=MA(CLOSE,60) AND CLOSE<=MA(CLOSE,250),LOW-LOW*0.02,'半倉買'),coloryellow; DRAWTEXT(Var1a AND CLOSE<MA(CLOSE,60),LOW-LOW*0.03,'全倉買 '),colorFF00FF; z8(主圖) MA6:MA(CLOSE,6);
MA13:MA(CLOSE,13); MA62:MA(CLOSE,62); MA120:MA(CLOSE,120); MA250:MA(CLOSE,250); X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68); Y:=EMA(CLOSE,10); LL:=REF(CLOSE,2); MM:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100); DB:=IF(((MM < REF(MM,1)) AND (MM > 79)),MM,0); DRAWTEXT(CROSS(Y,X),(LOW * 0.985),'▲'),LINETHICK2,colorred; DRAWTEXT(CROSS(X,Y),(HIGH * 1.02),'◆'),LINETHICK2,color00ff00; DRAWTEXT(DB,(HIGH * 1.02),'●'),LINETHICK2,color00ff00; VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5); AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13); DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2); VAR3:=LLV(LOW,55); VAR4:=HHV(HIGH,34); VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3); VAR6:=((AK + VAR5) / 2); VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2); VAR8:=EMA(VAR6,5); BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2); AB:=CROSS(AK1,AK); BB1:=(CROSS(AK1,BB) AND (BB < 30)); CD:=(BB1 * 0.6); DRAWTEXT((CD = 0.6),(LOW * 0.99),'□'),LINETHICK2,color33CC99; DRAWTEXT((AB = 1),(LOW * 0.99),'□'),LINETHICK2,colorwhite; c1:=(CLOSE+LOW+HIGH)/3; c2:=EMA(c1,6); c3:=EMA(c2,5); c4:=CROSS(c2,c3); DRAWTEXT(c4,LOW/1.01,'★'),COLORRED; c5:=CROSS(c3,c2); DRAWTEXT(c5,HIGH*1.03,'★'),COLORBLUE; z3(主圖) 支撐價:LLV(LOW,19),linethick2 , color00ff00;
阻力價:HHV(HIGH,19),colorblue, linethick2; Var1:=EMA(CLOSE,12)-EMA(CLOSE,26); Var2:=EMA(Var1,9); Var3:=(CLOSE*2.5/100+CLOSE); Var4:EMA(C,3); Var5:=LLV(HIGH,240); Var6:=100*(CLOSE-Var5)/Var5; Var7:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4; Var8:=SLOPE(CLOSE,10); DRAWTEXT(FILTER(Var7>23,8),H,'別貪'), COLOR00FF00; DRAWICON(COUNT(REF(Var4,1)<REF(Var4,2),5)=5 AND Var4>REF(Var4,1),L*0.98,4); DRAWICON(FILTER(COUNT(Var6<0,5)AND CROSS(Var6,0)AND Var7>REF(Var7,1)AND Var8>REF(Var8,1)AND C>O,3),L,1); DRAWICON(FILTER(REF(Var4,1)>REF(Var4,2)AND Var4<REF(Var4,1)AND Var7>17 AND Var1>Var2,5),H,2); DRAWICON(阻力價>ref(阻力價,1)AND CROSS(阻力價,Var3)AND C<O,H*1.02,5); 大盤個股 個股上線:=Ema(EMA(close,30),7);
大盤上線:=Ema(EMA(INDEXC,49),7); 個股趨勢:close/個股上線*100,coloryellow,linethick2; 大盤趨勢:INDEXC/大盤上線*100,colorffff00,linethick2; z6(主圖) amv0:=vol*(o+c)/2;
博殺生命線:sum(amv0,88)/sum(vol,88),colorff00ff,linethick2; CG:ma(C,17),colorffcc66,linethick2; FL:=hhv(CG,2); 博殺持股線:hhv(CG,2),color00ff00; FS:CG-(FL-CG),coloryellow,linethick2; 莊家進出 V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5; 莊家出: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2; 莊家進: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2; z7(主圖) COST(60);
EMA(COST(60),60); 日周月CCI TYP := (HIGH + LOW + CLOSE)/3;
月:(TYP-MA(TYP,280))/(0.015*AVEDEV(TYP,280)); 周:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)); 日:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); y:=日-ref(日,1); j:=周-ref(周,1); w:=月-ref(月,1); ldfj DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0));
DRAWTEXTREL(20,30,'張氏一號'),LINETHICK6,Coloryellow; DRAWTEXTREL(200,30,STKLABEL+' '+STKNAME),LINETHICK6,ColorFFFF80; M17:EMA(CLOSE,17); 安全線: EMA(CLOSE,55),COLORYELLOW; M140:EMA(CLOSE,140),COLORRED ; M240: EMA(CLOSE,240),COLORblue; Var1:=(2*CLOSE+HIGH+LOW)/4; 下降通道阻擊線: EMA(Var1,99)*0.91, colorgreen,CIRCLEDOT ; gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); if DISPSTATUS=2 then begin; var100:='所屬板塊:'; if inblock('電力')=1 then var100:=var100+' 電力'; if inblock('電腦')=1 then var100:=var100+' 電腦'; if inblock('電器')=1 then var100:=var100+' 電器'; if inblock('電子信息')=1 then var100:=var100+' 電子信息'; if inblock('房地產(chǎn)')=1 then var100:=var100+' 房地產(chǎn)'; if inblock('紡織服裝')=1 then var100:=var100+' 紡織服裝'; if inblock('鋼鐵')=1 then var100:=var100+' 鋼鐵'; if inblock('工程建筑')=1 then var100:=var100+' 工程建筑'; if inblock('供水供氣')=1 then var100:=var100+' 供水供氣'; if inblock('化工')=1 then var100:=var100+' 化工'; if inblock('化纖')=1 then var100:=var100+' 化纖'; if inblock('機械')=1 then var100:=var100+' 機械'; if inblock('建材')=1 then var100:=var100+' 建材'; if inblock('交通工具')=1 then var100:=var100+' 交通工具'; if inblock('交通設(shè)施')=1 then var100:=var100+' 交通設(shè)施'; if inblock('教育傳媒')=1 then var100:=var100+' 教育傳媒'; if inblock('金融')=1 then var100:=var100+' 金融'; if inblock('旅游酒店')=1 then var100:=var100+' 旅游酒店'; if inblock('煤炭石油')=1 then var100:=var100+' 煤炭石油'; if inblock('釀酒食品')=1 then var100:=var100+' 釀酒食品'; if inblock('農(nóng)林牧漁')=1 then var100:=var100+' 農(nóng)林牧漁'; if inblock('其他行業(yè)')=1 then var100:=var100+' 其他行業(yè)'; if inblock('汽車')=1 then var100:=var100+' 汽車'; if inblock('汽配')=1 then var100:=var100+' 汽配'; if inblock('商業(yè)連鎖')=1 then var100:=var100+' 商業(yè)連鎖'; if inblock('石化')=1 then var100:=var100+' 石化'; if inblock('通信')=1 then var100:=var100+' 通信'; if inblock('外貿(mào)')=1 then var100:=var100+' 外貿(mào)'; if inblock('醫(yī)藥')=1 then var100:=var100+' 醫(yī)藥'; if inblock('儀電儀表')=1 then var100:=var100+' 儀電儀表'; if inblock('有色金屬')=1 then var100:=var100+' 有色金屬'; if inblock('運輸物流')=1 then var100:=var100+' 運輸物流'; if inblock('造紙印刷')=1 then var100:=var100+' 造紙印刷'; if inblock('安徽')=1 then var100:=var100+' 安徽'; if inblock('北京')=1 then var100:=var100+' 北京'; if inblock('福建')=1 then var100:=var100+' 福建'; if inblock('甘肅')=1 then var100:=var100+' 甘肅'; if inblock('廣東')=1 then var100:=var100+' 廣東'; if inblock('廣西')=1 then var100:=var100+' 廣西'; if inblock('貴州')=1 then var100:=var100+' 貴州'; if inblock('海南')=1 then var100:=var100+' 海南'; if inblock('河北')=1 then var100:=var100+' 河北'; if inblock('河南')=1 then var100:=var100+' 河南'; if inblock('黑龍江')=1 then var100:=var100+' 黑龍江'; if inblock('湖北')=1 then var100:=var100+' 湖北'; if inblock('湖南')=1 then var100:=var100+' 湖南'; if inblock('吉林')=1 then var100:=var100+' 吉林'; if inblock('江蘇')=1 then var100:=var100+' 江蘇'; if inblock('江西')=1 then var100:=var100+' 江西'; if inblock('遼寧')=1 then var100:=var100+' 遼寧'; if inblock('內(nèi)蒙古')=1 then var100:=var100+' 內(nèi)蒙古'; if inblock('寧夏')=1 then var100:=var100+' 寧夏'; if inblock('青海')=1 then var100:=var100+' 青海'; if inblock('山東')=1 then var100:=var100+' 山東'; if inblock('山西')=1 then var100:=var100+' 山西'; if inblock('陜西')=1 then var100:=var100+' 陜西'; if inblock('上海')=1 then var100:=var100+' 上海'; if inblock('深圳')=1 then var100:=var100+' 深圳'; if inblock('四川')=1 then var100:=var100+' 四川'; if inblock('天津')=1 then var100:=var100+' 天津'; if inblock('***')=1 then var100:=var100+' ***'; if inblock('新疆')=1 then var100:=var100+' 新疆'; if inblock('云南')=1 then var100:=var100+' 云南'; if inblock('浙江')=1 then var100:=var100+' 浙江'; if inblock('重慶')=1 then var100:=var100+' 重慶'; if inblock('3G')=1 then var100:=var100+' 3G'; if inblock('H股')=1 then var100:=var100+' H股'; if inblock('QFII持股')=1 then var100:=var100+' QFII持股'; if inblock('ST')=1 then var100:=var100+' ST'; if inblock('奧運')=1 then var100:=var100+' 奧運'; if inblock('創(chuàng)投')=1 then var100:=var100+' 創(chuàng)投'; if inblock('次新股')=1 then var100:=var100+' 次新股'; if inblock('大盤')=1 then var100:=var100+' 大盤'; if inblock('股權(quán)改革')=1 then var100:=var100+' 股權(quán)改革'; if inblock('股權(quán)投資')=1 then var100:=var100+' 股權(quán)投資'; end; DD:=FINANCE( 1); SS:=FINANCE( 7); FF:=FINANCE(18); GG:=FINANCE(33); HH:=DYNAINFO(39); DRAWTEXTREL(20,190,var100),color00ffff; DRAWTEXTREL(20,150,'機構(gòu)評級:'+selfstring('評級')),color00ffff; IF C>0 AND DISPSTATUS=2 THEN DRAWTEXTREL(20,110,'總股本:'+NUMTOSTRN(DD,0)+'萬股' +' 流通A股:'+NUMTOSTRN(SS,0)+'萬股'+' 市盈率:'+NUMTOSTRN(HH,2)+'%'+' 每股收益:'+NUMTOSTRN(GG,3)),COLORbbffff; 能量暴發(fā) Var1:=(CLOSE*2+HIGH+LOW)/4*10;
Var2:=EMA(Var1,13)-EMA(Var1,34); Var3:=EMA(Var2,5); Var4:=2*(Var2-Var3)*5.5; Var11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1); 趨勢線:=EMA(Var11,3); Var12:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100; 能量:STICKLINE(趨勢線<=13,0,6,8,0),COLORYELLOW; 能量暴發(fā):STICKLINE(趨勢線<=13 AND Var12>13,0,65,1,0),colorred; 發(fā)現(xiàn)黑馬 Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
Var4:=(CLOSE-LLV(CLOSE,N1))/(HHV(CLOSE,N1)-LLV(CLOSE,N1))*100; Var5:=EMA(CLOSE,2)-EMA(CLOSE,150); Var6:=EMA(Var5,100); Var7:=2*(Var5-Var6); Var8:=POW(Var7,3)*0.1+POW(Var7,1); Var9:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE)); VarA:=EMA(Var9*0.97,3); VarB:=(HIGH+LOW+CLOSE)/3; VarC:=(VarB-MA(VarB,14))/(0.015*AVEDEV(VarB,14)); 黑馬線: IF(YEAR<2008 AND Var7>0.1,Var8,0)*5,stick ,linethick2 ; VarD:=LLV(HIGH,240); VarE:=100*(CLOSE-VarD)/VarD; VarF:=AMOUNT/VOL; Var10:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5); Var11:=INDEXC; Var12:=MA(Var11,5); Var13:=MA(Var11,20); Var14:=MA(Var11,30); Var15:=Var14>Var12*1.08 AND Var13>Var12*1.055; Var16:=Var12>Var11*1.03 AND Var13>Var11*1.13; Var17:=Var16; Var18:=IF(FILTER(Var10<6,5)=1,1,0); 發(fā)現(xiàn): (Var18 AND VarE<-2.5 AND Var3<5 AND Var4=0)*60; Var19:=Var10<6 AND Var17; 黑馬: IF(FILTER(Var19,1)=1,1,0)*80,colorblue; 大黑馬: Var19 AND Var18*80,colorblue; 操盤手: Var4; Var1A:=CROSS(黑馬線,2); Var1B:=CROSS(黑馬線,4); 莊拉: IF(FILTER((Var1A OR Var1B) AND Var4<40 AND Var3<40,5)=1,35,0),colorred; Var1C:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; Var1D:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; Var1E:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; Var1F:=REF(CLOSE,1); Var20:=SMA(MAX(CLOSE-Var1F,0),5,1)/SMA(ABS(CLOSE-Var1F),5,1)*100; Var21:=(HIGH+LOW+CLOSE)/3; Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14)); Var23:(Var1C>=-15.8 AND Var1C<=-12.2 AND Var1D<=-20.8 AND Var1E<=-27.5 AND Var20<=11.7 AND Var22<=-145)*100; Var24:Var4=0; Var25:Var4=100; STICKLINE(Var23>0,90,100,5,0),COLORMAGENTA,linethick5; STICKLINE(Var24>0,-3,-9,1,0),colorred ,linethick3; STICKLINE(Var25>0,101,105,1,0),linethick3 ,colorgreen ; DRAWTEXT(Var23>0 ,88 , '發(fā)現(xiàn)大黑馬加把安全鎖,全部虧損問它要'),COLOR0000FF,ALIGN2; DRAWTEXT(發(fā)現(xiàn)>0,20,'短線黑馬2.5%'),Color00FF00,ALIGN2; DRAWTEXT(黑馬>0,40,'黑馬發(fā)現(xiàn)10%'),ColorC57A00,ALIGN2; DRAWTEXT(大黑馬,60,'獲利10%以上'),Color00FFFF,ALIGN2; DRAWTEXT(BARSTATUS=2 and HIGH>=HHV(HIGH,20),90, '創(chuàng)20天新高'),Color0000FF,ALIGN2; 0,colorff8833 ; 100,colorblue ; {[勝算多多]∽換手解盤 N=9} REFLINE: 0, 25, 75, 100;
Var1:=IF(MA(CLOSE,88),1,0); Var2:=1/WINNER(CLOSE); Var3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100); 趨勢: WINNER(AMOUNT/VOL/100)*100*Var1; 高山: (100-ABS((CLOSE-MA(CLOSE,15))/MA(CLOSE,15)*100))*Var1; 火山: IF(Var2>5,IF(Var2<100,Var2,Var3-10),0)*Var1, COLORSTICK; 流水: ABS((COST(50)-CLOSE)/CLOSE*100)*Var1; 趨強: 25, POINTDOT; 強勢: 75, POINTDOT; 中位線: 50; HSL:=vol/capital*100; 量能:=SUM(HSL,N); 漲幅1:=100*(CLOSE-REF(CLOSE,N))/REF(CLOSE,N); 流通市值:=capital*c; AH:=HHV(流通市值,N); AL:=LLV(流通市值,N); t1:=if(HSL<=2,1,0); t2:=if(HSL>2 AND HSL<3,1,0); t3:=if(HSL>3 AND HSL<5,1,0); t4:=if(HSL>5 AND HSL<8,1,0); t5:=if(HSL>8 AND HSL<15,1,0); t6:=if(HSL>15 AND HSL<25,1,0); t7:=if(HSL>=25,1,0); t8:=if(量能>3*N AND 漲幅1>3*N,1,0); t9:=if(量能<0.5*N AND 漲幅1<N,1,0); t10:=if(量能<0.5*N AND 漲幅1>-N AND 漲幅1>0,1,0); t11:=if(量能>3*N AND 漲幅1<-3*N,1,0); t12:=if(((量能>3*N AND 漲幅1<N) OR (量能<0.5*N AND 漲幅1>3*N) OR (量能>3*N AND 漲幅1>-N AND 漲幅1<0) OR (量能<0.5*N AND 漲幅1<-3*N)),1,0); t13:=if(漲幅1>0 and 流通市值<=AL,1,0); t14:=if(漲幅1<=0 and 流通市值<=AL,1,0); sss:=100/4; i:=0; IF HSL<=2 THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'該股票少人關(guān)注,屬于冷門股。'),Color00FF00,ALIGN2; i:=i+1; END IF HSL>2 AND HSL<3 THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'該股票成交溫和,屬于備份股。'),Color00FF00,ALIGN2; i:=i+1; END IF HSL>3 AND HSL<5 THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'該股票的交投越來越活躍,人們購買該股票的意愿高,屬于熱門股。'),ColorFFFFFF,ALIGN2; i:=i+1; END IF HSL>5 AND HSL<8 THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'該股票帶量!'),Color00FF00,ALIGN2; i:=i+1; END IF HSL>8 AND HSL<15 THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'該股票放量!'),Color00FF00,ALIGN2; i:=i+1; END IF HSL>15 AND HSL<25 THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'該股票巨量!'),ColorFFFFFF,ALIGN2; i:=i+1; END IF HSL>=25 THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'該股票成交怪異!'),ColorFFFFFF,ALIGN2; i:=i+1; END IF 量能>3*N AND 漲幅1>3*N THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'繼續(xù)大漲!'),ColorFF00FF,ALIGN2; i:=i+1; END {IF 量能<0.5*N AND 漲幅1<N THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'繼續(xù)小漲!'),ColorFFFF00,ALIGN2; i:=i+1; END IF 量能<0.5*N AND 漲幅1>-N AND 漲幅1>0 THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'繼續(xù)小跌!'),ColorFFFF00,ALIGN2; i:=i+1; END} IF 量能>3*N AND 漲幅1<-3*N THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'繼續(xù)大跌!'),ColorFF00FF,ALIGN2; i:=i+1; END IF ((量能>3*N AND 漲幅1<N) OR (量能<0.5*N AND 漲幅1>3*N) OR (量能>3*N AND 漲幅1>-N AND 漲幅1<0) OR (量能<0.5*N AND 漲幅1<-3*N)) THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'注意反轉(zhuǎn)!'),ColorFF00FF,ALIGN2; i:=i+1; END IF 漲幅1>0 and 流通市值<=AL THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'流通市值減小,漲幅加大'),Color00FFFF,ALIGN2; i:=i+1; END IF 漲幅1<=0 and 流通市值<=AL THEN BEGIN DRAWTEXT(c>0 and DISPSTATUS=2,100-(sss*i),'流通市值加大,漲幅減小'),Color00FFFF,ALIGN2; i:=i+1; END; 籌碼布分 Var1:=MA(COST(99),5);
Var2:=MA(COST(80),5); Var3:=MA(CLOSE,5); Var4:=MA(COST(20),5); Var5:=MA(COST(1),5); Var6:=(Var1-Var2)/Var2*100; Var7:=(Var2-Var4)/Var4*100; Var8:=(Var4-Var5)/Var5*100; Var9:=IF(Var7<10,100,0); 高密集: Var9, COLORSTICK; VarA:=IF(Var7<15,50,0); 中密集: VarA, COLORSTICK; VarB:=IF(Var7<20,25,0); 低密集: VarB, COLORSTICK; 密集度: Var7; zlma(主圖) 低阻力: MA(CLOSE,25)+MA(CLOSE,60)/65;
中阻力: MA(CLOSE,25)+MA(CLOSE,60)/18; 強阻力: MA(CLOSE,60)+MA(CLOSE,60)/12; 可使用本指標拉漲停,制造一日行情。 當(dāng)股價越上中阻力線時,如果強阻力線與之相距10%上,籌碼低位分布稀少,極易拉漲停。漲停后第二天可在強阻力線處放貨。 跟莊時應(yīng)注意量能情況,注意收盤價是否能站在強阻力線之上,如果站穩(wěn),極有可能連連續(xù)拉升。 三道防線 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*C+H+L)/4; Var7:=SMA((Var3/Var1*100),3,1); Var8:=LLV(LOW,34); Var9:=SMA(Var7,3,1)-SMA(Var4,9,1); Var10:= IF(Var9>100,Var9-100,0); VarA:=HHV(HIGH,34); fsA:Var10*2, COLORGREEN; SMA(fsA,2,1),COLORMAGENTA; fsB:EMA((Var6-Var8)/(VarA-Var8)*100,13),COLORCYAN; B1:=EMA(0.667*REF(fsB,1)+0.333*fsB,2); B1,COLORRED; fsC:SMA(Var5,20,1),COLORBLUE; SMA(fsC,5,1),COLORBROWN; A:=SMA(fsA,2,1)-fsA; B:=EMA(0.667*REF(fsB,1)+0.333*fsB,2)-fsB; S:EMA(0.382*REF(fsB,2)+0.618*fsB,12),COLORYELLOW; STICKLINE(REF(fsA,1)<fsA,fsA,SMA(fsA,2,1),5,0),COLORGREEN ; STICKLINE(REF(fsA,1)>fsA,fsA,SMA(fsA,2,1),5,0),COLORMAGENTA; STICKLINE(fsB-B1>0,fsB,B1,5,0),COLORCYAN; STICKLINE(fsB-B1<0,fsB,B1,5,0),COLORRED; STICKLINE(fsC-SMA(fsC,5,1)>0,fsC,SMA(fsC,5,1),5,0),COLORBLUE; STICKLINE(fsC-SMA(fsC,5,1)<0,fsC,SMA(fsC,5,1),5,0),COLORBROWN; 指標使用說明: 防線A:防線A主要用作短線操作,指標由綠變品紅時,個股有短線走弱的趨勢。注意風(fēng)險! 防線B:防線B主要用于波段操作,指標由青色變?yōu)榧t色時,本波段風(fēng)險可能來到,起碼個股有調(diào)整要求。 指標一但向下?lián)舸┹o助線S,最好獲利了結(jié)。 指標在80以上為超強勢區(qū)時可能產(chǎn)生鈍化現(xiàn)象,此時可持股觀望,一但指標向下?lián)舸?0線,建議波段離場。 指標低于20為弱勢區(qū),此時建議不要進貨。 S:S為防線B的輔助指標,也是防線B的生命線。 防線C:防線C是個股的生命線,個股由弱轉(zhuǎn)強時,指標由棕紅色變蘭色,個股由強轉(zhuǎn)弱時則反之。 指標由蘭色變棕紅色時,代表本次行情可能結(jié)束,建議清倉。 對于進貨時機大家自已捉摸。 注意: 1.防線B和防線C都為重要防線,在正常情況下反應(yīng)都比較正確,但在莊家震倉操作或面臨自已被套時操盤將會使指標在短時發(fā)出不正確的信號,這時需要根據(jù)自已的經(jīng)驗和對大勢分析來把握。 2. 以上三道防線對波性比較強的個股很靈敏,但對慢牛股、慢熊股同樣需要自已根據(jù)經(jīng)驗選擇進、出時機。切記! 神奇均線 (主圖) MAV:=(2*C+H+L)/4;
A1:(EMA(MAV,3)+EMA(MAV,6)+EMA(MAV,12)+EMA(MAV,24))/4; A2:EMA(A1,2); A3:EMA(A2,2); A4:EMA(A3,2); A5:EMA(A4,2); A6:EMA(A5,2); A7:EMA(A6,2); 安全線:MA(CLOSE,60),CIRCLEDOT,colorgreen; 波段之星
u1:=1; ys1:=(HIGH+LOW+CLOSE*2)/4*u1; ys2:=EMA(ys1,21); ys3:=STD(ys1,21); ys4:=((ys1-ys2)/ys3*100+200)/4*u1; ys5:=(EMA(ys4,5)-25)*1.56*u1; AJK:EMA(ys5,2)*1.22*u1; AJD:EMA(AJK,2)*u1; AJJ:3*AJK-2*AJD*u1; 100,POINTDOT; 0,POINTDOT; 20,POINTDOT; 80,POINTDOT; 財運亨通 MAV:=(2*C+H+L)/4; 高拋:80, POINTDOT; Var1:=LLV(LOW,34); Var2:=HHV(HIGH,34); SK: EMA((MAV-Var1)/(Var2-Var1)*100,13); SD: EMA(0.667*REF(SK,1)+0.333*SK,2); 低吸:20, POINTDOT; 強弱分界:50, POINTDOT; 抄底逃頂 MAV:=(2*C+H+L)/4; T:80, POINTDOT; D:20, POINTDOT; Var1:=IF(YEAR>=2099 AND MONTH>2,0,1); Var2:=LLV(LOW,5); Var3:=HHV(HIGH,4); SK: EMA((MAV-Var2)/(Var3-Var2)*100,4)*Var1; SD: EMA(0.667*REF(SK,1)+0.333*SK,2)*Var1; RSV:= ((HHV(HIGH,4)-MAV)/(HHV(HIGH,4)-LLV(LOW,4))*100)-72; 漓江倒影:SMA(RSV,4,1),LINESTICK; RSV1:= (MAV-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; FASTK:=SMA(RSV1,2,1); 桂林山水:SMA(FASTK,2,1),LINESTICK; 漓江:12; 底頂偵探 MAV:=(2*C+H+L)/4; TR:= EMA(EMA(EMA(MAV,4),4),4); SJ : (TR-REF(TR,1))/REF(TR,1)*100 COLORSTICK; SD : MA(SJ,2); SK: MA(SJ,1); 強弱分界線:0; 短線高手 JJ :=(C*2+H+L)/4; SK : EMA(JJ,13) - EMA(JJ,21); SD : EMA(SK,2); 多方能量 : (2*(SK-SD),LINESTICK)*3.8; 空方能量 : (-2*(SK-SD),LINESTICK)*3.8; 看長線做短線:0; 短線快槍 MAV:=(2*C+H+L)/4; 安全線: EMA(MAV,55),CIRCLEDOT; SK: SLOPE(EMA(MAV,2),7)*15+MAV; SD:EMA(SK,2); SJ:2.8*SK-1.8*SD; 多空博弈 Var1:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; Var2:=(C-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; Var3:=SMA(Var2,13,8); 高拋:90,POINTDOT; 低吸:0,POINTDOT; 多方能量線: SMA(Var3,13,8); 空方能量線: SMA(Var1,21,8); 強弱分界:45,POINTDOT; 股海航帆 MAV:=(2*C+H+L)/4; Var1:=MA(MAV,N); Var2:=Var1-MA(MAV,N/2)<0; Var3:=Var1-MA(MAV,N/2)>0; Var4:=BARSLAST(Var2); Var5:=0-BARSLAST(Var3); AJX:=IF(Var2<=0,Var4,Var5); 上買下賣:-1*AJX,VOLSTICK; 強弱分界:0,CIRCLEDOT; 主力進出 MAV:=(C*2+H+L)/4; SK := EMA(MAV,13) - EMA(MAV,34); SD := EMA(SK,5); 強弱分界:0,pointdot; 空方主力 : (-2*(SK-SD))*3.8,LINESTICK; 多方主力 : (2*(SK-SD))*3.8,LINESTICK; 還有 指標一:
Var1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; zyc:SMA(Var1,20,1); zzc:SMA(zyc,5,1); Var2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; zyd:SMA(Var2,20,1); zzd:SMA(zyd,5,1); 可抄底區(qū)間:13,colorgreen; 看看可跟進:35,coloryellow; 風(fēng)險出貨區(qū):79,colorred; 指標二 Var4:=3*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH, n)-LLV(LOW,n))*100, 20, 1)-2*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100, 20, 1), 15, 1); Var5:=3*SMA((OPEN-LLV(LOW,n))/(HHV(HIGH, n)-LLV(LOW,n))*100, 20, 1)-2*SMA(SMA((OPEN-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100, 20, 1), 15, 1); Var6:=100-Var5; Var7:=100-Var4; a1:=ref(c,1); a2:=100*v/capital*10; 雁南飛:STICKLINE(Var7va1:=ma(var6,3); 鳳升天:STICKLINE(-1*Var7>va1, -1*Var7, -1*Var6,a2,1), COLORYELLOW; 燕歸來:STICKLINE(Var7>=REF(Var6, 1), -1*Var7, -1*Var6, a2,1), COLORGREEN; 不死鳥:FORCAST(-1*var6,21),COLORMAGENTA; 海:-100; 空:0; 陸:-70; n:1,100,75 指標三: Var1:=1/WINNER(CLOSE); Var2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; Var3:=100-ABS(Var2); Var4:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100; Var5:=SMA(Var4,20,1); Var6:=SMA(Var5,15,1); AA: 100-3*Var5+2*Var6; IF(AA>REF(AA,1),AA,AA-3); Var7:=MA(WINNER(CLOSE*0.95)*100,3); VVV: IF(Var1>5,IF(Var1<100,Var1,Var3-10),0), LINESTICK; 100, POINTDOT; Var8:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; Var9:=SMA(Var8,5,1); VarA:=SMA(Var9,5,1); IF(CROSS(Var9,VarA) AND Var9<20,90,0); IF(CROSS(VarA,Var9) AND Var9>80,-10,0); VarB:=HHV(HIGH,25); VarC:=LLV(LOW,25); CC: EMA((CLOSE-VarC)/(VarB-VarC)*100,5); IF(CC<7,80,0); IF(CROSS(CC,VVV),80,0), , {;00010001};; VarD:=EMA(CLOSE,12)-EMA(CLOSE,26); VarE:=10*EMA(VarD,9); VarF:=2*(VarD-VarE); IF(VarF>0,6*VarF,0), COLORSTICK; 指標四: a1:ema(winner(c),10); a2:ema(winner(c),34); a3:ema(winner(c),120); a4:=ema(winner(c),259); 關(guān)注點:if(MA(VOL,25)>MA(VOL,140) AND CROSS(a1,a2) AND a2<0.6 AND a2>a4,1,0); 看看可跟進:if(MA(VOL,5)>MA(VOL,28) and cross(a1,a4) and a2<0.6 and a4>ref(a4,5) and a4<0.6 and (MA(C,300)>REF(MA(C,300),2) or MA(CLOSE,21)>REF(MA(CLOSE,21),21)),1,0); 介入時機:if(a1<0.15 and abs(a1-a2)<0.05 and cross(a1,a2),1,0); 高風(fēng)險出貨:if(a1>0.85 and c 指標五: MAV:=(2*C+H+L)/4; 高拋:80, POINTDOT; Var1:=LLV(LOW,34); Var2:=HHV(HIGH,34); SK: EMA((MAV-Var1)/(Var2-Var1)*100,13); SD: EMA(0.667*REF(SK,1)+0.333*SK,2); 低吸:20, POINTDOT; 強弱分界:50, POINTDOT; 異動 SUM(VOL,30);
SUM(VOL,20); SUM(VOL,15); SUM(VOL,10); 5*VOL, COLORSTICK; IF(5.5*VOL>SUM(VOL,20),3*SUM(VOL,20),0); IF(5.5*VOL>SUM(VOL,15),2*SUM(VOL,15),0); CAPITAL/5; hh1 a1:=SUM(VOL,13)/capital;
水:100-(100/(1+a1)),color00ff00; a:=LLV(DMA(CLOSE,VOL/capital),120); 火:100*(CLOSE-a)/a,colorred; b:20,COLORblue; d:30,ColorYELLOW; 黑馬附圖 M17:EMA(CLOSE,17);
安全線: EMA(CLOSE,55),COLORYELLOW; M140:EMA(CLOSE,140),COLORRED ; M240: EMA(CLOSE,240),COLORblue; Var1:=(2*CLOSE+HIGH+LOW)/4; 下降通道阻擊線: EMA(Var1,99)*0.91,colorgreen,crossdot; MACD:="MACD.MACD"(20,5,10); K20:="SLOWKD.K"(20,5,5,5); D20:="SLOWKD.D"(20,5,5,5); zK:="SLOWKD.K#WEEK"(5,3,3,3); zd:="SLOWKD.D#WEEK"(5,3,3,3); L000:=(K20>=D20 AND MACD>=0) OR (zK>=zd AND MACD>=0) OR (zK>=zd AND K20>=D20); L001:=K20>=D20 AND zK>=zd AND MACD>=0; STICKLINE(L001=0,C,O,6,0), COLORff8888; STICKLINE(L001=0,H,L,0,0) ,COLORff8888; STICKLINE(L000>0,C,O,6,0), COLORyellow; STICKLINE(L000>0,H,L,0,0), COLORyellow; STICKLINE(L001>0,C,O,6,0), COLORred; STICKLINE(L001>0,H,L,0,0), COLORred; STICKLINE(C<=REF(C,1) AND L001>0,C,O,6,0), COLORgreen; STICKLINE(C<=REF(C,1) AND L001>0,H,L,0,0), COLORgreen; ma3主圖 ma6:ma(c,6),Color0000ff;
ma18:ma(c,18),color0096ff; ma30:ma(c,30),COLOR00ff99; ma60:ma(c,60),Colorff00ff; aaf:LLV(LOW,34),LINETHICK1,COLORffffcc; bbf:MA(aaf,4),LINETHICK1,coloryellow; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; DRAWICON(CROSS(84,RSI) ,h*1.03,5); DRAWICON(CROSS(RSI,11) ,l*0.99,4); Var27:=REF(CLOSE,1); Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100; DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5); DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5), LOW,'☆'),linethick7 , COLORff00ff; VARA:=((AMOUNT)/(VOL))/(100); VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7); VARC:=((SUM(AMOUNT,7))/(VARA))/(100); VARD:=DMA(VARB,(VOL)/(VARC)); VARE:=((CLOSE-VARD)/(VARD))*(100); VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100); VARJ:=MA(VARE,20)+STD(VARE,20); BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100); aa:=SMA(VARF,3,1); ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79); DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>ss),h*1.02,'☆'),LINETHICK7,colorgreen; Var1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 有未來} Var2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2); STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;{高位黃色} STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;{高位黃色} STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;{高位黃色} STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;{底位紅色} STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;{底位紅色} STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;{底位紅色}; 絕佳頂?shù)?/font> A0:=HHV(H,9)-LLV(L,9);
A1:=HHV(H,9)-C; A2:=C-LLV(L,9); A3:= A1/A0*100-70; A4:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100; A5:=(2*C+H+L)/4; A6:=SMA(A2/A0*100,3,1); A7:=LLV(L,34); A8:=SMA(A6,3,1)-SMA(A3,9,1); A9:=IF(A8>100,A8-100,0); AA:=HHV(H,34); AB:=A9*2; AC:=EMA((A5-A7) / (AA-A7)*100,13); AD:= EMA(0.667*REF(AC,1)+0.333*AC,2); AE:=SMA(A4,20,1); AF:=SMA(AB,2,1)-AB; B0:=EMA(0.667*REF(AC,1)+0.333*AC,2)-AC; B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70; B2:=SMA(B1,9,1)+100; B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100; B4:=SMA(B3,3,1); B5:=SMA(B4,3,1)+100; B6:=B5-B2; B7:IF(B6>60,B6-60,0),linethick2,colorblue; 持有:STICKLINE(REF(B7,1)<B7,B7,REF(B7,1),5,0),colorred; 出貨:STICKLINE(REF(B7,1)>B7,B7,REF(B7,1),5,0),colorgreen; obvmacd OBV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,1);
obve:=ema(obv,3); DIFF : EMA(obve,12) - EMA(obve,26); bbDIFF:=DIFF-ref(DIFF,1); DEA : EMA(DIFF,9); bbDEA:=DEA-ref(DEA,1); MACD : 2*(DIFF-DEA), COLORSTICK; STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,4,1),colorgreen; STICKLINE(MACD<ref(MACD,1)and MACD<0,0,MACD,4,0),colorgreen; STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,4,1),COLORred; STICKLINE(MACD>ref(MACD,1)and MACD>0,0,MACD,4,0),COLORred; 網(wǎng)友想要的z9主圖 aaa:=(ma(close,13)+ma(close,17))/2;
ccc:=(std(close,13)+std(close,17))/2; bbb:=aaa+2.1*ccc; ddd:=aaa+0.72*ccc; zzz:=if(ccc>1.88,ma(ddd,3),ddd); 平衡:zzz,colorwhite; 止贏:zzz*1.1,coloryellow; 了結(jié):zzz*1.05,colormagenta; 回檔:zzz*0.95,colorgreen; 反彈:zzz*0.9,colorblue; drawtext(C>=1.09*ref(C,1),C,'漲停'),coloryellow; STICKLINE(CLOSE>0,(O+C)/2,(O+C)/2,8,0),COLORYELLOW; ma1:(ma(c,3)+ma(c,5))/2,colorcyan; ma2:(ma(c,8)+ma(c,13))/2,coloryellow; SFF:=H/REF(H,1)<1 AND REF(h,1)/REF(h,2)<1 AND L/REF(L,1)>1 and REF(L,1)/REF(L,2)>1 ; drawtext(SFF,l*0.95,'大鯊魚:關(guān)注'),coloryellow; stickline(平衡<ref(平衡,1) and ref(平衡,1)<ref(平衡,2),平衡*1.002,平衡*0.998,3,0),colorblue; 賣:drawtext(filter( h<=ref(h,1) and c<ref(c,1) and ma1<ref(ma1,1) and H>平衡 and 平衡<ref(平衡,1),4) or (h>了結(jié) and c<了結(jié) and c<o or (h>平衡 and c<平衡) and c<o and 平衡<ref(平衡,1)),h*1.01,'賣'),colorgreen; 買:drawtext(filter( C>ref(C,1) and L>=ref(l,1) and ma1>ref(ma1,1) and L<平衡 and 平衡>ref(平衡,1) or (L<回檔 and c>回檔 and c>o and 平衡>ref(平衡,1) or (l<平衡 and c>平衡) and c>o and 平衡>ref(平衡,1)),5),l*0.99,'買'),colorred; 清倉:drawtext(H>止贏 and C<止贏 and C<O or ref(C,1)>止贏 and c<ref(c,1),止贏*0.99,'清倉'),coloryellow; 滿倉:drawtext((ref(C,1)<反彈 or L<反彈) and C>反彈 and C>O or filter(ref(C,1)<反彈 and c>ref(c,3),5),L*0.99,'滿倉'),colormagenta; 選股:=(ref(C,1)<反彈 or L<反彈) and C>反彈 and C>O; 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); BU:=cross(買線,賣線); SEL:=cross(賣線,買線); drawicon(bu,LOW*0.98,1),colorred,linethick3; drawicon(sel,HIGH*1.02,2),colorgreen,linethick3; gl RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; DRAWTEXT(REF(J,1)<0 AND J>0,50,'短買'),colorred ; 短線獲利:STICKLINE(REF(J,1)<0 AND J>0,60,0,2,0),color0000ff; 目前位置:K; 技術(shù)低位:20; 技術(shù)中位:50,POINTDOT; 技術(shù)高位:80; ma2 ema13:ema(c,13),colorwhite;
ema21:ema(c,21),coloryellow; ema34:ema(c,34),colorff00ff; ema120:ema(c,120),colorffcccc; ema250:ema(c,250),colorffcc66; x:=BARPOS-hhv(if(DISPSTATUS=1,BARPOS,0),0)+1; hh:=hhv(h,x); ll:=llv(l,x); hl:=hh-ll; a80:=.809*hl+ll;a61:=.618*hl+ll;a38:=.382*hl+ll; a19:=.191*hl+ll; a5:=.5*hl+ll; DRAWTEXTREL(0,0,'最高 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄' ),coloraaaaaa; DRAWTEXTREL(0,900+76,'最低.................................................................................................................................'),color00ff00; DRAWTEXTREL(0,0.50*(900+76),'0.5..................................................................................................................................'),color0099ff; DRAWTEXTREL(0,0.191*(900+76),'0.809................................................................................................................................'),colorred; DRAWTEXTREL(0,0.382*(900+76),'0.618................................................................................................................................'),colorred; DRAWTEXTREL(0,0.618*(900+76),'0.382................................................................................................................................'),colorred; DRAWTEXTREL(0,0.809*(900+76),'0.191................................................................................................................................'),colorred; DRAWTEXTREL(999,0.809*(900+76),'19.1%:'+NUMTOSTR(a19)),VALIGN2,ALIGN2,colorwhite; DRAWTEXTREL(999,0.618*(900+76),'38.2%:'+NUMTOSTR(a38)),VALIGN2,ALIGN2,colorwhite; DRAWTEXTREL(999,0.5*(900+76),'50%:'+NUMTOSTR(a5)),VALIGN2,ALIGN2,color0099ff; DRAWTEXTREL(999,0.382*(900+76),'61.8%:'+NUMTOSTR(a61)),VALIGN2,ALIGN2,colorwhite; DRAWTEXTREL(999,0.191*(900+76),'80.9%:'+NUMTOSTR(a80)),VALIGN2,ALIGN2,colorwhite; 抄底 Var4:=MA(CLOSE,5);
Var5:=MA(CLOSE,10); Var6:=MA(CLOSE,30); Var7:=MA(CLOSE,60); Var8:=EMA(COST(85),7); Var9:=EMA(COST(15),7); VarA:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4); VarB:=Intpart(VarA*100)/100; VarC:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7); VarD:=Intpart(VarC*100)/100; VarE:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28); VarF:=Intpart(VarE*100)/100; 短線趨勢:EMA(CLOSE,5)-EMA(CLOSE,10),colorwhite; 中線趨勢:EMA(短線趨勢,中線),colorgreen; Var10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100; Var11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100; Var12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100; Var13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100; Var14:=REF(中線趨勢,1); Var15:=中線趨勢; Var16:=Var15-Var14; Var17:=REF(短線趨勢,1); Var18:=短線趨勢; Var19:=Var18-Var17; Var1A:=OPEN; Var1B:=CLOSE; 短線買進:=CROSS(短線趨勢,中線趨勢) AND 短線趨勢<0 AND 中線趨勢<-0.2 AND Var11>45 AND Var16>0; STICKLINE((if(短線買進>0,1,0)>0),0,短線趨勢,4,0),COLORred; nmw:=(Var1A<=Var4 AND Var1A<=Var5 AND Var1A<=Var6 AND Var1B>=Var4 AND Var1B>=VarF AND Var16>0 AND Var19>0); DRAWTEXT((if(nmw>0,0.8,0))>0,短線趨勢,'買2'),COLORyellow; 短線 9 1 20 中線 21 1 30
平衡線(主圖) X1: EMA(CLOSE,5);
X2: EMA(CLOSE,17); X3: EMA(close,55); 平衡線: DMA(COST(50),VOL/CAPITAL), crossdot ; 莊家生命 RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 莊家生命:MA(WINNER( CLOSE*1)*100,5),color009900,linethick1; FILLRGN(0 ,莊家生命,莊家生命),color009900; AA:=EMA(j,6); 壓力線: EMA(((HHV(AA,n2)+LLV(AA,n2))/2)/1,N1)+30,COLORMAGENTA, crossdot; 短線:EMA(j,6),COLORred; 浮籌:MA(短線,28)*1,linethick2,COLORgreen; 空方:MA(100*(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35)),3),COLORyellow; STICKLINE( CROSS(短線,浮籌) AND 短線<36 ,浮籌+8,浮籌-8,6,0 ),COLORRED; DRAWTEXT(CROSS(浮籌,短線) AND 浮籌>70,短線,'反彈結(jié)束'),COLORGREEN; DRAWTEXT(CROSS(浮籌,空方),浮籌,'還有一波'),colorwhite; 壓力:=if(35+ema(浮籌,80)<100,35+ema(浮籌,80),100); N 19 N1 30 N2 30 PQSM Var1:=1;
Var2:=1/WINNER(CLOSE); Var3:=MA(CLOSE,13); Var4:=100-ABS((CLOSE-Var3)/Var3*100); Var5:=LLV(LOW,75); Var6:=HHV(HIGH,75); Var7:=(Var6-Var5)/100; Var8:=SMA((CLOSE-Var5)/Var7,20,1); Var9:=SMA((OPEN-Var5)/Var7,20,1); VarA:=3*Var8-2*SMA(Var8,15,1); VarB:=3*Var9-2*SMA(Var9,15,1); VarC:=100-VarB; 實力: (100-VarA)*Var1,linethick2 , color00ccff; 散戶: MA(WINNER(CLOSE*0.95)*100,3)*Var1,linethick2 ,COLORYELLOW ; 新莊: (100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0))*Var1,linethick1 ,COLORGREEN ; VarD:=散戶>Var4; VarE:=REF(LOW,1)*0.9; VarF:=LOW*0.9; Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL; Var11:=EMA(Var10,30); Var12:=CLOSE-REF(CLOSE,1); Var13:=MAX(Var12,0); Var14:=ABS(Var12); Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100; Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100; Var17:=BARSCOUNT(CLOSE); Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100; Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; Var1B:=SMA((SMA(Var1A,4,1)-50)*2,3,1); Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; Var1D:=SMA(Var1C,4,1); Var1E:=SMA(Var1D,3,1); Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; Var20:=Var18<=25 AND Var19<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var11-CLOSE>=-0.25 AND Var15<22 AND Var16<28 AND Var17>50; Var21:=(HIGH+LOW+CLOSE)/3; Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14)); Var23:=(Var21-MA(Var21,70))/(0.015*AVEDEV(Var21,70)); Var24:=IF(Var22>=150 AND Var22<200 AND Var23>=150 AND Var23<200,10,0); Var25:=IF(Var22<=-150 AND Var22>-200 AND Var23<=-150 AND Var23>-200,-10,Var24); 小心斷裂: (IF(Var23>=200 AND Var22>=150,15,IF(Var23<=-200 AND Var22<=-150,-15,Var25))+50)*Var1,colorwhite ; STICKLINE(VarD,Var4,散戶,5,0),COLORRED ; STICKLINE(1,散戶,0,1,0),COLORYELLOW ; STICKLINE(1,新莊,100,1,0),colorgreen ; STICKLINE(Var20,0,80,5,0), COLORRED; DRAWTEXT(CROSS(Var20,0.5) AND COUNT(Var20=1,10)=1,60,'有錢不賺是傻蛋!'),COLORYELLOW ; DRAWTEXT(CROSS(VarD,0.5) AND COUNT(VarD=1,10)=1,70,'賺錢我走啦!'),colorgreen ; Var26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; Var27:=REVERSE(Var26); Var28:=SMA(Var26,3,1); 波段王: SMA(Var28,3,1)*Var1,COLORMAGENTA; 波段鬼: SMA(波段王,3,1)*Var1,COLORYELLOW ; 地獄: IF(CROSS(波段王,波段鬼) AND 波段王<40,35,0)*Var1,COLORRED ; 天堂: IF(CROSS(波段鬼,波段王) AND 波段鬼>75,70,100)*Var1 ,COLORGREEN ; DRAWTEXT(CROSS(波段王,波段鬼) AND 波段王<40,25,'吸吶 !'),COLORWHITE ; DRAWTEXT(CROSS(波段鬼,波段王) AND 波段鬼>75,85,'減磅!'), COLORCYAN; 百萬絕品 Var1:=1;
趨勢線: Var1*(1.06*(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)+50), colorred; Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5; Var3:=LLV(LOW,34); Var4:=HHV(HIGH,34); SK: EMA((Var2-Var3)/(Var4-Var3)*100,13)*Var1; SD: EMA(SK,3)*Var1; 買入: IF(CROSS(趨勢線,8.5),60,19)*Var1,colorred; 賣出: IF(CROSS(87,趨勢線),40,81)*Var1,colorblue; Var5:=AMOUNT/VOL/100; Var6:=IF(Var5>CLOSE*1.1,CLOSE,IF(Var5<CLOSE*0.9,CLOSE,Var5)); Var7:=100*WINNER(Var6); Var8:=MA(Var7,8)*Var1; Var9:=HHV(CLOSE,0)/Var8; VarA:=IF(Var9>2.5,-10,Var9); VarB:=IF(VarA>1,-10,VarA); 底限: VarB,colorgreen; VarC:=Var8/LLV(LOW,0); VarD:=HHV(HIGH,0)/Var8*8*10; VarE:=IF(VarD>50,50,VarD); VarF:=VarE; Var10:=HHV(HIGH,0)/Var8*4.5*100; Var11:=IF(Var10>100,103,Var10); DRAWTEXT(Var1 AND CROSS(87,趨勢線),35,'逃'),colorblue; DRAWTEXT(Var1 AND CROSS(趨勢線,8.5),65,'買'),colorred; DRAWTEXT(Var1 AND CROSS(90,Var8),86,'誘多'),colorgreen; DRAWTEXT(Var1 AND CROSS(Var8,10),11,'吸籌'),colorred; DRAWTEXT(Var1 AND CROSS(Var8,46),Var8,'拉升'),colorred; Var13:=IF(CROSS(SK,SD),23,19); Var14:=IF(CROSS(SD,SK),77,81); 賣: Var14 ; 買進: Var13; 碧血青鋒 CYCMAX:="CYC@CYCMAX";
CYS13:="CYS@CYS"; CYSW:=CLOSE/CYCMAX*100-100; AA:="1A0001$AMOUNT";AV:="1A0001$VOL";AC:="1A0001$CLOSE";{原來是0號指數(shù)} AO:="1A0001$OPEN";AH:="1A0001$HIGH";AL:="1A0001$LOW"; Var1:=AA/AV/100; Var2:=(3*AH+AL+AO+2*AC)/7; Var3:=SUM(AA,13)/Var1/100; ACYC:=DMA(Var2,AV/Var3); ACYS13:=(AC-ACYC)/ACYC*100; M:=CLOSE; A1:=CYS13<-10 AND CYSW<0; A2:=CYS13<-14 AND CYSW<-10 AND CYS13<REF(CYS13,1); A3:=CYS13<-16 AND CYSW<-20 AND ACYS13<-4.5 AND ACYS13<REF(ACYS13,1); A4:=CYS13<-17 AND CYSW<-40 AND ACYS13<-8 AND ACYS13<REF(CYS13,1); A5:=CYS13<-20 AND CYSW<-40 AND ACYS13<-10 AND ACYS13<REF(ACYS13,1); 碧血出鞘:IF(A5>0,M*5.5,0),STICK,COLORGREEN; 青鋒:IF(A4>0,M*4.1,0),STICK,COLORFFFF33; 烈焰:IF(A3>0,M*3.1,0),STICK,COLORFFCC33; 火焰:IF(A2,M*2.1,0),STICK,COLORYELLOW; 血:IF(A1,M*1.1,0),STICK,COLORRED; STICKLINE(A5>0,M*5.5,0,4,0),COLORGREEN; STICKLINE(A4>0,M*4.1,0,4,0),COLORFFFF33; STICKLINE(A3>0,M*3.1,0,4,0),COLORFFCC33; STICKLINE(A2>0,M*2.1,0,4,0),COLORYELLOW; STICKLINE(A1>0,M*1.1,0,4,0),COLORRED; DRAWTEXT(A5>0,M*4.1,'【碧血劍出,全倉殺入】'),COLORGREEN; DRAWTEXT(A4>0 AND A5<M*5.5,M*3.1,'【青鋒半露,分倉介入】'),COLORCYAN; 完全換手 VARIABLE:K=1;
VAR1:=SUM(VOL,0); VAR2:=VAR1/CAPITAL; N:=FLOOR(VAR2); IF N=REF(N,1)+1 THEN BEGIN STICKLINE(C,0,80,4,1); DRAWTEXT(C,80,' 第'),ALIGN0,COLORGREEN; DRAWTEXT(C,70,' '+NUMTOSTR( N)),ALIGN0,COLORRED; DRAWTEXT(C,60,' 次'),ALIGN0,COLORGREEN; DRAWTEXT(C,50,' 完'),ALIGN0,COLORGREEN; DRAWTEXT(C,40,' 全'),ALIGN0,COLORGREEN; DRAWTEXT(C,30,' 換'),ALIGN0,COLORGREEN; DRAWTEXT(C,20,' 手'),ALIGN0,COLORGREEN; DRAWTEXT(C,10,' '+NUMTOSTR( K)+'天'),ALIGN0,COLORGREEN; K:=1; END ELSE K:=K+1; 海底火山 Var1:=1/WINNER(CLOSE);
Var2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; Var3:=100-ABS(Var2); Var4:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100; Var5:=SMA(Var4,20,1); Var6:=SMA(Var5,15,1); AA: 100-3*Var5+2*Var6,colorgreen; IF(AA>REF(AA,1),AA,AA-3); Var7:=MA(WINNER(CLOSE*0.95)*100,3); VVV: IF(Var1>5,IF(Var1<100,Var1,Var3-10),0),colorgreen, LINESTICK; 100; Var8:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; Var9:=SMA(Var8,5,1); VarA:=SMA(Var9,5,1); IF(CROSS(Var9,VarA) AND Var9<20,90,0); IF(CROSS(VarA,Var9) AND Var9>80,-10,0); VarB:=HHV(HIGH,25); VarC:=LLV(LOW,25); CC: EMA((CLOSE-VarC)/(VarB-VarC)*100,5),linethick2,colorred; IF(CC<7,80,0); IF(CROSS(CC,VVV),80,0); VarD:=EMA(CLOSE,12)-EMA(CLOSE,26); VarE:=10*EMA(VarD,9); VarF:=2*(VarD-VarE); IF(VarF>0,6*VarF,0), COLORSTICK; 趨勢 參數(shù):N 13 ?。薄 。玻?br>
A1:=SMA(AMOUNT,10,1)/10000000; B1:=C>REF(C,1); B2:=C<=REF(C,1); ZF:=(C-REF(C,1))/REF(C,1)*100; DD:=SUM(IF (B1,A1*ZF,0),N); KK:=SUM(IF (B2,A1*ZF,0),N); DF:=SMA(DD,3,1); KF:=-1*SMA(KK,3,1); 趨勢:DF-KF,Colorred,linethick2; DLMA:SMA(趨勢,3,1),Color29BB27; 頂: HHV(MA(趨勢,3),13),Colorwhite,linethick2; 底:llV(MA(趨勢,3),13),ColorEAF600,linethick2; 用法:趨勢>0,趨勢上穿底買入,趨勢下穿頂賣出.
組合K線 osc:=c/ma(c,6);
短線:= EMA(SLOPE(osc,8)*11+osc,55)*2; 散戶:= EMA(osc,8)*2 ; 散戶短線:=散戶-短線; M5:MA(CLOSE,5); M13:MA(CLOSE,13); M34:MA(CLOSE,34); Var1:=(2*CLOSE+HIGH+LOW)/4; 下降通道阻擊線: EMA(Var1,99)*0.91, crossdot ; 平衡線: DMA(COST(90),VOL/CAPITAL),colorred; aa1:=ema(c,2); bb1:=ema(aa1,2); a:=ma(bb1,3); aa2:=ema((h+c+o)/3,18); dd3:=a>=aa2 and c>aa2; dd4:=a<aa2 ; dd5:=a>aa2 ; STICKLINE((dd4 or dd5) and o<=c ,h,l,0.5,0),Color00cc99; STICKLINE((dd4 or dd5) and o<=c ,c,o,7,0),Color00cc99; STICKLINE((dd4 or dd5) and o>=c ,h,l,0.5,0),Color3F8C3A; STICKLINE((dd4 or dd5) and o>=c ,c,o,7,0),Color3F8C3A; STICKLINE((dd3 or c>aa2) and o<=c,c,o,7,0),Colorred; STICKLINE((dd3 or c>aa2) and o<=c,h,l,0.5,0),Colorred; STICKLINE((dd3 or c>aa2) and o>=c,c,o,7,0),Colorff33ff; STICKLINE((dd3 or c>aa2) and o>=c,h,l,0.5,0),Colorff33ff; 紅色操作 cycmax:"cyc.CYCMAX",color009900;
現(xiàn)價:c,linethick2,colorred; FILLRGN(c,"cyc.CYCMAX","cyc.CYCMAX">c),color009900; FILLRGN(c,"cyc.CYCMAX",c>"cyc.CYCMAX"),colorred; 陳氏抄底 BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6; 乖離:=MA(BIAS,3); 抄底:IF(乖離<-12 AND 乖離>=-18,-10,0), COLORred,LINETHICK0; STICKLINE(乖離<-12 AND 乖離>=-18,2,0,6,0) , COLORred; 抄底二:IF(乖離<-18,5,0),ColorFF35FF,LINETHICK0; STICKLINE(乖離<-18,4,0,6,0),ColorFF35FF; Var1:=DMA(CLOSE,VOL/MA(VOL,4)/4); Var2:=DMA(CLOSE,VOL/MA(VOL,31)/31); Var3:=(CLOSE-Var1)/Var1*100<-10; Var4:=(Var1-Var2)/Var2*100<-16; Var5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23; Var6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16; Var7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27)); Var8:=INDEXC; Var9:=MA(Var8,6); VarA:=MA(Var8,24); VarB:=MA(Var8,32); VarC:=VarB>Var9*1.11 AND VarA>Var9*1.095; sss:=(Var3 AND Var4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR Var5 AND Var6 AND CROSS(Var7,79) OR VarC AND CLOSE/COST(8)<=0.8)*100; 抄底王:sss>0,colorWHITE,LINETHICK0; STICKLINE(sss>0,0,6,6,0),colorWHITE; 陳氏抄底:抄底<0 or 抄底二>0 or 抄底王>0,coloryellow,LINETHICK0; DRAWICON(陳氏抄底>0,0,12); 當(dāng)天換手:=V/CAPITAL*100; 五天換手:=SUM(當(dāng)天換手,5)/2; 量能線:=ma(五天換手,2); 2,POINTDOT,LINETHICK2,COLORWHITE; Varr1:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; Varr2:=EMA(Varr1,24); Varr3:=EMA(Varr2,10); Varr4:=3*Varr2-2*Varr3; Varr5:=EMA(Varr4,5)/10; 風(fēng)險頂線: 8,POINTDOT,LINETHICK1,COLORWHITE; 陳氏趨勢線: EMA(Varr5,5),coloryellow; DRAWICON(陳氏趨勢線>ref(陳氏趨勢線,1),陳氏趨勢線,8); 5,POINTDOT,LINETHICK2,COLORWHITE; DRAWTEXT(cross(陳氏趨勢線, 7.5),7,'【注意】'),COLORff0055; DRAWICON(cross(陳氏趨勢線, 7.5),陳氏趨勢線,10); 操盤 買線:=EMA(C,3);
賣線:=EMA(SLOPE(C,21)*20+C,42); 買:=CROSS(買線,賣線); 賣:=CROSS(賣線,買線); 買了:STICKLINE(買,0,6,2,0),COLORRED; 賣了:STICKLINE(賣,0,6,2,0),COLORGREEN; 成本均線 CYC5:DMA(C,VOL/SUM(VOL,5));
CYC13:DMA(C,VOL/SUM(VOL,13)); CYC34:DMA(C,VOL/SUM(VOL,34)); CYC55:DMA(C,VOL/SUM(VOL,55)); STICKLINE(C>=O,O,C,8,1),COLORRED; STICKLINE(C>=O,C,H,0,1),COLORRED; STICKLINE(C>=O,L,O,0,1),COLORRED; STICKLINE(C<O,C,O,8,0),COLORGREEN; STICKLINE(C<O,O,H,0,0),COLORGREEN; STICKLINE(C<O,L,C,0,0),COLORGREEN; 成本均線1 成本均線:0,linethick0;
z1:DMA(CLOSE,VOL/CAPITAL*430/100),colorwhite; z2:DMA(CLOSE,VOL/CAPITAL*240/100),coloryellow; z3:DMA(CLOSE,VOL/CAPITAL*155/100),coloraaccff; z4:DMA(CLOSE,VOL/CAPITAL*110/100),COLORmagenta; z5:DMA(CLOSE,VOL/CAPITAL*80/100),COLOR00aa00; z6:DMA(CLOSE,VOL/CAPITAL*34/100),colorb48c33; 老鴨頭(主圖) ma5:MA(C,5),COLORRED;
ma10:MA(C,10),COLORYELLOW; ma20:MA(C,20),ColorD4FF7F; A0:=AMOUNT/VOL/100; A1:=(EMA(A0,3)>EMA(A0,7) AND EMA(A0,7)>EMA(A0,13) AND EMA(A0,13)>EMA(A0,21))*6; 短線起飛:A1,COLORGREEN,LINETHICK0; DRAWICON(A1,MA(C,20),8),ALIGN0; 操盤線 MA5:MA(CLOSE,5),ColorFFFfff,linethick1;
MA8:MA(CLOSE,8),ColorFFff00,linethick1; MA13:MA(CLOSE,13),Color00Ffff,linethicK1; MA21:MA(CLOSE,21),Color00ff00,linethick1; MA34:MA(CLOSE,30),ColorFF00ff,linethick1; MA55:MA(CLOSE,55),Color0000ff,linethick1; 買線:EMA(C,2),color000000; 賣線:EMA(SLOPE(C,21)*20+C,42),pointdot,color000000; 買:=cross(買線,賣線); 賣:=cross(賣線,買線); drawtext(買,LOW*0.99,'B'),colorf00ff0,linethick5; drawtext(賣,HIGH*1.01,'S'),colorwhite,linethick5; stickline(買線>=賣線,low,high,0.1,0),colorred; stickline(買線>=賣線,close,open,4.5,0),color0000AA; stickline(買線>=賣線,close,open,3,0),color0000CC; stickline(買線>=賣線,close,open,2,0),color0000DD; stickline(買線>=賣線,close,open,1,0),color0000FF; stickline(買線<賣線,close,open,1,0),colorEEEE00; stickline(買線<賣線,close,open,2,0),colorDDDD00; stickline(買線<賣線,close,open,3,0),colorCCCC00; stickline(買線<賣線,close,open,4.5,0),colorAAAA00; stickline(買線<賣線,low,high,0.1,0),colorFFff00; stickline(cross(買線,賣線) or cross(賣線,買線),open,close,3.5,0),coloryellow; 刀客均線 Var1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
Var2:=eMA(Var1,13); Var3:=REF(Var2,1); STICKLINE(Var2>=Var3,Var3,Var2,4,0), COLORRED; STICKLINE(Var3>Var2,Var2,Var3,4,0), COLORFFFF00; ma1:MA(Var2,3); ma2:MA(Var2,7); ma3:MA(Var2,9); ma4:MA(Var2,18); 成本阻擊(主圖) input:m(88,1,100),n(6,2,100),n1(-3,-10,10),n2(-6,-10,10);
CYC2: DMA((CLOSE+OPEN)/2,VOL/(SMA(VOL,13,1)*13)); CYC3: DMA((CLOSE+OPEN)/2,VOL/(SMA(VOL,34,1)*34)); CYC4: DMA((CLOSE+OPEN)/2,VOL/(SMA(VOL,89,1)*89)),linethick2; Var1a:=(HIGH+LOW+CLOSE)/3; Var2a:=(Var1a-MA(Var1a,14))/(0.015*AVEDEV(Var1a,14)); Var3:=MA(VOL,5); Var4:=MA(VOL,10); Var5:=MA(VOL,60); Var6:=MA(CLOSE,5); Var7:=MA(CLOSE,8); Var8:=MA(CLOSE,25); Var9:=MA(CLOSE,60); DRAWTEXT(CROSS(Var2a,EMA(Var2a,2)) AND Var2a>80 AND VOL>Var3 AND VOL>Var4 AND VOL>Var5 AND Var6>Var9 AND Var7>Var9 AND Var8>Var9 AND OPEN<Var6 AND CLOSE>Var6,LOW,'拉升'),coloryellow; Var1:=EMA(AMOUNT/VOL/100,3); 成本: EMA(Var1,M), CROSSDOT; 伏擊: EMA(Var1,M)*0.85, CROSSDOT; MA4:MA(CLOSE,250),pointdot; cb:=dma(amount/vol/100,vol/capital); 散戶出逃:cb+cb*10/100, COLORBLUE; Var9a:=REF(CLOSE,1); VarA:=SMA(MAX(CLOSE-Var9a,0),6,1)/SMA(ABS(CLOSE-Var9a),6,1)*100; DRAWTEXT(CROSS(84,VarA),HIGH,'→ 逃頂 '); Var1g:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1); Var2g:=HIGH-REF(HIGH,1); Var3g:=REF(LOW,1)-LOW; Var4g:=SMA(IF(Var2g>0 AND Var2g>Var3g,Var2g,0),12,1); Var5g:=SMA(IF(Var3g>0 AND Var3g>Var2g,Var3g,0),12,1); Var6g:=Var4g*100/Var1; Var7g:=Var5g*100/Var1; Var8g:=SMA(ABS(Var7g-Var6g)/(Var7g+Var6g)*100,12,1); Var9g:=(Var8g+REF(Var8g,5))/2; VarAg:=SUM(HIGH-OPEN,12)/SUM(OPEN-LOW,12)*100; VarB:=SUM(MAX(0,HIGH-REF(CLOSE,1)),12)/SUM(MAX(0,REF(CLOSE,1)-LOW),12)*100; VarC:=AMOUNT/VOL/100; VarD:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; VarE:=SUM(AMOUNT,5)/VarC/100; VarF:=SUM(AMOUNT,13)/VarC/100; Var10:=SUM(AMOUNT,34)/VarC/100; Var11:=SUM(AMOUNT,209)/VarC/100; Var12:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4); Var13:=Var12/CAPITAL; Var14:=VOL/CAPITAL*VarD+Var13*REF(VarC,1); Var15:=DMA(VarD,VOL/VarE); Var16:=DMA(VarD,VOL/VarF); Var17:=DMA(VarD,VOL/Var10); Var18:=DMA(VarD,VOL/CAPITAL); Var19:=MA(HHV(HIGH,488),18); Var1Ag:=MA(HHV(HIGH,220),18); Var1B:=MA(HHV(HIGH,98),18); Var1C:=MA(LLV(LOW,488),18); Var1D:=MA(LLV(LOW,220),18); Var1E:=MA(LLV(LOW,98),18); Var1F:=MA((Var1C*0.96+Var1D*0.96+Var1E*0.96+Var19*0.558+Var1Ag*0.558+Var1B*0.558)/6,18); Var20:=MA((Var1C*1.25+Var1D*1.23+Var1E*1.2+Var19*0.55+Var1Ag*0.55+Var1B*0.65)/6,18); Var21:=MA((Var1C*1.3+Var1D*1.3+Var1E*1.3+Var19*0.68+Var1Ag*0.68+Var1B*0.68)/6,18); Var22:=MA((Var1F*3+Var20*2+Var21)/6*1.738,18); Var23:=IF(DATE<=1341231,Var22,Var22*DAY); Var24:=LOW; Var25:=REF(LOW,1); Var26:=SMA(ABS(Var24-Var25),3,1)/SMA(MAX(Var24-Var25,0),3,1)*100; Var27:=MA(IF(CLOSE*1.35<=Var23,Var26*10,Var26/10),3); Var28:=LLV(LOW,30); Var29:=HHV(Var27,30); Var2Ag:=IF(LOW<=Var28,(Var27+Var29*2)/2,0); DRAWTEXT(MA(Var2Ag AND CLOSE<COST(1),3) AND (CLOSE-Var16)/Var16*100<N1-13,LOW,'盯'),colormagenta; DRAWTEXT(MA(Var2Ag AND CLOSE<COST(1),3) AND (CLOSE-Var16)/Var16*100<N2-13,LOW,'殺進'),COLORYELLOW ; Var1z:=(CLOSE-OPEN)/OPEN*100; Var2z:=REF(CLOSE,1); Var3z:=SMA(MAX(CLOSE-Var2z,0),6,1)/SMA(ABS(CLOSE-Var2z),6,1)*100; Var4z:=COUNT(Var3z<20,20)>=1; drawtext(Var1z>9 AND Var4z,l,'屠龍'),coloryellow; Var18a:=(HIGH+LOW+CLOSE)/3; Var19a:=(Var18a-MA(Var18a,14))/(0.015*AVEDEV(Var18a,14)); Var1Aa:=(Var18a-MA(Var18a,70))/(0.015*AVEDEV(Var18a,70)); Var1Ba:=IF(Var19a>=150 AND Var19a<200 AND Var1Aa>=150 AND Var1Aa<200,-10,0); Var1Ca:=IF(Var19a<=-150 AND Var19a>-200 AND Var1Aa<=-150 AND Var1Aa>-200,10,0); Var1Da:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; Var1Ea:=100-ABS(Var1Da); 出擊一:=(if(BARSCOUNT(CLOSE)<13,-100,0-IF(Var1Ea<92 AND Var1Da<0,20,100))+100)*1; 出擊:drawicon(IF(出擊一=80,30,0),llv(l,5),4); 出擊二:=(IF(BARSCOUNT(CLOSE)<70,120,IF(Var1Aa>=200 AND Var19a>=150,-15,Var1B)))*(-1); drawicon(出擊二<=15 AND 出擊二>5 ,hhv(h,5),5); 資金進出 Var1:=SMA(AMOUNT,10,1)/10000000;
Var2:=REF(Var1,1); STICKLINE(Var1>Var2,Var1,Var2,8,0),COLORRED; STICKLINE(Var1<=Var2,Var2,Var1,8,0),COLORyellow; OA:=IF(Var1>Var2,Var1,Var2); MA1:MA(OA,5); MA2:MA(OA,13); MA3:MA(OA,30); 資金監(jiān)控 vch:=SUM(IF(CLOSE>REF(CLOSE,1), VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
Vcn:=v/CAPITAL*100; R:=Vcn{v/1000000}; R1:=IF(C>REF(C,1),R,IF(C<REF(C,1),(-1)*R,0)); R3:=SUM(R1,8); a:R3*OPEN,POINTDOT,COLORFFCC00,LINETHICK2; b:R3*C,POINTDOT,COLORFFCC00; ab:STICKLINE(b>=REF(b,1),REF(b,1),b,5,0),COLORred; ba:STICKLINE(b<REF(b,1),REF(b,1),b,5,0),COLORgreen; 資金線:MA(b,5),COLORYELLOW; 監(jiān)控線:MA(b,40); 資金導(dǎo)航 TY:=((VOL * (((2 * CLOSE) + HIGH) + LOW)) / 4);
AA:=LLV(LOW,21); BB:=HHV(HIGH,21); CC:=EMA((((TY - AA) / (BB - AA)) * 100),13); A:=EMA(((0.667 * REF(CC,1)) + (0.333 * CC)),3); 資金進場:STICKLINE((CC > A),CC,A,7,0),color0000FF; 資金退場:STICKLINE((CC < A),CC,A,7,0),colorFFFF00; 導(dǎo)航線:EMA(CC,3); 看盤線:EMA(CC,8); 生命線:EMA(CC,21); 趨勢線:EMA(CC,55); PARTLINE((導(dǎo)航線 > REF(導(dǎo)航線,1)),導(dǎo)航線),LINETHICK2,color0000FF; PARTLINE((導(dǎo)航線 < REF(導(dǎo)航線,1)),導(dǎo)航線),LINETHICK2,color00FF00; 準備買入 var1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1); var2:=8; 買入: IF(CROSS(var1,var2),80,0),stick,COLOR0000cc,linethick2; 準備: IF(var1<=8,25,0),stick,COLORwhite,linethick2; DRAWTEXT(CROSS(var1,var2),80,'準備買入'),COLOR00ffff; Varo5:=LLV(LOW,27); Varo6:=HHV(HIGH,34); Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25; 建倉區(qū): IF((Varo7<10),80,100) ,linethick1 ,color00ccff; 0,colorffcc00, linethick2; 追漲 STICKLINE(1,0,0,1,0),POINTDOT,LINETHICK3,colorFF0000;
QQ:=(((((MA(CLOSE,1) + MA(CLOSE,3)) + MA(CLOSE,5)) + MA(CLOSE,7)) + MA(CLOSE,9)) / 5); WW:=(((((MA(CLOSE,2) + MA(CLOSE,4)) + MA(CLOSE,6)) + MA(CLOSE,8)) + MA(CLOSE,10)) / 5); A:=EMA(QQ,3); B:=EMA(WW,10); VAR1:=EMA(AMOUNT,1)/EMA(VOL,1)/100; AA:=DMA(A,VAR1); BB:=DMA(B,VAR1); VAR29:=MAX((2 * (AA - BB)),0) * 100; NHSH_:EMA(VAR29,3),colorFFFFFF; CB:=WINNER(CLOSE)*100; CC:=EMA(CB,2); zzz:MAX((EMA(CC,2) - EMA(CC,5)),0); STICKLINE(1,0,0,1,0),POINTDOT,LINETHICK3; STICKLINE(1,0,0,1,0),POINTDOT,LINETHICK3; 敢死隊:IF((((VAR29 > 0) AND (VAR29 > REF(VAR29,1)))),(BARSLAST(CROSS(VAR29,0.01)) + 1),0),LINETHICK0; zll:IF((((VAR29 > 0) AND (VAR29 > REF(VAR29,1)))),66,0),LINETHICK0,colorFF00FF; 主力啟動:IF((CROSS(VAR29,0.01)),66,0),LINETHICK0,colorFF00FF; STICKLINE(((VAR29 > 0) AND (VAR29 > REF(VAR29,1))),REF((NHSH_ * 1.035),1),(NHSH_ * 1.035),6,1),colorFF00FF; HHHD:=IF(CROSS(VAR29,0.01),CLOSE,REF(CLOSE,BARSLAST(CROSS(VAR29,0.01)))); HHH:=IF(CROSS(VAR29,0.01),(LOW * 0.995),REF((LOW * 0.995),BARSLAST(CROSS(VAR29,0.01)))); 成本:IF((((VAR29 > 0) AND (VAR29 > REF(VAR29,1)))),HHHD,0),LINETHICK0; 止贏:IF((((VAR29 > 0) AND (VAR29 > REF(VAR29,1)))),(HHHD * 1.06),0),LINETHICK0; 止贏一:=IF((((VAR29 > 0) AND (VAR29 > REF(VAR29,1)))),(HHHD * 1.1),0); 止損:IF((((VAR29 > 0) AND (VAR29 > REF(VAR29,1))) ),HHH,0),LINETHICK0,colorFFFF00; 離場:IF(((zll = 0) ),(BARSLAST(CROSS(zll,0.01)) + 1),0),LINETHICK0,colorFFFF00; KZ:="KDJ.K"(9,3,3); DZ:="KDJ.D"(9,3,3); K:="KDJ.K"(9,3,3); KA:="KDJ.D"(9,3,3); DA:="KDJ.K"(9,3,3); NN:="KDJ.D"(9,3,3); NNN:=(BARSLAST((CROSS(KZ,DZ) AND (KZ < 50))) < 13); NNNN:=(BARSLAST((CROSS(K,KA) AND (K < 20))) < 13); AAK:=(BARSLAST((CROSS(DA,NN) AND (DA < 20))) < 13); BBK:=IF((((MA(VOL,5) / 240) >= 5) AND ((CLOSE > (REF(CLOSE,1) * 0.98)) = 1)),88,0); VAR1MM:=IF(((((((CLOSE / REF(CLOSE,1)) >= 1) AND (((VOL / CAPITAL) * 100) <= 30)) AND (((VOL / CAPITAL) * 100) >= 1.5)) AND ((HIGH / CLOSE) <= 1.001)) AND (BBK >= 1)),93,0); IF((((((VAR1MM > 90) AND NNN) AND NNNN) AND AAK) ),20,0); IF(((((VAR1MM > 90) AND NNN) AND NNNN) ),20,0); VAR2MM:=EMA(MA(IF((CLOSE > OPEN),((CLOSE - OPEN) * VOL),IF((CLOSE < OPEN),((CLOSE - OPEN) * VOL),0)),5),1); VAR3MM:=EMA(MA(IF((CLOSE > REF(CLOSE,1)),((CLOSE - REF(CLOSE,1)) * VOL),IF((CLOSE < REF(CLOSE,1)),((CLOSE - REF(CLOSE,1)) * VOL),0)),5),1); VAR4MM:=EMA(MA(IF((OPEN > REF(CLOSE,1)),((OPEN - REF(CLOSE,1)) * VOL),IF((OPEN < REF(CLOSE,1)),((OPEN - REF(CLOSE,1)) * VOL),0)),5),1); VAR5MM:=EMA(MA(IF((CLOSE < OPEN),((OPEN - CLOSE) * VOL),IF((CLOSE > OPEN),((OPEN - CLOSE) * VOL),0)),10),1); VAR6MM:=EMA(MA(IF((CLOSE < REF(CLOSE,1)),((REF(CLOSE,1) - CLOSE) * VOL),IF((CLOSE > REF(CLOSE,1)),((REF(CLOSE,1) - CLOSE) * VOL),0)),10),1); VAR7MM:=EMA(MA(IF((OPEN < REF(CLOSE,1)),((REF(CLOSE,1) - OPEN) * VOL),IF((OPEN > REF(CLOSE,1)),((REF(CLOSE,1) - OPEN) * VOL),0)),10),1); VAR8MM:=(CLOSE > OPEN); VAR9MM:=(CLOSE > REF(CLOSE,1)); VARAMM:=(OPEN > REF(CLOSE,1)); VARBMM:=((VAR8MM OR VAR9MM) OR VARAMM); VARCMM:=((((VAR2MM + VAR3MM) + VAR4MM) / 3) / 100); VARDMM:=((((VAR5MM + VAR6MM) + VAR7MM) / 3) / 100); VAR25MM:=EMA((((((((COUNT(VAR9MM,12) / 12) + (COUNT(VAR8MM,12) / 12)) + (COUNT(VARAMM,12) / 12)) / 3) * MA(VARCMM,5)) * 2) * 1.1),2); 換手:=(((VARDMM < 0) AND (VARCMM > VAR25MM)) AND (((CLOSE + OPEN) / 2) > MA(CLOSE,5))); NMB:=((VOL / CAPITAL) * 100); IF((((((CROSS(換手,0.1) AND ((VARCMM / 50) >= 0.1)) AND (NMB >= 3)) AND NNN) AND NNNN)),20,0); 追馬騎牛 年線:=EMA(C,250);
追漲:EMA(C,3),COLORGREEN; 大行情:年線-(追漲-年線),Colorff80ff; 壓力:=MA(LLV(C,9)*1.1,14); 支撐:=MA(HHV(C,26)*0.9,14); 多空線:=(壓力+支撐)/2; 神馬: (壓力+支撐)/2,COLORBLUE; 神牛:MA(LLV(C,9)*1.1,14),color0099ff; {主圖指標------追馬騎牛,適用于中長線。 1.當(dāng)追漲線穿越神馬線時買進。 2.如神牛線穿越大行情線加倉。 3.當(dāng)追漲線,神馬線,神牛線三線都在大行情線之上,則要慶賀你!}; 取cyc(主圖) DMZ:=IF((H+L)<=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1))));
DMF:=IF((H+L)>=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)))); ADMZ:=MA(DMZ,10); ADMF:=MA(DMF,10); SRDM:=IF(ADMZ>ADMF,(ADMZ-ADMF)/ADMZ,IF(ADMZ=ADMF,0,(ADMZ-ADMF)/ADMF)); ASRDM:=SMA(SRDM,10,1); A0:=(SRDM>=ASRDM AND ASRDM>=DMF)*7; TYP:=(H+L+C)/3; CCI:=(TYP-MA(TYP,34))/(0.015*AVEDEV(TYP,34)); A1:=(CROSS(CCI,199))*6; A2:=WINNER(C)*100; A3:=(A2>=HHV(A2,21) AND HHV(A2,21)>REF(HHV(A2,21),1) OR A2>91)*7; A4:=VOL/CAPITAL*100; A5:=SLOPE(EMA(C,12),3)/MA(EMA(C,12),3); DIFF:=EMA(CLOSE,12)-EMA(CLOSE,16); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); A6:=(MACD<0 AND A5<0.00)*7; A7:=(V>MA(V,5) AND MA(V,5)>MA(V,10))*7; CYW:="CYW@CYW"; LC:=REF(CLOSE,1); RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI12:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100; Var3:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1)*100; Var4:=SUM(Var2-Var3,0)+100; A8:=(Var4>MA(Var4,5) AND MA(Var4,5)>MA(Var4,13) AND MA(Var4,13)>MA(Var4,34))*7; A9:=(A3>5 AND A4>1 AND A5>0.007 AND A6<5 AND A7>5 AND CYW>0.02 AND RSI6>67 AND RSI12>58 AND A8>5)*7; A10:=(C>EMA(C,5) AND EMA(C,5)>EMA(C,13) AND CROSS(EMA(C,5),EMA(C,13)))*6; DRAWTEXT(A10>0,L*0.98,'↑'),ColorD4FF7F,ALIGN0; DRAWTEXT(A10>0,L*0.95,'短'),ColorD4FF7F,ALIGN0; C5:="CYC@CYC5"; C13:="CYC@CYC13"; A11:=(CROSS(EMA(C,13),EMA(C,34)) AND C5>C13)*6; CCI89:=(TYP-MA(TYP,89))/(0.015*AVEDEV(TYP,89)); A12:=CROSS(CCI,CCI89)*6; LFS:="LFS@LFS"; A13:=(A2-LLV(A2,60))/(HHV(A2,60)-LLV(A2,60))*100; A14:=(LFS-LLV(LFS,20))/(HHV(LFS,20)-LLV(LFS,20))*100; A15:=(A13>=98 AND A14<=6)*7; A16:=(WINNER(C*1.1)-WINNER(C/1.1))*100; A17:=(COST(99.5)/COST(0.5)-1)*100; A18:=(A16<3 AND A17>175)*7; A19:=(A4>5 AND C/REF(C,1)<0.96)*7; 安全:A0,COLORYELLOW,linethick0; 量飛:A1,COLORWHITE,linethick0; 價飛:A9,COLORYELLOW,linethick0; 中買:A11,ColorD4FF7F,linethick0; 轉(zhuǎn)折:A12,ColorD4FF7F,linethick0; 強勢:A15,ColorD4FF7F,linethick0; 大底:A18,ColorD4FF7F,linethick0; 短險:A6,COLORGREEN,linethick0; 長陰:A19,COLORGREEN,linethick0; DRAWTEXT(A0>0,L*0.998,'☉'),COLORYELLOW,ALIGN0; DRAWTEXT(A1>0,H*1.03,'●'),COLORWHITE,ALIGN0; DRAWTEXT(A9>0,L,'●'),COLORYELLOW,ALIGN0; DRAWTEXT(A11>0,L*0.97,'中'),ColorD4FF7F,ALIGN0; DRAWTEXT(A12>0,L*0.99,'♂'),ColorD4FF7F,ALIGN0; DRAWTEXT(A15>0,L*0.93,'轉(zhuǎn)'),ColorD4FF7F,ALIGN0; DRAWTEXT(A15>0,L*0.90,'強'),ColorD4FF7F,ALIGN0; DRAWTEXT(A18>0,L,'底'),colorwhite,ALIGN0; DRAWTEXT(A6>0,H*1.01,'☉'),COLORGREEN,ALIGN0; DRAWTEXT(A19>0,H*1.015,'▽'),COLORGREEN,ALIGN0; STICKLINE(O>=C,O,C,8,0),COLORGREEN; STICKLINE(O>=C,H,L,0,1),COLORGREEN; STICKLINE(O<=C,O,C,8,0),COLORRED; STICKLINE(O<=C,H,L,0,1),COLORRED; "CYC@CYC5",COLORYELLOW; "CYC@CYC13",COLORMAGENTA; "CYC@CYC34",COLORGREEN; "CYC@CYCMAX",COLORCYAN; 主力做盤 主力做盤軌跡:(((CLOSE - MA(LLV(LOW,40),40)) / MA(LLV(LOW,40),40)) * 100),colorF0F000;
BIAS1 : (CLOSE-MA(CLOSE,9))/MA(CLOSE,9)*100,colorwhite; 堅決買:=(主力做盤軌跡-BIAS1)<5.5; DRAWTEXT(堅決買 ,38,'金子 '),COLORf0ff00; stickline (堅決買 ,0,30,5,0),colorred; AA:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*1000; BB:=MA(AA,10); 趨勢線:SMA(BB,3,1)/10,linethick2,colorred; JNYY2:=(((CLOSE - LLV(LOW,26)) / (HHV(HIGH,26) - LLV(LOW,26))) * 100); 判斷:SMA(JNYY2,32,1)-20,color00ff00,linethick1; 買:DRAWTEXT(CROSS(趨勢線,判斷),趨勢線+10,'買▲牛'),LINETHICK2,colorwhite; 建倉:DRAWTEXT(CROSS(判斷,趨勢線),判斷,'建▲倉'),LINETHICK2,coloryellow; 不怕死:DRAWTEXT(CROSS(主力做盤軌跡,判斷),判斷-10,'加▲碼'),LINETHICK2,colorred; 周陽拐點(主圖) MA1:MA(CLOSE,8); MA2:MA(CLOSE,13);
MA3:MA(CLOSE,21),LINETHICK2; MA4:MA(CLOSE,34); MA5:MA(CLOSE,20); FFF:=(LOW<=MA1 AND LOW<=MA2 AND LOW<=MA3 AND CLOSE>=MA1 AND CLOSE>=MA2 AND CLOSE>=MA3 AND CLOSE>REF(CLOSE,1)); DRAWICON(OPEN>MA1 AND OPEN>MA2 AND OPEN>MA5 AND CLOSE<MA1 AND CLOSE<MA2 AND CLOSE<MA5,LOW,2); BBB:=(LOW<=MA1 AND LOW<=MA2 AND LOW<=MA3 AND HIGH>=MA1 AND HIGH>=MA2 AND HIGH>=MA3 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)); STICKlINE(BBB,CLOSE,OPEN,8,0),COLOR9900FF; A1:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(C,2)<REF(C,3); A2:=REF(OPEN,1)<REF(CLOSE,2)AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)>(REF(CLOSE,2)+REF(OPEN,2))/2; A3:=CLOSE>REF(CLOSE,1); A4:=LLV(LOW,13)=REF(LOW,1); MB:=BACKSET(A1 AND A2 AND A3 AND A4,3); STICKLINE(MB,CLOSE,OPEN,7,0),COLOR0066FF; DRAWTEXT(CROSS(0.5,MB),HIGH *1.08,'哈哈!,↑曙光初現(xiàn)'),COLOR0066FF; DRAWTEXT(FFF,LOW*0.98,'↑陽拐點'),COLOR00FFFF; 直觀量 AMV0:=VOL*(O+C)/2;
BS:SUM(AMV0,88)/SUM(VOL,88),COLORMAGENTA,LINETHICK2; CG:MA(C,17),COLORCYAN,LINETHICK2; FL:HHV(CG,2),COLORGREEN; FS:CG-(FL-CG),COLORYELLOW,LINETHICK2; MA6:MA(C,6),COLORWHITE,LINETHICK0; MA18:MA(C,18),COLOR0099FF,LINETHICK0; 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); STICKLINE(買線>=賣線,LOW,HIGH,0.1,0),COLORRED; STICKLINE(買線>=賣線,CLOSE,OPEN,3,0),COLORRED; {STICKLINE(買線<賣線,LOW,HIGH,0.1,0),COLOR148A14;} STICKLINE(買線<賣線,CLOSE,OPEN,3,0),COLOR148A14; F:=100*(C-REF(C,1))/REF(C,1); 今小昨:=IF(C<REF(O,1) AND F<0,1,0); P1:=今小昨; 今小前:=IF(C<REF(O,2) AND F<0,1,0); P2:=今小前; STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),OPEN,CLOSE,3,0),COLORMAGENTA; STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),H,L,0.3,0),COLORMAGENTA; STICKLINE(TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,O,C,3,0),COLORBLUE ; STICKLINE(TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,H,L,0.3,0),COLORBLUE ; 戰(zhàn)無不勝 {參數(shù):N=11 M=8}
LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; 頂部雷達:CROSS(80,RSI)*300,colorgreen; DRAWTEXT(CROSS(80,RSI) , 300,'★見頂 '),colorgreen; Varb:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100; Varc:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100; Vard:=BARSCOUNT(CLOSE); 底部雷達:(Varb< 20 AND Varc< 25 AND Vard> 50)*300,colorff9933; DRAWTEXT(CROSS(100,底部雷達) ,300,'☆底 '),COLORwhite; Var1:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100-60; Var2:=SMA(Var1,3,1)+100; Var3:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*1000; Var4:=SMA(Var3,3,1); Var5:=SMA(Var4,3,1)+100; Var6:=Var5-Var2; 主力:EMA( (CLOSE-MA(CLOSE,n))/MA(CLOSE,n)*4800,2),COLORRED; 散戶:EMA( (CLOSE-MA(CLOSE,m))/MA(CLOSE,m)*4800,7),COLORWHITE; DRAWTEXT(CROSS(散戶,0),-400,'↑升!'),color00ccff; MAV:=(2*C+H+L)/4; Var1a:=LLV(LOW,4); Var2a:=HHV(HIGH,7); SK:=EMA((MAV-Var1a)/(Var2a-Var1a)*100,13); SD:=EMA(0.667*REF(SK,1)+0.333*SK,2); 持倉:STICKLINE(SK> SD,60,0,1,0),COLORYELLOW; 空倉:STICKLINE(SK< SD,60,0,1,0),color009900; 正負量比:12*(winner(c)-winner(o)),colorstick; STICKLINE(100*v/capital< 3,100*v/capital,20 ,4 ,0),colorff9933; 時空分裂點:STICKLINE(100*v/capital>= 3 and 100*v/capital<7,100*v/capital, 140,2,0),COLORff3399; STICKLINE(100*v/capital>= 7,100*v/capital, 60,2,0),COLORRED; 新莊 Var1:=1;
Var2:=1/WINNER(CLOSE); Var3:=MA(CLOSE,13); Var4:=100-ABS((CLOSE-Var3)/Var3*100); Var5:=LLV(LOW,75); Var6:=HHV(HIGH,75); Var7:=(Var6-Var5)/100; Var8:=SMA((CLOSE-Var5)/Var7,20,1); Var9:=SMA((OPEN-Var5)/Var7,20,1); VarA:=3*Var8-2*SMA(Var8,15,1); VarB:=3*Var9-2*SMA(Var9,15,1); VarC:=100-VarB; 散戶: (100-VarA)*Var1,color0099ff; 主力: MA(WINNER(CLOSE*0.95)*100,3)*Var1,coloryellow; 新莊: (100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0))*Var1,colorgreen,linethick2,pointdot ; VarD:=主力>Var4; VarE:=REF(LOW,1)*0.9; VarF:=LOW*0.9; Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL; Var11:=EMA(Var10,30); Var12:=CLOSE-REF(CLOSE,1); Var13:=MAX(Var12,0); Var14:=ABS(Var12); Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100; Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100; Var17:=BARSCOUNT(CLOSE); Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100; Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; Var1B:=SMA((SMA(Var1A,4,1)-50)*2,3,1); Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; Var1D:=SMA(Var1C,4,1); Var1E:=SMA(Var1D,3,1); Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; Var20:=Var18<=25 AND Var19<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var11-CLOSE>=-0.25 AND Var15<22 AND Var16<28 AND Var17>50; STICKLINE(VarD,Var4,主力,5,0),colorwhite; STICKLINE(1,新莊,100,1,0),colorgreen; STICKLINE(Var20,0,80,5,0),colorred,linethick3 ; 100,colorgreen ,linethick2 ; 0,coloryellow ,linethick2 ; 中線: 15,colorblue ,linethick2 ; 心理成本 cyc5:0.01*EMA(AMOUNT,5)/EMA(VOL,5);
cyc13:0.01*EMA(AMOUNT,13)/EMA(VOL,13); cyc34:0.01*EMA(AMOUNT,34)/EMA(VOL,34); CYCmax:DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE(7))); STICKLINE(C>=O,O,C,8,1),COLORRED; STICKLINE(C>=O,C,H,0,1),COLORRED; STICKLINE(C>=O,L,O,0,1),COLORRED; STICKLINE(C<O,C,O,8,0),COLORGREEN; STICKLINE(C<O,O,H,0,0),COLORGREEN; STICKLINE(C<O,L,C,0,0),COLORGREEN; 先勝彩量 流通盤:(CAPITAL / 1000000),LINESTICK,colorFF00FF;
收益:FINANCE(33),LINESTICK,colorFF0000; 換手:((VOL / CAPITAL) * 100),POINTDOT,colorFFFF00; VAR1:=(HIGH - LOW); VAR2:=ABS((OPEN - CLOSE)); VAR3:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN)); VAR4:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW); VAR5:=((VAR2 / VAR1) * VOL); VAR6:=((VAR3 / VAR1) * VOL); VAR7:=((VAR4 / VAR1) * VOL); VAR8:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100))))); 多頭量:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,8,1),colorFF0000; 空頭量:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,8,1),colorFF0000; 向上攻擊:STICKLINE((((VAR5 >= VAR6) AND (VAR5 >= VAR7)) AND (CLOSE > OPEN)),0,VAR5,8,0),colorFF0000; 向下攻擊:STICKLINE((((VAR5 >= VAR6) AND (VAR5 >= VAR7)) AND (CLOSE < OPEN)),0,VAR5,8,0),colorFF0000; 上探量:STICKLINE(((VAR6 > VAR5) AND (VAR6 > VAR7)),0,VAR6,8,0),colorFF3FFF; 下探量:STICKLINE(((VAR7 > VAR5) AND (VAR7 > VAR6)),0,VAR7,8,0),colorFF0000; 放量:STICKLINE((VOL > (MA(VOL,5) * 3)),0,VOL,2.5,0),colorFFFFFF; MA5:MA(VOL,5); 逢高出貨:DRAWTEXT((((((((VAR6 > VAR5) AND (VAR6 > VAR7)) AND (CLOSE > MA(CLOSE,5))) AND (CLOSE > MA(CLOSE,30))) AND (HIGH > MA(CLOSE,60))) AND (VOL > MA5)) AND (VAR6 > MA(VOL,5))),VOL,'逢高出貨'),colorFF0000; 主力線:((((CLOSE - MA(CLOSE,19)) / MA(CLOSE,29)) * 260000) + 26000),LINETHICK1,colorFF0000; 進場:15888; DRAWICON((CROSS(主力線,進場) OR CROSS(主力線,0)),主力線,1),colorFF0000; 爆:=STKINDI('','KDJ.D',0,5); 破:IF(CROSS(爆,25),70,0),LINETHICK3,colorFF0000; DRAWICON(破,90,1),LINETHICK2; 鐵底成本 a:=(3*c+l+o+h)/6;
X:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+ 14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12) +7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ ref(a,20))/210; Y:eMA(X,13),COLORWHITE,linethick2; DRAWTEXT(X>Y AND REF(X>Y,1)=0,X-0.5,'↑'); Var4:=(2*CLOSE+HIGH+LOW)/4; 成本區(qū):eMA(Var4,90)*0.995,COLORFFCCCC,circledot; 操作區(qū):eMA(Var4,120)*0.998,COLORRED; 鐵底區(qū):eMA(Var4,240)*0.885,COLORYELLOW; 鐵底 d:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,20);
j:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5) ; BIAS1w :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; BIAS2w :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; BIAS3w :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; MM:=(BIAS1w+2*BIAS2w+3*BIAS3w)/6; MN:=MA(MM,3); Var1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100; Var2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100; Var3:=(2*CLOSE+HIGH+LOW)/4; Var4:=LLV(LOW,26); Var5:=HHV(HIGH,34); Var6:=EMA((Var3-Var4)/(Var5-Var4)*100,16); Var7:=SMA((SMA(Var2,2,1)+3),2,1); Var8:=EMA(Var6,4); Var9:=SMA(Var1,3,1); Var10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; Var11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; Var12:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; Var13:=(Var10+Var11+Var12)/3; Var14:=if(var13<=-20,10,0); var15:=hhv(Var14,10); Var24:=LLV(LOW,36); Var25:=HHV(HIGH,30); Var26:=EMA((CLOSE-Var24)/(Var25-Var24)*4,4)*25; {150;0;} 兜底:if(CROSS(ma(c,3),ma(c,5)) and var15,40,0),linethick7,colorred ; 鐵底:if(CROSS(Var7,Var8),30,0),linethick7,COLORf00ff0; if(CROSS(Var8,Var7) AND Var8>40,100,92),stick,linethick2,COLOR00ff00;92,stick,linethick2,COLOR000000; if(CROSS(Var9,Var7) ,91,81),stick,linethick2,COLORwhite;81,stick,linethick2,COLOR000000; if(CROSS(Var9,Var8) AND Var8>50,80,70),stick,linethick2,COLORf00000;70,stick,linethick2,COLOR000000; if(CROSS(Var8,Var9) AND Var8<50,69,59),stick,linethick2,COLORf00ff0;59,stick,linethick2,COLOR000000; {DRAWICON(CROSS(Var8,Var9) AND Var8<50,110,4);} {DRAWICON(CROSS(Var8,Var7) AND Var8>40,145,9);} {DRAWTEXT(CROSS(Var7,Var8) AND Var8<50,25,' 鐵底')COLORRED;} if(CROSS(Var7,Var9), 58,48),stick,linethick2,COLORyellow;48,stick,linethick2,COLOR000000; {DRAWICON(CROSS(Var7,Var9),70,6);} {DRAWICON(CROSS(Var9,Var7),110,5);} {DRAWICON(CROSS(Var9,Var8) AND Var8>50,60,5);} 底線:18;頂線:80,pointdot; k:ema(d,5),COLOR00ff00; m:ema(j,8),colorwhite; j,colorred; if(mn<-4 ,20,0),Color00ff00,linethick2; 底背離: IF((Var26<10),110,150), COLORYELLOW; 頂背離: IF((Var26>90),40,0), COLORRED; 天眼1號 n=78 持股線:EMA(CLOSE,13);
dif:=EMA(CLOSE,12)-EMA(CLOSE,26); dea:=EMA(dif,9); aa:=EMA(CLOSE,10); 多頭:STICKLINE(dif>dea,CLOSE,OPEN,8,0),colorred; STICKLINE(dif>dea,HIGH,LOW,0,0),colorred; 空頭:STICKLINE(dif<=dea,CLOSE,OPEN,8,0),colorgreen; STICKLINE(dif<=dea,HIGH,LOW,0,0),colorgreen; STICKLINE(dif<=dea and aa>MA(CLOSE,50),CLOSE,OPEN,8,0),coloryellow; STICKLINE(dif<=dea and aa>MA(CLOSE,50),HIGH,LOW,0,0),coloryellow; STICKLINE(dif>dea and aa<MA(CLOSE,50),CLOSE,OPEN,8,0),COLOR77AAFF; STICKLINE(dif>dea and aa<MA(CLOSE,50),HIGH,LOW,0,0),COLOR77AAFF; DRAWTEXT(CROSS(dif,dea),LOW*0.995, '▲'),colorred,linethick3,align0; DRAWTEXT(CROSS(dea,dif),HIGH*1.01, '▼'),colorgreen,linethick3,align0; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); AA:=(CLOSE - MA15); DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'▲'),coloryellow,align0; DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'▼'),colorblue,align0; DRAWTEXT(CROSS(n,RSI),(HIGH * 1.02),'◇'),colorFFFFFF,align0; 逃頂專用 M1:MA(CLOSE,8);
M2:MA(CLOSE,13); M3:MA(CLOSE,21); M4:MA(CLOSE,34); M5:MA(CLOSE,55); M6:MA(CLOSE,89); M7:MA(CLOSE,144); IF(CLOSE>SAR(4,2,20),SAR(4,2,20),CLOSE),CIRCLEDOT,COLORMAGENTA; IF(CLOSE<SAR(4,2,20),SAR(4,2,20),CLOSE),CIRCLEDOT,COLORGREEN; CLOSE,CIRCLEDOT,color111111; STICKLINE(close>=open,open,close,5,1),colorred; STICKLINE(open>close,close,open,5,0 ),colorcyan; STICKLINE(close>=open,close,HIGH,0.5 ,1 ),colorred; STICKLINE(close>=open,open,low,0.5 ,1 ),colorred; STICKLINE(open>close,close,low,0.5 ,0 ),colorcyan; STICKLINE(open>close,open,HIGH,0.5 ,0 ),colorcyan; 黃金K線 va:=max(ref(c,1),ref(o,1));
va1:=min(ref(c,1),ref(o,1)); vok:=if(o<va1 and c>va,1,0); STICKLINE(vok=1 ,o ,c ,6,0 ),coloryellow; STICKLINE(vok=1 ,h ,l ,1,0 ),color008fff; vok1:=if(ref(c,1)<ref(c,2) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1) or ref(c,1)<ref(o,1) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1),1,0); STICKLINE(vok1=1 ,o ,c ,6,0 ); STICKLINE(vok1=1 ,h ,l ,1,0 ),colorff00ff; 黑馬初現(xiàn) 個股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),color1010FF;
大盤:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorE67010,linethick2; 黑馬初現(xiàn):if(cross(個股,9),50,0),stick,linethick3,color00ff00; {drawtext(cross(個股,9),40,'黑馬初現(xiàn)!'),color00ff00;} Var1:=EMA(CLOSE,3); Var2:=EMA(CLOSE,21); Var3:=BARSLAST(CROSS(Var2,Var1))>15; Var4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5; Var5:=CROSS(Var1,Var2) AND ISUP AND Var4 AND Var3; 黑馬:if(Var5,60,0),stick,linethick3,colorf00ff0; drawtext(Var5,90,'黑馬!'),colorf00ff0; 光音看量 七十換手率:SUM(V,70)/CAPITAL;
VAR2:=HIGH-LOW; VAR3:=ABS(OPEN-CLOSE); VAR4:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN); VAR5:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW; VAR6:=VAR3/VAR2*VOL; VAR7:=VAR4/VAR2*VOL; VAR8:=VAR5/VAR2*VOL; VAR9:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100)))); VARA:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; VARB:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,30)>MA(CLOSE,60); VARC:=MA(CLOSE,5)<MA(CLOSE,10) AND MA(CLOSE,10)<MA(CLOSE,30); 多頭: STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,8,1),COLOR1084FC; 空頭: STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,8,1),COLORGREEN; 向上攻擊: STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN,0,VAR6,8,0),COLORred; 向下攻擊: STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,0,VAR6,8,0),COLOR7CFFA4; 上探: STICKLINE(VAR7>VAR6 AND VAR7>VAR8,0,VAR7,8,0),COLORA3F8FF; 下探: STICKLINE(VAR8>VAR6 AND VAR8>VAR7,0,VAR8,8,0),COLORFFaa33; 相對地量: STICKLINE(VAR9>2 AND VOL<MA(VOL,5)/2,0,VOL,2.5,0),COLORYELLOW; 地量: DRAWTEXT(VAR9>2 AND VOL<MA(VOL,5)/2,VOL,'地量'),COLORYELLOW; 放量: STICKLINE(VOL>MA(VOL,5)*2.5,0,VOL,2.5,0),COLORgreen; 出貨: DRAWTEXT(VAR7>VAR6 AND VARA>2 AND VAR7>VAR8 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,30) AND HIGH>MA(CLOSE,60) AND VOL>MA(VOL,5) AND VAR7>=MA(VOL,5),VOL,'出貨'),COLORwhite; 跟進: DRAWTEXT(VAR8>VAR6 AND VAR8>VAR7 AND VARA<-2 AND CLOSE<MA(CLOSE,30) AND VAR8<MA(VOL,5)/2 AND MA(VOL,5)<MA(VOL,10),VOL,'跟進'),COLORwhite; 參與: DRAWTEXT(VAR6>MA(VOL,5)*2 AND VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN OR VOL>MA(VOL,5)*3 AND VARB,VOL,'風(fēng)險'),COLORwhite; 空頭釋放: DRAWTEXT(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN AND VAR6/VOL>0.7 AND VARC AND VAR6>MA(VOL,5),VAR6*2,'空頭釋放'),COLORwhite; MA2:MA(VOL,2),COLORA5FFFA; MA3:MA(VOL,3),COLORff99cc; MA10:MA(VOL,10),COLORffffcc; 股王源碼 Var2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var3:=SMA(Var2,5,1); Var4:=REF(Var3,1); Var5:=SMA(Var3,10,1); Var6:=(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52))*100; Var7:=MA(Var6,5); Var8:=LLV(LOW,5)=LLV(LOW,120); Var9:=REF(CLOSE,1); VarA:=SMA(MAX(CLOSE-Var9,0),6,1)/SMA(ABS(CLOSE-Var9),6,1)*100; VarB:=SMA(MAX(CLOSE-Var9,0),12,1)/SMA(ABS(CLOSE-Var9),12,1)*100; VarC:=(CLOSE+LOW+HIGH)/3; VarD:=SUM((VarC-REF(LOW,1)-(HIGH-VarC))*VOL/100000/(HIGH-LOW),0); VarE:=EMA(VarD,1); VarF:=VarE; Var10:=MA(VarE,12); Var11:=MA(VarE,26); Var12:=(VarF-Var10)*60; Var13:=IF(Var12>0.05,Var12,0); Var14:=IF(Var13>50,50,Var13); Var15:=CAPITAL/EMA(VOL,5)/30*1.1; Var16:=Var15; Var17:=EMA(COST(85),10); Var18:=EMA(COST(1),10); Var19:=EMA(CLOSE,10); Var1A:=(Var19-Var18)*100/(Var17-Var18); Var1B:=REF(Var1A,1); Var1C:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100; Var1D:=(INDEXC-REF(INDEXC,12))/REF(INDEXC,12)*100; Var1E:=EMA(Var1C-Var1D,4); Var1F:=EMA(Var1D-Var1C,4); STICKLINE(Var1E>0,0,-5,6,0); STICKLINE(Var8,-5,-10,6,0); Var20:=MA(Var1C,4); Var21:=MA(Var1C,8); Var22:=REF(Var20,1); Var23:=MA((Var1A-REF(Var1A,12))/REF(Var1A,12)*100,4); Var24:=IF(Var23<=-20,-20,Var23); Var25:=IF(Var24>=20,20,Var24); Var26:=Var25; Var27:=REF(Var26,1); Var28:=REF(Var26,5); Var29:=IF(CROSS(Var14,Var16),1,0); Var2A:=IF(Var14<Var16,-10,10); Var2B:=IF(Var1E>Var1F,5,-5); Var2C:=IF(Var3>Var5,5,-5); Var2D:=IF(Var20>Var21,6,-6); Var2E:=IF(Var20>0 AND Var20>Var21,8,-8); Var2F:=IF(Var26<0,-10,10); Var30:=IF(Var20>Var22,10,-10); Var31:=IF(Var26>Var27,5,0); Var32:=IF(Var26<Var27,-5,0); Var33:=IF(CLOSE>OPEN,3,-3); 走勢: (Var2A+Var2B+Var2C+Var2D+Var2E+Var2F+Var30+Var31+Var32+Var33); Var34:=REF(CLOSE,2)*0.865; Var35:=REF(CLOSE,13)*0.772; Var36:=MIN(Var34,Var35); Var37:=100*VOL/CAPITAL; Var38:=MA(CLOSE,13); Var39:=CLOSE>0.899*REF(CLOSE,1) AND CLOSE<0.901*REF(CLOSE,1); Var3A:=EMA(WINNER(CLOSE)*100,5); Var3B:=EMA(WINNER(CLOSE)*100,30)-CAPITAL/EMA(VOL,30)/5; Var3C:=CAPITAL/EMA(VOL,5)/5; Var3D:=Var3A; Var3E:=IF(Var3D>0,0-Var3D,0-Var3D); Var3F:=REF(Var3D,1); 主力趨勢: (Var3B+50); Var40:=Var3B+50; Var41:=REF(Var40,1); Var42:=MA(CLOSE,5); Var43:=MA(CLOSE,10); Var44:=MA(CLOSE,30); Var45:=MA(CLOSE,12); Var46:=MA(CLOSE,26); Var47:=REF(Var45,1); Var48:=REF(Var46,1); Var49:=(Var45-Var46)/Var45*100; Var4A:=ABS(Var45-Var47)/Var45*100; Var4B:=REF(Var46,1); Var4C:=REF(Var4A,1); Var4D:=REF(Var42,1); Var4E:=REF(Var43,1); Var4F:=COUNT(CLOSE>REF(CLOSE,1),5)/5*100; Var50:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; Var51:=SMA(Var50,5,1); Var52:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; Var53:=SMA(Var52,2,1); Var54:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30)*8; Var55:=REF(Var51,1); Var56:=REF(Var53,1); Var57:=REF(Var54,1); Var58:=MA(Var53,5); Var59:=MA(Var53,12); Var5A:=MA(Var53,26); Var5B:=REF(Var4F,1); Var5C:=(Var54-Var57)/Var54*100; Var5D:=SMA(Var50,5,1); Var5E:=REF(Var5D,1); Var5F:=SMA(Var52,2,1); Var60:=REF(Var5F,1); Var61:=IF(CLOSE>OPEN,1,0); Var62:=IF(Var42>Var4D,1,0); Var63:=IF(Var43>Var4E,1,0); Var64:=IF(Var4A>Var4C,1,0); Var65:=IF(Var53>Var56,5,0); Var66:=IF(Var55>Var51,5,0); Var67:=IF(Var54>Var57,2,0); Var68:=IF(Var49>2.25,10,0); Var69:=IF(Var53>60,6,0); Var6A:=IF(Var53>80,8,0); Var6B:=IF(Var53>Var51,10,0); Var6C:=IF(Var53>Var51,Var59-Var5A,0); Var6D:=IF(Var53>Var51 AND Var51<20,5,0); Var6E:=IF(CLOSE>Var45 AND Var45>Var46,5,0); Var6F:=IF(Var45>Var46,5,0); Var70:=IF(Var46>Var4B,5,0); Var71:=IF(Var51<18,Var58-Var51,0); Var72:=IF(Var51>Var53 AND Var51>50,8,0); Var73:=(Var61+Var62+Var63+Var64+Var65+Var66+Var67+Var68+Var69+Var6A+Var6B+Var6C+Var6D+Var6E+Var6F+Var70+Var71-Var72); Var74:=REF(Var73,1); 多頭: MA(Var73,5); Var75:=MA(Var73,8); Var76:=MA(Var73,12); Var77:=MA(Var73,26); Var78:=MA(Var73,13); Var79:=REF(Var76,1); Var7A:=REF(Var76,2); Var7B:=IF(CROSS(Var3,Var5) AND Var4<35 AND Var7>50 AND Var1A<25 AND Var1A>Var1B AND Var41<Var40 AND (VarA>VarB AND VarB>Var3 OR VarA>Var3 AND Var8),100,0); Var7C:=IF((CLOSE-Var36)/CLOSE<0.1 AND Var41<Var40 AND SUM(Var37,5)/5<1.8,100,0); Var7D:=IF(CROSS(Var3,Var5) AND Var8 AND Var3<25 AND Var1A<20 OR CROSS(Var3,Var5) AND Var8 AND Var3<40 AND Var1A<10,100,0); 信號: IF(Var7B=100 OR Var7C=100 OR Var7D=100,20,-50); STICKLINE(走勢<0,0,走勢,1,0); STICKLINE(走勢>0,走勢,0,1,0); 股海英雄(準確率極高) 上線:=sma(c,6.5,1);
下線:=sma(c,13.5,1); 上線一:=sma(c,3,1); 下線一:=sma(c,8,1); STICKLINE(上線>下線 , 上線,下線 ,2.5, 0),colorred,linethick2; stickline(下線>上線,上線,下線,2.5,0),coloryellow,linethick2; DRAWTEXT( cross(上線,下線),low *0.98,'全倉買' ),color00ff00; drawtext(cross(下線一,上線一),h*1.02,'清倉'),coloryellow; BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; UPR:=BBI+3*STD(BBI,13); DWN:=BBI-3*STD(BBI,13); 安全:=MA(CLOSE,60); LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'減倉') ,COLORff9966,linethick2; A7:=(2*C+H+L)/4; 操作:MA(a7,5),linethick2; 操作一:=MA(a7,5)*1.03; 操作二:=MA(a7,5)*0.97; Var1:LLV(a7,21); Var2:HHV(a7,21); SK:=EMA((A7-Var1)/(Var2-Var1)*100,7); SD:=EMA(0.667*REF(SK,1)+0.333*SK,5); DRAWTEXT(IF(count(close<ref(close,1),8)/8>6/10 and vol>=1.5*ma(vol,5) and count(sk>=sd,3) and ref(low,1)=LLV(Low,120),1,0),LOW*0.98,'買進') ,COLOR0099ff; DRAWTEXT(IF(count(close<ref(close,1),13)/13>6/10 and count(sk>sd,6) and ref(low,5)=LLV(Low,120) and ref(close>=open,4) and ref(close>open,3) and REF(CLOSE>OPEN,2) AND ref(open>close,1) and open>ref(close,1),1,0),LOW*0.98,'買進') ,COLOryellow; D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(if(CLOSE<D and VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'抄底'),coloryellow; 股海神偷 AA:=LLV(LOW,36);
BB:=HHV(HIGH,30); DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25); 股海神偷:DD,Color00FFFF,LINETHICK1; 股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25); 跟蹤:10,Color0000FF; 神偷出現(xiàn):IF((COUNT((股海神偷>REF(股海神偷,1)),1)=1) AND (REF(股海神偷,1)<REF(REF(股海神偷,1),1)) AND (股海神偷<跟蹤),50,0),Color00FF00; QQ:=CROSS(神偷出現(xiàn),跟蹤);{ 目標出現(xiàn):IF(CROSS(股海,90) AND (股海神偷<40),40,0),ColorFFFF00;} 目標出現(xiàn):IF(CROSS(股海,5) AND (QQ<10),40,0),ColorFFFF00; Var1:=EMA(EMA(CLOSE,13),13); 控盤:= (Var1-REF(Var1,1))/REF(Var1,1)*5000; a10:=CROSS(控盤,0); 開始控盤:if(a10,8,0),colorFFFFFF; STICKLINE(控盤<0,控盤,0,4,0),colorwhite; 無莊控盤:0,colorwhite; STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,4,1),colorred; 有莊控盤: 0,colorred; Var2:=100*WINNER(CLOSE*0.95); STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,4,0),color00ff00; 主力出貨: 0,color00ff00; STICKLINE(Var2>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0,4,0),colorff00ff; 高度控盤: 0,colorff00ff; 風(fēng)險:80,ColorFF00FF; 狼狗:87.5,Color00FF00; 股海導(dǎo)航 強勢線:2,linethick2,ColorFF00FF;
準強線:1.3,linethick1,Color00FF00; v1:=llv(low,10); v2:=hhv(h,25); 警戒線:3.1,linethick3,Color00FFFF; 高拋線:3.5,linethick2,Color0000FF; 導(dǎo)航線:ema((c-v1)/(v2-v1)*4,4 ); 低吸線:0.3,linethick1,colorwhite; 抄底線:0, linethick2, colorred; 跟莊線 Var1:=(HIGH+LOW+OPEN+CLOSE)/4;
分水嶺:= MA(3*Var1-2*SMA(Var1,2,1),12); 上漲:= IF(Var1>分水嶺,Var1,分水嶺); 支撐:= REVERSE(上漲)+2*分水嶺; Var2:=IF(Var1<分水嶺,Var1,分水嶺); Var3:=2*EMA(LLV(Var1,7),10)-Var1; 下穿進上穿出:= 3*Var3-2*SMA(Var3,10,1)+0.05*CLOSE; 阻力:= REVERSE(Var2)+2*分水嶺; 收盤:=eMA(CLOSE,13); 生命線:eMA(eMA((3*CLOSE+LOW+OPEN+HIGH)/6,21),1); a4:=HHV(HIGH,13); a40:=IF(a4>REF(a4,30),a4,REF(a4,30)); RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1); aa:=3*K24-2*D24; a11:=IF(CLOSE>=MA(CLOSE,21),75,50); 強弱阻力線:=IF( aa>=a11,CLOSE,a40); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); j1:=-(3*K-2*D)+100; j2:=IF(j1<0 ,0 ,j1); j:=IF(j2>100,100,j2); 超短:=SMA(AMOUNT,3,1)/100000000; 中線:=SMA(AMOUNT,13,1)/100000000; 動能阻力線:IF(j<k and 超短>中線,收盤,a40),COLORCYAN; PARTLINE(動能阻力線,收盤),COLORRED,linethick2; 個股個性 Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Var3:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1)*100; Var4:=SUM(Var2-Var3,0)+100; MA(Var4,5),COLORRED; MA(Var4,10),COLORYELLOW; MA(Var4,21),ColorFFFFC0; A0:=(MA(Var4,3)>MA(Var4,7) AND MA(Var4,7)>MA(Var4,21))*6; A1:=(MA(C,3)>MA(C,7) AND MA(C,7)>MA(C,13))*6; 強于大盤:A0,COLORred,LINETHICK0; 短線升勢:A1,COLORgreen,LINETHICK0; DRAWICON(A0,MA(Var4,21),6),ALIGN0; DRAWICON(A1,MA(Var4,21)-1.8,7),ALIGN0; 敢死隊 n=30 Var4:=((HIGH*1.1)*VOL+(REF(HIGH,10)*1.1)*(CAPITAL-VOL))/CAPITAL;
Var7:=((LOW*0.9)*VOL+(REF(LOW,1)*0.9)*(CAPITAL-VOL))/CAPITAL; Var8:=EMA(Var7,30); a:=c; a1:=EMA(Var4,30); 超跌:var8>a and c>o; 起漲:cross(a,var8); 改良MACD input: N(1.5,1,10),M(3,1,20),P(64,1,100);
DIFF:=EMA((EMA(CLOSE,N*12)-EMA(CLOSE,N*26))/EMA(CLOSE,N*26)*1000,M); DEA:=EMA(DIFF,N*9); MACD:=2*(DIFF-DEA); MACDx:=MACD; MACDo:=EMA(MACD,5); DIFFO:=EMA(DEA,P)*1.8; B:=MACD-REF(MACD,1); STICKLINE(MACD>0 AND B>0,0,MACD,0,1),Color0000CD; STICKLINE(MACD>0 AND B<0,0,MACD,0,0),Color0000CD; STICKLINE(MACD<0 AND B>0,0,MACD,0,1),COLORCYAN; STICKLINE(MACD<0 AND B<0,0,MACD,0,0),COLORCYAN; FILLRGN(DIFF,DEA,DIFF>DEA),Color0089FF; FILLRGN(DIFF,DEA,DIFF<DEA),COLORBLUE; PARTLINE(DIFF>=REF(DIFF,1) AND DEA<REF(DEA,1),DIFF),Color00C500,LINETHICK4; PARTLINE(DIFF<REF(DIFF,1) AND DEA>REF(DEA,1),DIFF),COLORYELLOW,LINETHICK4; PARTLINE(DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),DIFF),COLORGRAY; PARTLINE(DIFF<REF(DIFF,1) AND DEA<REF(DEA,1),DIFF),COLORBLUE; PARTLINE(DIFFO>=REF(DIFFO,1),DIFFO);PARTLINE(DIFFO<REF(DIFFO,1),DIFFO); STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED; STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLORGREEN; STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORyellow; STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLORblue; STICKLINE(C,0.2,0.2,3,0),COLORWHITE; STICKLINE(C,-0.2,-0.2,3,0),COLORWHITE; STICKLINE(C,0.1,0.1,3,0),COLORYELLOW; STICKLINE(C,-0.1,-0.1,3,0),COLORYELLOW; DRAWICON(CROSS(DIFF,DEA),DEA,8); DRAWICON(CROSS(DEA,DIFF),DEA,8); 多轉(zhuǎn)空:=((((LLV(MACD,4)>0) AND (MACD<REF(MACD,1))) AND (REF(MACD,1)>REF(MACD,2))) AND (REF(MACD,2)>REF(MACD,3))); 空轉(zhuǎn)多:=((((HHV(MACD,4)<0) AND (MACD>REF(MACD,1))) AND (REF(MACD,1)<REF(MACD,2))) AND (REF(MACD,2)<REF(MACD,3))); DRAWICON(多轉(zhuǎn)空,MACD,2); DRAWICON(空轉(zhuǎn)多,MACD,1); 低位金叉:IF(CROSS(DIFF,DEA) AND DIFF<-0.1,0.3,0),COLORYELLOW,POINTDOT; STICKLINE(低位金叉,0,0.3,8,0),COLORYELLOW; DRAWICON(低位金叉,0.3,1); JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0)); 二次金叉:IF(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,0.2,0),COLORYELLOW,POINTDOT; STICKLINE(二次金叉,0,0.2,8,0),COLORyellow; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); 底背離:IF(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),0.1,0),COLORRED,POINTDOT; STICKLINE(底背離,0,0.1,8,0),COLORRED; DRAWLINE(A1=0,DEA,底背離,DEA,0),COLORRED; A2:=BARSLAST(REF(CROSS(DEA,DIFF),1)); 頂背離:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF); DRAWLINE(A2=0,DEA,頂背離,DEA,0),COLORGREEN; A3:=CROSS(DIFF,DEA) AND DEA<0; 零下二次金叉:IF(FILTER(COUNT(A3,21)=2,10),0.05,0),COLORWHITE,POINTDOT; STICKLINE(零下二次金叉,0,0.06,8,0),COLORWHITE; 反轉(zhuǎn) 反轉(zhuǎn):(ref(c,4)>ref(c,2)*1.05 and c>ref(c,1)*1.04)*2;
發(fā)射導(dǎo)彈 Var1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
Var2:=SMA(Var1,3,1); 賣線: SMA(Var2,3,1); Var3:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100; Var4:=SMA(Var3,3,1); Var5:=SMA(Var4,3,1); 買入線: SMA(Var5,3,1); 必賣線: SMA(賣線,3,1); 高壓線: 85; 觸底線: 9; DRAWTEXT(買入線>76.5 AND CROSS(賣線,必賣線),必賣線*1.15,'進'); DRAWTEXT(買入線>56 AND 買入線<=76 AND CROSS(賣線,必賣線),賣線,'留意'); DRAWTEXT(買入線<45 AND 賣線>78 AND 必賣線>78 AND CROSS(必賣線,賣線),必賣線,'跑'),colorgreen ; DRAWTEXT(CROSS(買入線,78.5),買入線,'關(guān)注'),colorred ; DRAWTEXT(CROSS(買入線,85),買入線,'重點關(guān)注'),colorwhite ; ls:=c/ref(c,1)>1.048 and c=h and between(forcast(V,4),0.2*forcast(v,12),2.1*forcast(v,12)); 猛牛出山:filter(ls,28)*100,coloryellow; {導(dǎo)彈} Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; Var1B:=SMA((SMA(Var1A,4,1)-50)*2,3,1); Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; Var1D:=SMA(Var1C,4,1); Var1E:=SMA(Var1D,3,1); Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; VarE:=REF(LOW,1)*0.9; VarF:=LOW*0.9; Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL; Var11:=EMA(Var10,30); Var12:=CLOSE-REF(CLOSE,1); Var13:=MAX(Var12,0); Var14:=ABS(Var12); Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100; Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100; Var17:=BARSCOUNT(CLOSE); Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100; Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; Var20:=Var18<=25 AND Var19<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var11-CLOSE>=-0.25 AND Var15<22 AND Var16<28 AND Var17>50; STICKLINE(Var20,0,95,5,0),LINETHICK2,COLORRED; DRAWTEXT(CROSS(Var20,0.5) AND COUNT(Var20=1,10)=1,60,'發(fā)射導(dǎo)彈 '),LINETHICK7 , COLORwhite; 二華公式 x1:=(C+L+H)/3;
x2:=EMA(x1,6); x3:=EMA(x2,5); Var1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100; Var2:=SMA(Var1,3,1); V3:=SMA(Var2,3,1)*var1; V4:=SMA(V3,3,1); k1:=CROSS(V3,V4); k1 and sum(k1,barslast(cross(x3,x2)))=1; 多空博弈 Var1:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Var2:=(C-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; Var3:=SMA(Var2,13,8); 高位:90; 低位:0; 多方: SMA(Var3,13,8),COLORRED; 空方: SMA(Var1,21,8),COLOR00FF00; 中軸:45; 多空 n=5 LL:=LLV(LOW,(N + 30));
HH:=HHV(HIGH,(N + 30)); SR:=((2 * HH) - LL); SS:=((2 * LL) - HH); DD:=(SR - SS); DM:=(DD / 2); 多空開平線:=(DM + SS); SDXT:=多空開平線; LL1:=LLV(LOW,(N + 60)); HH1:=HHV(HIGH,(N + 60)); SR1:=((2 * HH1) - LL1); SS1:=((2 * LL1) - HH1); DD1:=(SR1 - SS1); DM1:=(DD1 / 2); SDXT1:=(DM1 + SS1); AY:=SDXT1; AA:=SDXT; YY:=(((HIGH + LOW) + CLOSE) / 3); A0:=((HIGH + LOW) / 2); A1:=SMA(A0,13,1); A2:=HHV(HIGH,24); A3:=LLV(LOW,24); STICKLINE(((YY < REF(AA,1)) AND (A2 < REF(A2,0))),OPEN,CLOSE,8,0),colorFF0000; STICKLINE(((YY < REF(AA,1)) AND (A2 < REF(A2,0))),HIGH,LOW,0,0),colorFF0000; STICKLINE(((YY < REF(AA,1)) AND (A2 = REF(A2,0))),OPEN,CLOSE,8,0),colorFF0000; STICKLINE(((YY < REF(AA,1)) AND (A2 = REF(A2,0))),HIGH,LOW,0,0),colorFF0000; STICKLINE(((YY > REF(AA,1)) AND (A3 > REF(A3,0))),HIGH,LOW,0,0),colorred; STICKLINE(((YY > REF(AA,1)) AND (A3 > REF(A3,0))),OPEN,CLOSE,8,0),colorred; STICKLINE(((YY > REF(AA,1)) AND (A3 = REF(A3,0))),HIGH,LOW,0,0),colorred; STICKLINE(((YY > REF(AA,1)) AND (A3 = REF(A3,0))),OPEN,CLOSE,8,0),colorred; STICKLINE(((YY > AA) AND (YY < AY)),OPEN,CLOSE,8,0),colorFF00FF; STICKLINE(((YY > AA) AND (YY < AY)),HIGH,LOW,0,0),colorFF00FF; STICKLINE(((YY < AA) AND (YY > AY)),OPEN,CLOSE,8,0),colorFF00FF; STICKLINE(((YY < AA) AND (YY > AY)),HIGH,LOW,0,0),colorFF00FF; 短線看盤 x1:=LLV(L,5);
x2:=HHV(H,10); QS:EMA((C-x1)/(x2-x1)*4,4)*50,ColorFF00FF; 50,Color00FFFF; 100,Color00FF00; 底與加速 VAR1:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
VAR2:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100); VAR3:=((CLOSE-MA(CLOSE,32))/(MA(CLOSE,32)))*(100); VAR4:=(VAR1+VAR2+VAR3)/(3); VAR5:=EMA(VAR4,5); MACD:(EMA(EMA(VAR1,5),5))*(3),ColorFF00FF,ColorStick,Linethick2; VAR6:=IF((VAR4<=(-20)),10,0); VAR7:=HHV(VAR6,10); STICKLINE((VAR6=10),20,10,1,0),Color0000FF; 底:if((VAR6=10),10,0); DRAWTEXT((VAR6=10),LOW,'底'),ColorFFFFFF; VARA:=IF(VAR7 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0); K:(EMA(VAR5,5))*(2),ColorFFFF00; D:EMA(K,5),Color0000FF; J:(K)*(3)-(D)*(2),Color00FFFF; VAR8:=(HIGH+LOW+CLOSE)/(3); VAR9:=(VAR8-MA(VAR8,14))/((0.015)*(AVEDEV(VAR8,14))); VAR10:=(VAR8-MA(VAR8,70))/((0.015)*(AVEDEV(VAR8,70))); VAR11:=IF((VAR9>=150) AND (VAR9<200) AND (VAR10>=150) AND (VAR10<200),10,0); VAR12:=IF((VAR9<=(-150)) AND (VAR9>(-200)) AND (VAR10<=(-150)) AND (VAR10>(-200)),(-10),VAR11); VAR13:=((CLOSE-MA(CLOSE,13))/(MA(CLOSE,13)))*(100); VAR14:=100-ABS(VAR13); VAR15:=IF((VAR14<90),VAR14,100); VAR16:=IF((VAR10>=200) AND (VAR9>=150),15,IF((VAR10<=(-200)) AND (VAR9<=(-150)),(-15),VAR12))+60; VAR17:=(VAR16>60) AND (VAR15<150); 加速:if(VAR17 AND (COUNT(VAR17,20)=1),10,0),colorgreen; DRAWTEXT(VAR17 AND (COUNT(VAR17,20)=1),10,'加速'),ColorFFFFFF; 超級短線 覽月:(ma(close,13)-ma(close,55))/ma(close,13)*100;
10,POINTDOT; -10,POINTDOT; REFLINE: 1; JL5:=ma(v,5); 今日量比:DYNAINFO(17),pointdot,colorffffff; 歷史量比:IF(DYNAINFO(4)=O and DYNAINFO(5)=H and DYNAINFO(6)=L and DYNAINFO(7)=C,DYNAINFO(17),V/JL5),pointdot,colorffffff; STICKLINE( 歷史量比>=1,歷史量比 ,0 ,6 , 0),color0000ff; STICKLINE( 歷史量比<1,歷史量比 ,0 ,6 , 0),color00ff00; STICKLINE(歷史量比<今日量比,歷史量比,今日量比,6,0),color000000; STICKLINE(今日量比>=1 and DYNAINFO(7)=C and DYNAINFO(6)=L and DYNAINFO(5)=H and DYNAINFO(4)=O,今日量比,0,6.5,0),color0000ff; STICKLINE(今日量比<1 and DYNAINFO(7)=C and DYNAINFO(6)=L and DYNAINFO(5)=H and DYNAINFO(4)=O,今日量比,0,6.5,0),color00ff00; DRAWTEXT(今日量比 and DYNAINFO(7)=C and DYNAINFO(6)=L and DYNAINFO(5)=H and DYNAINFO(4)=O,今日量比 ,'←今日量比 '),colorffffff; 長線 RSV2:=(CLOSE-LLV(LOW,180))/(HHV(HIGH,180)-LLV(LOW,180))*100;
K2:=sMA(RSV2,28,1); D2:=SMA(K2,28,1); 長線:STICKLINE(ema(d2,3)>ref(ema(d2,3),5) ,ema(d2,3) ,ref(ema(d2,3),5) ,88 ,0),color1472ff; STICKLINE(ema(d2,3)<ref(ema(d2,3),5) ,ema(d2,3) ,ref(ema(d2,3),5) ,88 ,0 ),colorblue; RSV1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100; K1:=SMA(RSV1,8,1); D1:=SMA(K1,8,1); F:=100*(C-REF(C,1))/REF(C,1); 今小昨:=IF(C<REF(O,1) AND F<0,1,0); P1:=今小昨; 今小前:=IF(C<REF(O,2) AND F<0,1,0); P2:=今小前; STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),0,12,4.8,0),COLORred; STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 AND CROSS(ZIG(3,6) ,REF(ZIG(3 ,6),1)),0,6,4.8,0),COLORGREEN; Var4:=(2*CLOSE+HIGH+LOW)/4; Var5:=LLV(LOW,34); Var6:=HHV(HIGH,34); 散戶: EMA((Var4-Var5)/(Var6-Var5)*100,12); 新莊:= EMA(0.667*REF(散戶,1)+0.333*散戶,4); FILLRGN(新莊,散戶,新莊<散戶,rgb(255,0,255),新莊>散戶,rgb(0,131,255)); 低吸:IF(CROSS(散戶,新莊) AND 散戶<25,-10,0),LINETHICK2,COLORGREEN; DRAWBMP(低吸=5,1,'低吸'); 流通【億】:CAPITAL/1000000,COLORCYAN,linethick0; 每股收益:FINANCE(33),colorgreen; 總股【億】:FINANCE( 1)/10000,colorgreen,linethick0; VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; 賣出線:=SMA(SMA(VARE,3,1),3,1); 買入線:3*SMA(VARE,3,1)-2*賣出線 ,COLORCYAN,LINETHICK2; PARTLINE(買入線,買入線>ref(買入線,1),rgb(255,0,0),買入線<ref(買入線,1),rgb(0,135,0)),LINETHICK2; 黃金點:STICKLINE(SMA(VARE,3,1)>賣出線,SMA(VARE,3,1),散戶,6,0),COLORYELLOW; 頂:STICKLINE(CROSS(90,買入線),100,95,5,0),COLORGREEN ; 見頂點:STICKLINE(SMA(VARE,3,1)>賣出線 and CROSS(REF(ZIG(3,3),1),ZIG(3,3)),SMA(VARE,3,1),散戶,6,0),COLORblue; 100,COLOR147214; 0,COLOR147214,LINETHICK3; 操盤線 MA5:MA(CLOSE,5),ColorFFFfff,linethick1;
MA8:MA(CLOSE,8),ColorFFff00,linethick1; MA13:MA(CLOSE,13),Color00Ffff,linethicK1; MA21:MA(CLOSE,21),Color00ff00,linethick1; MA34:MA(CLOSE,30),ColorFF00ff,linethick1; MA55:MA(CLOSE,55),Color0000ff,linethick1; 買線:EMA(C,2),color000000; 賣線:EMA(SLOPE(C,21)*20+C,42),pointdot,color000000; 買:=cross(買線,賣線); 賣:=cross(賣線,買線); drawtext(買,LOW*0.99,'B'),colorf00ff0,linethick5; drawtext(賣,HIGH*1.01,'S'),colorwhite,linethick5; stickline(買線>=賣線,low,high,0.1,0),colorred; stickline(買線>=賣線,close,open,4.5,0),color0000AA; stickline(買線>=賣線,close,open,3,0),color0000CC; stickline(買線>=賣線,close,open,2,0),color0000DD; stickline(買線>=賣線,close,open,1,0),color0000FF; stickline(買線<賣線,close,open,1,0),colorEEEE00; stickline(買線<賣線,close,open,2,0),colorDDDD00; stickline(買線<賣線,close,open,3,0),colorCCCC00; stickline(買線<賣線,close,open,4.5,0),colorAAAA00; stickline(買線<賣線,low,high,0.1,0),colorFFff00; stickline(cross(買線,賣線) or cross(賣線,買線),open,close,3.5,0),coloryellow; CPW x:=c-ref(ma(c,20),11);
lgl:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,50,0); wr1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*x; wr2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100; wr3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*x; BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5; BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5; BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5; s1:=(wr1+wr2+wr3+bias1+bias2+bias3)/6*x; s2:=ema(s1,3); s3:=abs(bias1-bias3); sx:=(s1+s3)/2; xc1:=(-1)*(ema(100*(1-WINNER(CLOSE)),1)-50)+50; ccc:=xc1+sx; zjz:=IF( lgl>0 and ccc<0,200,0)*x; lxl:=if(sx<0 and c=llV(c,5) and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,-50,0); jbj:=if(ccc<0 and lxl=-50,100,0)*x; ma3:= ma(c,3); c0:=ref(c,2)*0.865; c1:=ref(c,13)*0.772; bot:=MIN(c0,c1); hsl:=100*vol/capital*x; ma13:=ma(c,13)*x; cxc:=if((c-bot)/c<3/100 and sum(hsl,5)/5<1.8,1,0); vmc:=if(cxc>0 and (lxl<0 or lgl>0),10,0); 滿倉:if((vmc>0),60,0),colorred; 半倉:if(((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or (cxc>0 and ref(c,1)/ref(c,2)>0.902)) or (((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or cxc>0) and (lxl<0 or lgl>0)) and vmc<10 ,50,0); v93:=(((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or cxc>0) and (lxl<0 or lgl>0)) ; v90:=((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or (cxc>0 and ref(c,1)/ref(c,2)>0.902)); 買一點:if((v93 or v90),10,0); Var2q:=(MA(CLOSE,80)-MA(CLOSE,13)/3); 神奇線:= MA((CLOSE-Var2q)/Var2q,1); 買二點:IF(CROSS(神奇線,0) AND LOW/REF(HIGH,1)<1.012 and ((c-ref(c,2))/c)>0.06,20,0); yy:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1); yt:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1); st:=if(cross(yt,yy),30,0); Var5pt:=(HIGH+LOW+CLOSE)/3; Var6pt:=(Var5pt-MA(Var5pt,14))/(0.015*AVEDEV(Var5pt,14)); Var7pt:=(Var5pt-MA(Var5pt,85))/(0.015*AVEDEV(Var5pt,85)); sa:=IF(Var7pt>=200 AND Var6pt>=150,10,0); Var3qq:=REF(CLOSE,1); Var4qq:=SMA(MAX(CLOSE-Var3qq,0),6,1)/SMA(ABS(CLOSE-Var3qq),6,1)*100; sm:=if(CROSS(80,Var4qq),30,0); 賣點:if((sm and (sa or st)),30,0); 操盤手 買線:EMA(C,2),color0000FF;
賣線:EMA(SLOPE(C,21)*20+C,42),pointdot,coloryellow; BUY1:=cross(買線,賣線); SEL1:=cross(賣線,買線); drawtext(buy1,LOW-0.1,'Ψ '),colorf00ff0,linethick5; drawtext(sel1,HIGH+0.1,'◎'),colorwhite,linethick5; stickline(買線>=賣線,low,high,0.1,1),colorred; stickline(買線>=賣線,close,open,8,1),colorred; stickline(買線>=賣線,close,open,10,1),Color0000FF; stickline(買線<賣線,close,open,10,0),colorffff00; stickline(買線<賣線,close,open,8,0),color00ff00; stickline(買線<賣線,low,high,0.1,1),color00ff00; stickline(cross(買線,賣線) or cross(賣線,買線),open,close,6,0),coloryellow; 限制:=EMA((((H+C)/2+L+(C+L)/2)/3-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2))/(EMA(HHV (((H+C)/2+L+(C+L)/2)/3,21),2)-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2)),8)*100; 平衡:=SMA(EMA(SMA((C+L)/2,3,1),3),5,1); DRAWTEXT(FILTER(平衡>REF(平衡,1)AND HHV(MA((H+C)/2,13),10)<REF(HHV(MA((H+C)/2,13),10),1)AND((C+L)/2)>REF((C+L)/2,1),5)AND 限制<88,L*0.98,' ------'),colorcyan; 不破買入(主圖) va:=max(ref(c,1),ref(o,1));va1:=min(ref(c,1),ref(o,1));
j:=sum(AMOUNT/100,2)/sum(v,2); vok:=if(o<va1 and c>va,1,0); STICKLINE(vok=1 ,o ,c ,8 ,0 ),colorred; vok1:=if(ref(c,1)<ref(c,2) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1) or ref(c,1)<ref(o,1) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1),1,0); STICKLINE(vok1=1 ,o ,c ,8 ,0 ),colorff00ff; vsj1:=BARSLAST(vok=1 or vok1=1); mma2:sum(AMOUNT/100,2)/sum(vol,2),LINETHICK0; zs:if(vok=1 or vok1=1,l,ref(l,vsj1)),coloryellow; ma2:=sum(AMOUNT/100,2)/sum(v,2); ma3:=sum(AMOUNT/100,3)/sum(v,3); ma4:=sum(AMOUNT/100,4)/sum(v,4); ma5:=sum(AMOUNT/100,5)/sum(v,5); ma6:=sum(AMOUNT/100,6)/sum(v,6); ma7:=sum(AMOUNT/100,7)/sum(v,7); ma8:=sum(AMOUNT/100,8)/sum(v,8); ma9:=sum(AMOUNT/100,9)/sum(v,9); ma10:=sum(AMOUNT/100,10)/sum(v,10); ma11:=sum(AMOUNT/100,11)/sum(v,11); ma12:=sum(AMOUNT/100,12)/sum(v,12); ma13:=sum(AMOUNT/100,13)/sum(v,13); ma14:=sum(AMOUNT/100,14)/sum(v,14); ma15:=sum(AMOUNT/100,15)/sum(v,15); ma16:=sum(AMOUNT/100,16)/sum(v,16); ma17:=sum(AMOUNT/100,17)/sum(v,17); ma18:=sum(AMOUNT/100,18)/sum(v,18); ma19:=sum(AMOUNT/100,19)/sum(v,19); a:max(ma2,max(ma3,max(ma4,max(ma5,max(ma6,max(ma7,max(ma8,max(ma9,max(ma10, max(ma11,max(ma12,max(ma13,max(ma14,max(ma15,max(ma16,max(ma17, max(ma18,ma19))))))))))))))))),LINETHICK0; b:min(ma2,min(ma3,min(ma4,min(ma5,min(ma6,min(ma7,min(ma8,min(ma9,min(ma10, min(ma11,min(ma12,min(ma13,min(ma14,min(ma15,min(ma16,min(ma17, min(ma18,ma19))))))))))))))))),LINETHICK0; DRAWICON(cross(c,a),l ,4); DRAWICON(((a-b)/b)*100<10 and cross(c,a),h+0.01,7); STICKLINE( vok1=1 and cross(c,a) ,o ,c ,3 ,0 ),color00ffff; STICKLINE( vok=1 and cross(c,a) ,o ,c ,3 ,0 ),color00ffff; 搏殺生命 CG:ma(C,17);
FL:hhv(CG,2); FS:CG-(FL-CG); amv0:=vol*(o+c)/2; BS:sum(amv0,88)/sum(vol,88),coloryellow,linethick2; STICKLINE(CLOSE>OPEN,OPEN,CLOSE,6,1), COLORRED; STICKLINE(CLOSE=OPEN,OPEN,CLOSE,6,1), COLORRED; STICKLINE(CLOSE>OPEN,LOW,OPEN,0.8,1), COLORRED; STICKLINE(CLOSE=OPEN,LOW,OPEN,0.8,1), COLORRED; STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.8,1),COLORRED; STICKLINE(CLOSE=OPEN,CLOSE,HIGH,0.8,1),COLORRED; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,6,0), COLORgreen; STICKLINE(CLOSE=OPEN,CLOSE,OPEN,6,0), COLORgreen; STICKLINE(CLOSE<OPEN,OPEN,LOW,0.8,0), COLORgreen; STICKLINE(CLOSE=OPEN,OPEN,LOW,0.8,0), COLORgreen; STICKLINE(CLOSE<OPEN,HIGH,CLOSE,0.8,0),COLORgreen; STICKLINE(CLOSE=OPEN,HIGH,CLOSE,0.8,0),COLORgreen; 博弈能量 A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);
主力:MA(A,4),LINETHICK0,colorFFFF00; 游資:MA(A,8),LINETHICK0,colorFF0000; 大戶:MA(A,16),LINETHICK0,colorFF0000; 散戶:MA(A,32),LINETHICK0,colorFFFF00; 警戒線:MA(A,180),colorFF00FF; STICKLINE((主力 > 0),0,主力,8,0),colorFF0000; STICKLINE((主力 > 0),0,主力,7.8,0),color18FF00; STICKLINE((主力 > 0),0,主力,7.5,0),color1BFF00; STICKLINE((主力 > 0),0,主力,7.3,0),color22FF00; STICKLINE((主力 > 0),0,主力,7,0),color35FF00; STICKLINE((主力 > 0),0,主力,6.8,0),color41FF00; STICKLINE((主力 > 0),0,主力,6.5,0),color50FF00; STICKLINE((主力 > 0),0,主力,6.3,0),color59FF00; STICKLINE((主力 > 0),0,主力,6,0),color62FF00; STICKLINE((主力 > 0),0,主力,5.7,0),color6CFF00; STICKLINE((主力 > 0),0,主力,5.5,0),color7AFF00; STICKLINE((主力 > 0),0,主力,5.3,0),color80FF00; STICKLINE((主力 > 0),0,主力,5,0),color89FF00; STICKLINE((主力 > 0),0,主力,4.5,0),color95FF00; STICKLINE((主力 > 0),0,主力,3.5,0),color9CFF00; STICKLINE((主力 > 0),0,主力,3,0),colorABFF00; STICKLINE((主力 > 0),0,主力,2.5,0),colorC0FF00; STICKLINE((主力 > 0),0,主力,1.5,0),colorD1FF00; STICKLINE((主力 > 0),0,主力,1,0),colorEAFF00; STICKLINE((主力 > 0),0,主力,0.7,0),colorFFFF00; STICKLINE((游資 > 0),0,游資,8,0),color680000; STICKLINE((游資 > 0),0,游資,7.8,0),color7F0000; STICKLINE((游資 > 0),0,游資,7,5),color8B0000; STICKLINE((游資 > 0),0,游資,7,3),color8B0000; STICKLINE((游資 > 0),0,游資,7,0),color900000; STICKLINE((游資 > 0),0,游資,6.8,0),color950000; STICKLINE((游資 > 0),0,游資,6.5,0),color9C0000; STICKLINE((游資 > 0),0,游資,6.3,0),colorA30000; STICKLINE((游資 > 0),0,游資,6,0),colorAB0000; STICKLINE((游資 > 0),0,游資,5.7,0),colorAF0000; STICKLINE((游資 > 0),0,游資,5.5,0),colorB90000; STICKLINE((游資 > 0),0,游資,5.3,0),colorC00000; STICKLINE((游資 > 0),0,游資,5,0),colorC10000; STICKLINE((游資 > 0),0,游資,4.5,0),colorCA0000; STICKLINE((游資 > 0),0,游資,3.5,0),colorD30000; STICKLINE((游資 > 0),0,游資,3,0),colorDB0000; STICKLINE((游資 > 0),0,游資,2.5,0),colorEA0000; STICKLINE((游資 > 0),0,游資,1.5,0),colorFF0000; STICKLINE((大戶 > 0),0,大戶,8,0),color102088; STICKLINE((大戶 > 0),0,大戶,7,0),color102099; STICKLINE((大戶 > 0),0,大戶,6,0),color1020AA; STICKLINE((大戶 > 0),0,大戶,5,0),color1020BB; STICKLINE((大戶 > 0),0,大戶,4,0),color1020CC; STICKLINE((大戶 > 0),0,大戶,3,0),color1020DD; STICKLINE((大戶 > 0),0,大戶,2,0),color1020EE; STICKLINE((大戶 > 0),0,大戶,1,0),color1020FF; STICKLINE((大戶 > 0),0,大戶,8,0),color102088; STICKLINE((大戶 > 0),0,大戶,7,0),color102099; STICKLINE((大戶 > 0),0,大戶,6,0),color1020AA; STICKLINE((大戶 > 0),0,大戶,5,0),color1020BB; STICKLINE((大戶 > 0),0,大戶,4,0),color1020CC; STICKLINE((大戶 > 0),0,大戶,3,0),color1020DD; STICKLINE((大戶 > 0),0,大戶,2,0),color1020EE; STICKLINE((大戶 > 0),0,大戶,1,0),color1020FF; STICKLINE((散戶 > 0),0,散戶,8,0),colorFF7700; STICKLINE((散戶 > 0),0,散戶,7,0),colorFF8800; STICKLINE((散戶 > 0),0,散戶,6,0),colorFF9900; STICKLINE((散戶 > 0),0,散戶,5,0),colorFFAA00; STICKLINE((散戶 > 0),0,散戶,4,0),colorFFBB00; STICKLINE((散戶 > 0),0,散戶,3,0),colorFFCC00; STICKLINE((散戶 > 0),0,散戶,2,0),colorFFDD00; STICKLINE((散戶 > 0),0,散戶,1,0),colorFFEE00; STICKLINE((散戶 > 0),0,散戶,8,0),colorFF7700; STICKLINE((散戶 > 0),0,散戶,7,0),colorFF8800; STICKLINE((散戶 > 0),0,散戶,6,0),colorFF9900; STICKLINE((散戶 > 0),0,散戶,5,0),colorFFAA00; STICKLINE((散戶 > 0),0,散戶,4,0),colorFFBB00; STICKLINE((散戶 > 0),0,散戶,3,0),colorFFCC00; STICKLINE((散戶 > 0),0,散戶,2,0),colorFFDD00; STICKLINE((散戶 > 0),0,散戶,1,0),colorFFEE00; 波段之王 Var3:=CLOSE/OPEN;
Var4:=10*(HIGH-REF(LOW,1))/REF(CLOSE,1)*Var3; Var5:=20*(HIGH-REF(LOW,9))/REF(LOW,9)*Var3; Var6:=(Var5-Var4); 趨勢線: SUM(Var6,0); STICKLINE(Var6>0,REF(趨勢線,1),趨勢線,8,1),COLORRED; STICKLINE(Var6<0,REF(趨勢線,1),趨勢線,8,0),COLORgreen; 波段 aaa:=(ma(close,13)+ma(close,17))/2;
ccc:=(std(close,13)+std(close,17))/2; bbb:=aaa+2.1*ccc; ddd:=aaa+0.72*ccc; zzz:=if(ccc>1.88,ma(ddd,3),ddd); 平衡:zzz; 止贏:zzz*1.1; 了結(jié):zzz*1.05; 回檔:zzz*0.95; 反彈:zzz*0.9; stickline(平衡<ref(平衡,1) and ref(平衡,1)<ref(平衡,2),平衡*1.005,平衡*0.995,9,0),colorblue; 寶塔線 Var2:=REF(CLOSE-OPEN,2);
Var3:=REF(CLOSE,1); Var4:=REF(CLOSE,2); Var5:=REF(CLOSE,3); Var6:=REF(CLOSE,4); Var7:=MAX(MAX(MAX(CLOSE,Var3),Var4),Var5); Var8:=MIN(MIN(MIN(CLOSE,Var3),Var4),Var5); 紅色持股: STICKLINE(CLOSE=Var7 AND (Var3>=Var4 OR Var3>=Var5) OR Var3=Var7 AND (Var4=Var8 OR Var5=Var8) AND CLOSE>=Var4 OR Var4=Var7 AND Var5=Var8 AND CLOSE>=Var3 OR Var5=Var7 AND CLOSE>=Var3 AND CLOSE>=Var4,Var3,CLOSE,5,1),COLORRED; 品紅變盤: STICKLINE(CLOSE=Var7 AND Var3=Var8,Var4,CLOSE,5,1),COLORMAGENTA; 黃色下跌: STICKLINE(CLOSE=Var8 AND (Var3<Var4 OR Var3<Var5) OR Var3=Var8 AND (Var4=Var7 OR Var5=Var7) AND CLOSE<Var4 OR Var4=Var8 AND Var5=Var7 AND CLOSE<Var3 OR Var5=Var8 AND CLOSE<Var3 AND CLOSE<Var4,Var3,CLOSE,5,0), COLORYELLOW; 綠色買: STICKLINE(Var3=Var7 AND CLOSE=Var8,Var4,CLOSE,5,0),COLORGREEN; STICKLINE(Var3=Var8 AND CLOSE>=Var4 OR (Var4=Var8 AND Var3<=Var5 OR Var5=Var8 AND Var3<=Var4) AND Var4<Var6 AND CLOSE>=Var3,Var3,Var4,5,0),COLORGREEN; 蘭色拋售: STICKLINE(Var3=Var7 AND CLOSE<Var4 OR (Var4=Var7 AND Var3>Var5 OR Var5=Var7 AND Var3>Var4) AND Var4>=Var6 AND CLOSE<Var3,Var3,Var4,5,1), COLORBLUE; Var9:=SAR(5,1,5); VarA:=EMA(CLOSE,30); VarB:=IF(CLOSE>450,8,IF(CLOSE>=20 AND CLOSE<150,0.2,IF(CLOSE<20 AND CLOSE>=10,0.07,IF(CLOSE<10,0.03,0.07)))); 變色龍: STICKLINE(CLOSE>Var9,VarA,VarA+VarB,6,0), COLORMAGENTA; STICKLINE(CLOSE<Var9,VarA,VarA-VarB,6,0),COLORF0F000; STICKLINE(CROSS(CLOSE,Var9),VarA,VarA-VarB,6,0); STICKLINE(CROSS(Var9,CLOSE),VarA,VarA+VarB,6,0),COLORRED; STICKLINE(RANGE(DAY,6,9) OR RANGE(DAY,27,30),VarA+0.01,VarA-0.01,6,0), COLORYELLOW; 生命線: FORCAST(CLOSE,30), CIRCLEDOT; 支撐: MA(CLOSE,13)*0.955; 百戰(zhàn)不怠 STICKLINE(c and WINNER(C)>ref(WINNER(C),1),WINNER(C)*100,0,5,1),COLORRED;
STICKLINE(c and WINNER(C)<ref(WINNER(C),1),WINNER(C)*100,0,5,1),COLORCYAN; K: EMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,8) ,COLORGREEN; Vx1:=EMA((C-LLV(L,55))/(HHV(H,34)-LLV(L,55))*100,3); D: EMA(0.667*REF(K,1)+0.333*K,2) ,COLORYELLOW; 籌碼快線:ema(WINNER(C)*100,13) ,COLORMAGENTA; 籌碼慢線:ema(WINNER(C)*100,55) ,COLORBLUE; |
|