1.投機指標 投機5:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORred; 投機10:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORwhite; 投機20:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000; 投機30:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF; 抄底: IF(TROUGHBARS(2,5,1)=0 AND HIGH>LOW+0.01,20,0),COLORFF66FF ,LINETHICK2 ; 賣出: IF(投機20>=100,30,0),LINETHICK2,COLORGREEN; 2.收藏很久 (N 1 100 5) 趨勢線: 3*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,N,1),3,1); 見底: 10; 準備: IF(趨勢線<=20,40,0); 買入: IF(CROSS(趨勢線,見底),60,0),colorred; 賣出: IF(趨勢線>=80,100,0);
3.絕對穩(wěn)賺 (N 1 100 5) Var1:=REF(CLOSE,2); A2: SMA(MAX(CLOSE-Var1,0),N,1)/SMA(ABS(CLOSE-Var1),N,1)*100, COLORyellow; 買1: IF(A2<16,30,0); DRAWTEXT(A2<10,60,'買'),COLORF0F000; Var2:=REF(CLOSE,1); Var3:=SMA(MAX(CLOSE-Var2,0),5,1)/SMA(ABS(CLOSE-Var2),5,1)*100; 抄底: IF(Var3<10,30,0);DRAWTEXT(Var3<10,40,'底'),COLORF0F000; 逢高派發(fā)區(qū): STICKLINE(A2>=80,A2+1,A2-1,1.5,0), COLORRED,LINEthICK3; VAR1J:=close/(ema(ema((c+l+h)/3,3),26)*0.9)<0.95 ; 放箭:IF(VAR1J,15,0),STICK,linethick3,COLORRED; DRAWTEXT(VAR1J ,10,'箭'),COLORF0F000; Vare1:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1); Vare2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1); Vare3:=IF(Vare1>0.010, 0.900, 1) AND IF(Vare1>(-0.025), 1, 1.200); Vare4:=Vare3*(Vare2-Vare1)*100; Vare5:=SUM(Vare4, 10); Vare6:=SMA(Vare5, 40, 1); Vare7:=IF(CLOSE and MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);{Var38>Var39;} Vare8:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND Vare7>0, 91, 0); 追擊:IF(Vare8>90,40,0),STICK,linethick3,COLORyellow; DRAWTEXT(Vare8>90,30,'追擊'),COLORyellow;
4.抄底逃頂王 (P1 1 100 10 P2 1 100 3) 80, POINTDOT,LINETHICK2; 20, POINTDOT,LINETHICK2; VAR1:=LLV(LOW,P1); VAR2:=HHV(HIGH,P1); K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK2 , ; D: EMA(0.667*REF(K,1)+0.333*K,3),LINETHICK1 ,; VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1); VARD:=EMA(IF(C< EMA(C,250),VARC*1000,VARC*10),3); 火焰山:EMA(IF(L<=LLV(L,30),VARD/2+HHV(VARD,30),0),3)/618; STICKLINE(火焰山>100,0,火焰山*1.2,8,0); STICKLINE(火焰山>100,0,火焰山,4,1); 抄底: IF(TROUGHBARS(2,5,1)=0 AND HIGH>LOW+0.01,20,0),COLORYELLOW ,LINETHICK2 ; VAR3:=PEAKBARS(3,15,1)<10; VAR5:=IF(VAR3=1,2,0); 頂:= IF(VAR5=2,2,0); 頂A:IF(頂>REF(頂,1),45,0),COLORGREEN,LINETHICK2; DRAWTEXT(頂A=50,45,'逃頂'),COLOR00FF00; DRAWTEXT(抄底=20,30,'抄底'),COLORRED;
|
抓牛股:
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);
波段阻擊
AA05:MA(C,5),LINETHICK3,COLOR00CCFF;
五日乖離率:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW;
IF(BB05>30 AND AA05>REF(AA05,1), AA05,DRAWNULL),LINETHICK3,COLORRED;
AA10:MA(C,10);AA20:=MA(C,20);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
IF(BB05<0 AND AA05<REF(AA05,1), AA05,DRAWNULL),LINETHICK3,COLORGREEN;
AA30:MA(C,30);
三拾日乖離率:(C-AA30)/AA30*100,NODRAW;
VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);
VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
IF(BB30>15 AND AA30>REF(AA30,1), AA30,DRAWNULL),LINETHICK3,COLORFF00FF;
波段狙擊:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
加倉:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖離率>REF(三拾日乖離率,1) AND AA10>REF(AA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;
清倉:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND AA05<REF(AA05,1) AND 三拾日乖離率<REF(三拾日乖離率,1) AND AA10<REF(AA10,1),10);
DRAWTEXT(加倉 ,LOW*0.98,'←加倉'),COLORRED;
JC:=CROSS(0,五日乖離率) AND 三拾日乖離率<REF(三拾日乖離率,1) AND AA10>REF(AA10,1) ;
減倉:=FILTER(JC,10);
MR:=COUNT(CROSS(五日乖離率,0),3)>=1 AND 三拾日乖離率>REF(三拾日乖離率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
買入:=FILTER(MR,10);
DRAWTEXT(減倉,HIGH*1.02,'←減倉'),COLORCYAN;
DRAWTEXT(買入,LOW*0.98,'←買入'),COLORYELLOW;
DRAWTEXT(清倉 ,HIGH*1.02,'←清倉'),COLORGREEN;
DRAWTEXT(波段狙擊,LOW*0.98,'←波段狙擊'),COLORYELLOW;
VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;
短線上漲極限:(H-MA(C,5))/MA(C,5)>0.1; 短期下跌極限:(MA(C,5)-L)/L>0.1;
智能KDJ: 特點抄底很靈驗,,底部三根線,頂部二根線,-10,、0,、10,、90,、105,搶錢軸-10,見頂105
N : 2 90 9 M1: 2 30 3 M2: 2 30 3
{KDJ} RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:SMA(RSV,M1,1); D:SMA(K,M2,1); J:3*K-2*D; 頂軸:105, POINTDOT; 上軸:90, POINTDOT; 下軸:10, POINTDOT; 底軸:0, POINTDOT; 搶錢軸:-10, POINTDOT; DRAWTEXT(CROSS(J,頂軸) ,100,'大出'), COLORYELLOW; DRAWTEXT(CROSS(J,上軸) ,90,'小出'), COLOR99FFCC; DRAWTEXT(CROSS(下軸,J) ,10,'小進'), COLORBLUE; DRAWTEXT(CROSS(底軸,J) ,0,'大進'), COLORRED; DRAWTEXT(CROSS(搶錢軸,J) ,-5,'狂進'), COLORWHITE;
{黃金方塊} RA:=LLV(LOW,35); RB:=HHV(HIGH,30); RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19; 近日均價:=MA(CLOSE,5),COLORYELLOW,LINETHICK2; STICKLINE(RC<6 AND 100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97 ,0 ,近日均價*1.15 ,2 , 0),COLORYELLOW; {提示} VAR1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50; VAR2:=EMA(VAR1,9); VAR3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; VAR4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR5:=SMA(VAR4,13,8); Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100; Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; Q3:=SMA(Q2, 9, 1); Q4:=SMA(Q3, 3, 1); 趨勢:=3*Q3-2*Q4; Q5:=趨勢>1*REF(趨勢, 1); Q6:=LLVBARS(LOW, 50); Q7:=SUM(VOL, Q6); Q8:=HHVBARS(HIGH, 50); Q9:=SUM(VOL, Q8); Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100; Q11:=HHV(趨勢,5); A1:=EMA(Q3, 3); A2:=EMA(A1, 3); A3:=EMA(A2, 3); A4:=EMA(A3, 3); A5:=EMA(A4, 3); A6:=EMA(A5, 3); A:=EMA(A4, 3); DRAWTEXT(CROSS(趨勢, 20) AND Q10<-13,10,'看量入場'), COLORRED; DRAWTEXT(CROSS(趨勢, A5) AND REF(趨勢,1)<34,REF(趨勢,1),'盯緊'), COLORWHITE; DRAWTEXT(CROSS(趨勢, A1) AND Q5 AND A1<20 AND Q1>9 OR A1>1*REF(A1, 1) AND Q1>4 AND A1<60, 45, '調'), COLOR00FF00;
黃金分割提示; 可提示分割點,,安裝在任意主圖
{黃金分割} 高:=REF(HHV(H,60),3); 低:=REF(LLV(L,60),3); H19:=高-(高-低)*0.191; H38:=高-(高-低)*0.382; H50:=高-(高-低)*0.500; H61:=高-(高-低)*0.618; H80:=高-(高-低)*0.809; TOP:REFDATE(高,DATE),POINTDOT,COLORWHITE,NODRAW; %80.9:REFDATE(H19,DATE),POINTDOT,COLORYELLOW,NODRAW; %61.8:REFDATE(H38,DATE),POINTDOT,COLORMAGENTA,NODRAW; {%50.0:REFDATE(H50,DATE),POINTDOT,COLORGREEN,NODRAW;} %38.2:REFDATE(H61,DATE),POINTDOT,COLORMAGENTA,NODRAW; %19.8:REFDATE(H80,DATE),POINTDOT,COLORYELLOW,NODRAW; BOTTOM:REFDATE(低,DATE),POINTDOT,COLORWHITE,NODRAW; DRAWTEXT(ISLASTBAR,TOP,' ←%頂點'),COLORWHITE; DRAWTEXT(ISLASTBAR,%80.9,' ←%80.9'),COLORYELLOW; DRAWTEXT(ISLASTBAR,%61.8,' ←%61.8'),COLORMAGENTA; {DRAWTEXT(ISLASTBAR,%50.0,' ←%50.0'),COLORGREEN;} DRAWTEXT(ISLASTBAR,%38.2,' ←%38.2'),COLORMAGENTA; DRAWTEXT(ISLASTBAR,%19.8,' ←%19.1'),COLORYELLOW; DRAWTEXT(ISLASTBAR,BOTTOM,' ←%低點'),COLORWHITE;
黑馬啟動組合
{東方求敗} 股價:=(H+L+C)/3; 股價運動:=股價,LINETHICK2,COLORBLUE; 運動趨勢:=XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(股價,3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3); 良機區(qū)1:=運動趨勢*0.9; 良機區(qū)2:=運動趨勢*0.875; 良機區(qū)3:=運動趨勢*0.85; 漲1:=O<良機區(qū)3; 求敗1:IF(漲1,0.3,0),COLOR0000FF; 漲2:=L<良機區(qū)2 AND 運動趨勢>REF(運動趨勢,1); 求敗2:IF(漲2,0.5,0),COLOR008000; 漲3:=L<良機區(qū)3 AND 運動趨勢>REF(運動趨勢,1); 求敗3:IF(漲3,1,0),COLOR00FFFF;
{黑馬啟動} VAR6:=REF(LOW,1)*0.83; VAR7:=LOW*0.1; VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL; VAR9:=EMA(VAR8,60); VARA:=EMA(VAR6,60); VARB:=VARA-2; VARC:=IF(C<=VAR9,VARB,VARA); {VARD:=MA(C,80)-MA(C,10)/17;} 啟動:=FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF (EMA(EMA(EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2) -REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),4); 馬啟:IF(啟動,1.5,0),COLORFFFFFF;
{理想實現(xiàn)} VARS2:=IF(MONTH<12,1,1); VARS3:=(2.28*CLOSE+HIGH+LOW)/4; VARS4:=LLV(LOW,34); VARS5:=HHV(HIGH,34); 理想:=EMA((VARS3-VARS4)/(VARS5-VARS4)*100,13)*VARS2,LINETHICK4,COLORRED; 論壇:=EMA(0.667*REF(理想,1)+0.333*理想,2),LINETHICK2,COLORFF9933; 理想實現(xiàn):(CROSS(理想,論壇) AND 理想<22),LINETHICK2,COLOR0099FF;
{橫盤放量選股} 橫盤放量:LAST((H-L)/REF(C,1)<0.1,20,0) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.03 AND "DMI.PDI">"DMI.MDI" AND CROSS("DMI.ADX","DMI.ADXR") AND"DMI.ADXR">"DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND"KDJ.D">REF("KDJ.D",1); {STICKLINE(橫盤放量,0,0.5,1,0),COLOR000099;}
{笑傲江湖} DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {選股設JC=10即可} DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA),COLORSTICK; A:=IF(CROSS(0,DEA),1,0); A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0); SS:=IF(A,SUM(A1,0),0); SSB:=HHV(SS,0); SSS:=SUM(A1,0); 笑傲江湖:IF(SSS-SSB=2 AND SSS>REF(SSS,1),1.3,0),COLORFFFF00;
{終結者} X:=1; 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),100,0); V滿倉:=VMC; V半倉A:=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)); V半倉:=V93 OR V90; XMM87:=V滿倉 OR V半倉; XMM91:=VMC; G:=MA(CLOSE,80)-MA(CLOSE,10)/3*X; 初級:=IF(XMM87>0,1.5,0),STICK,LINETHICK2; 中級:IF(XMM91>0,1,0),STICK,COLORFF0080; 高級:IF(VMC>0 AND CLOSE<G,1.5,0),STICK,LINETHICK2;
{黑馬底} DIFF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA1:=EMA(DIFF1,9),COLORFFFF00; A01:=BARSLAST(REF(CROSS(DIFF1,DEA1),1)); 底背離:=REF(CLOSE,A01+1)>CLOSE AND DIFF1>REF(DIFF1,A01+1) AND CROSS(DIFF1,DEA1); DEA0:=EMA(DIFF1*100,9); MACD0:=2*(DIFF1*100-DEA0); 黑馬:=(MACD0>REF(MACD0,1)*2.5 AND MACD0>15); 黑馬0:(底背離 AND 黑馬),COLORFF8000;
一,、準備加倉附圖
EMA13:EMA(C,5),COLORWHITE; {13-21-34-60} EMA21:EMA(C,13),COLORYELLOW; EMA34:EMA(C,21),COLORFF00FF; EMA60:MA(C,60),COLORFFCC66; {大陰線:大跌超2.3} C2:=REF(C,1); BG:=IF((C2-C)*100/C2>=2.3,1,0) OR IF((O-C)*100/O>=5,1,0){ OR IF((H-L)*100/REF(C,1)>5,1,0)};{第二個條件開盤價過高掉下來} BG2:=IF((H-L)*100/C2>=3.58,1,0); BB1:=L<REF(L,1); {賣點信號} SELL1:=BG AND BB1 ; {大陽線:升幅超2.64} BR:=IF((C-C2)*100/C2>=2.59,1,0) OR IF((C-O)*100/O>=4.5,1,0) OR IF((C-L)*100/L>5,1,0);{第二個條件開盤價太低升上來} STICKLINE(BR,O,C,3,0),COLORRED; {以下條件記住最近一次賣出點} DAY1:=BARSLAST(SELL1); JIA1:=REF(O,DAY1); JIA2:=REF(O,1); BB4:=C>JIA2; BB2:=H>JIA1; {買入信號} BUY1:=BR AND BB2 AND BB4; {記住最后一次買點} DAY2:=BARSLAST(BUY1); {買賣誰先} S1:=DAY1<DAY2; B1:=DAY2<DAY1; {畫出賣出信號} {DRAWTEXT(S1,H*1.05,'S'),COLORGREEN;} STICKLINE(S1,O,C,3,0),COLORGREEN; {畫出買入信號} {DRAWTEXT(B1,L-0.2,'B'),COLORRED;} STICKLINE(B1,H,L,0.3,0),COLORRED; STICKLINE(B1,O,C,3,1),LINETHICK2,COLORRED; {其它補充1:買點} AA2:=AMOUNT/VOL; BB3:=L<AA2*0.9; CC2:=(C-REF(C,1))/REF(C,1)*100>1.2; DD2:=L<MA(C,6)*0.921; DD1:=L<MA(C,5)*0.921; EE2:=VOL<MA(V,5)*1.5; FF2:=BB3 AND CC2 AND DD2 AND EE2; 老鼠倉:=BB3 AND CC2 AND DD1 AND EE2,LINETHICK0,COLOR0099FF; DRAWTEXT(老鼠倉,L*0.97,'老鼠倉'),COLOR0099FF; {DRAWTEXT(FF2,L*0.99,'買點'),COLOR00FFFF;} STICKLINE(FF2,H,L,0.3,0),COLOR00FFFF; {STICKLINE(FF2,O,C,3,1),LINETHICK2,COLOR00FFFF;} {檢查買點是否成立} B4:=BARSLAST(FF2);{底點日期} E4:=B4<5;{5日內的線} F4:=E4 AND C>REF(C,1); STICKLINE(F4,H,L,0.3,0),COLOR00FFFF; {其它補充2:賣點} A2:=(C-REF(C,1))/REF(C,1)*100<1.02; A3:=H>MA(C,5)*1.12; AA:= A2 AND A3; DRAWTEXT(AA,H*1.05,'賣點'),COLORFF0000; STICKLINE(AA,H,L,0.3,0),COLORFF0000; {STICKLINE(AA,H,L,3,0),COLORFF0000;}; {補充陽光買點} 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; CC:=CROSS(VAR1,VAR2); CCC:=CROSS(VAR1,VAR2) AND H>REF(H,1) AND C>REF(C,1) ; DRAWICON(CCC,L*0.99,1); STICKLINE(CC,H,L,0.3,0),COLORRED; STICKLINE(CC,O,C,3,1),LINETHICK2,COLORRED; {加強買點后續(xù)升勢} CF1:=BARSLAST(CC);{買點日期} CF2:=CF1<3;{5日內的線} CF3:=CF2 AND C>REF(C,1); STICKLINE(CF3,O,C,3,0),COLOR00FFFF; CD:=CROSS(VAR2,VAR1); STICKLINE(CD,H,L,0.3,0),COLORYELLOW; STICKLINE(CD,O,C,3,1),LINETHICK2,COLORYELLOW; DRAWTEXT(CD,H*1.01,'準備'),COLORYELLOW; DRAWTEXT(CC,L*0.98,'買'),COLORFF00FF;{輸出粉紅色的買字}; {牛窩} VAR1A:=LLV(LOW,21); VAR2A:=HHV(HIGH,21); AK1:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 100),5); AK:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 50),13); AB:=CROSS(AK1,AK); DRAWTEXT((AB = 1),(LOW * 0.95),'○牛窩'),COLORYELLOW; {主力成本及短期支撐} 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; S2:=SMA(C,3,1); S6:=SMA(C,5,1); DK:=2*(S2-S6); 主力成本:EMA(X,13),LINETHICK1,COLORLIGRAY; 短期支撐:LLV(HIGH,30),LINETHICK2,COLORFFCC00; {大膽博、加倉,、小心變盤,、逃頂} VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0); VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0); DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★大膽搏 '),COLOR00FFFF; DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加倉'),COLOR00FFFF; A1AA:=9; A2AA:=(REF(CLOSE,A1AA+1)<CLOSE); DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心變盤'),COLORFFFFFF; VAR6:=REF(C,1); VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100; DRAWTEXT(CROSS(82,VAR7),H*1.02,'逃頂'),COLORYELLOW; {主力進場} VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100); VAR10:=SMA(VAR9,3,1); VAR11:=SMA(VAR10,3,1); VAR12:=SMA(VAR11,3,1); 主力出現(xiàn):DRAWICON(CROSS(VAR11,VAR12) AND (VAR11<40),L*0.98,1); {黑馬} A1A:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1),COLOR330066; A5A:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*1; DRAWTEXT(CROSS(A1A,EMA(A1A,5))AND EMA(A1A,5)<A5A,L*0.98,'黑馬'),COLORYELLOW; {波段上行和買入}; 多:EMA(C,3),COLORYELLOW; 空:EMA(C,5),COLOR00FF00; 均衡:EMA(空,5),COLORWHITE,; VVARF1:=COUNT(CROSS(多,均衡),2)=1; VVARF2:=COUNT(CROSS(空,均衡),2)=1; ZAI:=FILTER(VVARF1 AND VVARF2,2); DRAWTEXT(ZAI,均衡*0.985,' ▲'),COLORRED; VV2:=REF(CLOSE,1); VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100; DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2); VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2; DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),COLORRED; VVARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; VVARB:=EMA(0.667*REF(VVARA,1)+0.333*VVARA,5); DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VVARA>=VVARB AND VVARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意買入'); VVARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,VVARR1),HIGH,2); DRAWTEXT(CROSS(82,VVARR1),HIGH,''),COLORYELLOW; VVAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5; VVAR2:=REF(VVAR1,1); VVAR3:=SMA(MAX(VVAR1-VVAR2,0),10,1)/SMA(ABS(VVAR1-VVAR2),10,1)*100; HY3:=IF(COUNT(VVAR3<20,5)>=1 AND COUNT(VVAR1=LLV(VVAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0); DRAWTEXT(HY3,LOW,' 注意買入'),COLORRED;
二、一線驚天副圖
MAV:=(C*2+H+L)/4; SK:=EMA(MAV,5)-EMA(MAV,22); SD:=EMA(SK,5); 資金動能:(2*(SK-SD))*3.8,COLORSTICK; 動能支撐:=EMA(資金動能,4); STICKLINE(資金動能<動能支撐,0,資金動能,1,0),COLORGREEN; STICKLINE(資金動能>=動能支撐,0,資金動能,1,0),COLORRED;
{黃柱} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=2*(DIF-DEA); MACD紅:=MACD>=-0.009; 昨天綠:=REF(資金動能,1)<REF(動能支撐,1); 今天紅:=資金動能>動能支撐; 綠轉紅:=昨天綠 AND 今天紅; 紅中綠轉紅:=MACD紅 AND 綠轉紅; STICKLINE(紅中綠轉紅,資金動能,0,2,0),COLORYELLOW;
擎天線:動能支撐,COLORMAGENTA,LINETHICK2; DD:IF(擎天線<REF(擎天線,1),擎天線,DRAWNULL),COLORGREEN,LINETHICK2;
三,、逃頂抄底
VAR1:=CLOSE/REF(LLV(LOW,35),5)<1; 抄底: IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,1,-1); 逃頂: IF(PEAKBARS(3,15,1)=1,1,2);
四,、美女驚天柱
V1:=MA(C,3)=HHV(MA(C,3),7); V2:=MA(C,3)>MA(C,5); V3:=MA(V,5)>MA(V,10)*1.01; V4:=COUNT(MA(C,1)>REF(C,1),2)=2; LC20:=REF(CLOSE,1); RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100; VAR3A:=3; VAR2A:=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); MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0); 買進:IF(FILTER(YXF=1,5),1,0),STICK,COLORYELLOW,LINETHICK2; A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV (L,55))*100,5,1); FY:=EMA(A51,5); A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; QS:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
A2:=MA(C,18); A3:=(C-A2)/A2*100>=-9.9 AND C<A2; 傾家蕩產買:A3 AND C/REF(C,1)>1.099,COLORRED;
五、買點準備
趨勢線: 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), , COLORBLUE; 見底信號: 10, , COLORRED; 買點準備: IF(趨勢線<=10,50,0), , COLORGREEN; 買入時間: IF(CROSS(趨勢線,見底信號),100,0), , COLORYELLOW; 六,、成交量統(tǒng)計副圖
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0; EV:=VOL,; VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 成交:=VOL,POINTDOT; 買盤:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,NODRAW; 賣盤:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR80FF00,NODRAW; 成交量:EV/1,LINETHICK0; 成交額(千萬):AMOUNT/10000000,POINTDOT,COLORYELLOW; VAR5:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 流入:IF(CLOSE>OPEN,VAR5*(HIGH-LOW),IF(CLOSE<OPEN,VAR5*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/10000000,COLORRED,NODRAW; 流出:IF(CLOSE>OPEN,0-VAR5*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR5*(HIGH-LOW),0-AMOUNT/2))/10000000,COLOR00FF00,NODRAW; 凈流:流入+流出,COLORFFFF00,NODRAW; 地量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)<LLV(IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),14)*1.001; 天量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)/REF(V,1)>=2; 主持倉:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF,LINETHICK2,NODRAW; 主籌碼:WINNER(C)*100 ,COLORRED,LINETHICK2,NODRAW; 散籌碼:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLOR80FF00,LINETHICK2,NODRAW; 業(yè)績:FINANCE(33),COLORWHITE,NODRAW; STICKLINE(C>0,0,VOL,3,0),COLOR005500; STICKLINE(C>0,0,VOL,2,0),COLOR007700; STICKLINE(C>0,0,VOL,1,0),COLOR009900; STICKLINE(C>0,0,VOL,0,0),COLOR00CC00; STICKLINE(買盤>0,0,買盤,3,0),COLOR000055; STICKLINE(買盤>0,0,買盤,2,0),COLOR000077; STICKLINE(買盤>0,0,買盤,1,0),COLOR000099; STICKLINE(買盤>0,0,買盤,0,0),COLOR0000FF; STICKLINE(天量,0,買盤,0.5,1),COLORMAGENTA; STICKLINE(地量>0,0,買盤,0.5,1),COLORYELLOW;
七,、月周日MACD 金叉
日DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); 日DEA:=EMA(日DIFF,9); MACD:=2*(日DIFF-日DEA); 周DIF:="MACD.DIF#WEEK"(12,26,9); 周DEA:="MACD.DEA#WEEK"(12,26,9); 周MACD:="MACD.MACD#WEEK"(12,26,9); 月DIF:="MACD.DIF#MONTH"(12,26,9); 月DEA:="MACD.DEA#MONTH"(12,26,9); 月MACD:="MACD.MACD#MONTH"(12,26,9); 日金叉:IF(CROSS(日DIFF,日DEA),20,0),COLORWHITE; 周金叉:IF(CROSS(周DIF,周DEA),40,0),COLORRED; 月金叉:IF(CROSS(月DIF,月DEA),60,0),COLOR0080FF; DRAWICON(周金叉 AND 日金叉,5,15); DRAWICON(周金叉 AND 月金叉,8,11); DRAWICON(日金叉 AND 月金叉,13,17);
八、資金流量
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 買量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))/25000,LINETHICK0; 賣量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2))/25000,LINETHICK0,COLORCYAN; 一日資金流入:AMOUNT*買量*0.768/10000,COLORRED,LINETHICK0; 一日資金流出:AMOUNT*賣量/10000,COLORGREEN,LINETHICK0; 凈額:一日資金流入+一日資金流出,LINETHICK0; 十日飄紅:COUNT(凈額>0,10),COLORRED; 連續(xù)飄紅:LAST(凈額>0,3,1); STICKLINE(凈額>0,0,凈額,3,0),COLORRED,LINETHICK2; STICKLINE(凈額<0,凈額,0,3,0),COLORGREEN,LINETHICK2; 0,POINTDOT,COLORWHITE;
九,、分時超贏數(shù)據
(單位:萬元):0; 超買:=IF((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.05/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0); 超賣:=IF((AMOUNT>=(FINANCE(40)*0.05/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0); 大買:=IF(((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.025/100))AND(ISBUYORDER,AMOUNT<(FINANCE(40)*0.05/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0); 大賣:=IF(((AMOUNT>=(FINANCE(40)*0.025/100))AND(AMOUNT<(FINANCE(40)*0.05/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0); 中買:=IF(((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.005/100))AND(ISBUYORDER,AMOUNT<(FINANCE(40)*0.025/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0); 中賣:=IF(((AMOUNT>=(FINANCE(40)*0.005/100))AND(AMOUNT<(FINANCE(40)*0.025/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0); 散買:=IF((ISBUYORDER,AMOUNT<(FINANCE(40)*0.005/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0); 散賣:=IF((AMOUNT<(FINANCE(40)*0.005/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0); Z:=(SUM(超買,0)-SUM(超賣,0))+(SUM(大買,0)-SUM(大賣,0))+(SUM(中買,0)-SUM(中賣,0))+(SUM(散買,0)-SUM(散賣,0)); ★總凈(柱):Z,COLORSTICK; ★主凈(黃):(SUM(超買,0)-SUM(超賣,0))+(SUM(大買,0)-SUM(大賣,0)),LINETHICK3,COLORYELLOW; ★超凈(紅):SUM(超買,0)-SUM(超賣,0),LINETHICK2,COLORRED; ★大凈(粉):SUM(大買,0)-SUM(大賣,0),LINETHICK2,COLORMAGENTA; ★中凈(藍):SUM(中買,0)-SUM(中賣,0),LINETHICK2,COLORBLUE; ★散凈(綠):SUM(散買,0)-SUM(散賣,0),LINETHICK2,COLORGREEN;
一,、撈錢手主圖公式:附圖
600330
MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50; G1:=IF(-MMS>95,0,20); UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1); KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100)); KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100); 趨勢線:=EMA(((KS / 10) + EMA(CLOSE,10)),3); AA:=-100*(趨勢線-CLOSE)/趨勢線; AC:=(EMA(AA,5) ); SSL:=EMA(CLOSE,3); MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55); MM:=MA(MMV,1); STICKLINE(((SSL>MM)),SSL,MM,0.01,0),COLORRED; SA:=(MM*0.985); SS:=(MA(CLOSE,5)); DD:=(MA(CLOSE,13)); GG:=(MA(CLOSE,21)); 撈錢手:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF; {IF(SSL<MM,撈錢手,DRAWNULL),LINETHICK2,COLORFFFFFF;} 能量線:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4))); 上開:=O; 上收:=C; 上高:=H; 上低:=L; JJ:=(上開+上高+上低)/3; A:=EMA(JJ,4); 智能黃金線:A,COLORYELLOW,LINETHICK1; B:=REF(A,1); STICKLINE(((SSL<MM)),撈錢手,智能黃金線,0.01,0),COLORFFFF00; VA1:=EMA(上收,8); VA2:=EMA(上收,20); DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'★絕佳') ,LINETHICK2,COLORRED; DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★賣'); DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND 智能黃金線>REF(智能黃金線,1),VA1*0.97,'★買'),COLOR00FF00; 選手A:=MA(上收,3); 箱頂A:=MA(REF(HHV(上收,6),1),3); 箱底A:=MA(REF(LLV(上收,3),1),3); T1:=MA(上收,20)>=REF(MA(上收,20),1); T2:=CROSS(選手A,箱底A) AND 箱頂A/箱底A>100/100 AND T1; T3:=CROSS(箱頂A,選手A) AND 箱頂A/箱底A>100/100; 選手:=MA(上收,2); 箱頂:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2; 箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2; T4:=CROSS(選手,箱底) AND 箱頂/箱底>110/100; T5:=CROSS(箱頂,選手) AND 箱頂/箱底>110/100; VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); {DRAWTEXT(VAR3 >=VAR4 ,箱頂,'--中期好'),COLOR00FFFF; DRAWTEXT(VAR3<VAR4 ,箱頂,'--中期壞'),COLORF0F000; DRAWTEXT(A>B ,箱底,'--短期好'),COLOR00FFFF; DRAWTEXT(A<B ,箱底,'--短期壞'),COLORF0F000;} DRAWTEXT(CROSS(VAR3,VAR4)AND(C>=O)AND VAR3<40 AND UOO>0,LOW*0.96,'★'),COLORF00FF0; STICKLINE(C>=O,C,O,5,0),COLORRED; STICKLINE(C>=O,H,L,0,0),COLORYELLOW; STICKLINE(C<=O,C,O,5,0),COLORGREEN; STICKLINE(C<=O,H,L,0,0),COLORFFFF00; 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); DRAWTEXT(CROSS(買線,賣線)AND 箱頂>=REF(箱頂,1),LOW*0.95,'★跟'),COLOR00FFFF; STICKLINE(CROSS(買線,賣線),OPEN,CLOSE,3,0),COLOR00FFFF;
二、抓牛股主圖公式:附圖
M3:MA(CLOSE,3);M13:MA(CLOSE,13);M34:MA(CLOSE,34),COLORRED,LINETHICK2; X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120)); IF(M34<REF(M34,1),M34,DRAWNULL),COLORGREEN,LINETHICK2; STICKLINE(M3>=M13 AND M34>=REF(M34,1) ,H ,L ,0.1 ,0 ),COLOR0000DD; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLOR0000DD; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLOR0000DD; STICKLINE(M3<M13 AND M34>=REF(M34,1) ,H ,L ,0.1 ,0 ),COLORFFBB00; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORFFBB00; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORFFBB00; STICKLINE(M3<M13 AND M34<REF(M34,1) ,H ,L ,0.1 ,0 ),COLORFF0000; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORFF0000; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORFF0000; STICKLINE(M3>=M13 AND M34<REF(M34,1) ,H ,L ,0.1 ,0 ),COLORFF00FF; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORFF00FF; DRAWTEXT(X,MA(C,120)-0.13,'牛股'),LINETHICK3,COLORWHITE;
三,、買賣指標主圖公式:附圖 與金花四濺不一樣
MA5:=EMA(C,5); MA13:=EMA(C,13); UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0),COLOR0000FF; DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0),COLOR00FF00; A8:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6); UP1:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),H=HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),0); DOWN1:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),L=LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),0); 買:=IF((LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1),DRAWNULL,100); 賣:=IF(DOWN = UP AND DOWN<REF(UP,1) AND CROSS(MA(A8,2),A8), DRAWNULL,100); DRAWTEXT(買=100,L,'買'),COLORYELLOW; DRAWTEXT(賣=100,H,'賣'),COLOR00FF00;
四,、紅色單線主圖持股公式:附圖
買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(買線,賣線); SEL:=CROSS(賣線,買線); DRAWICON(BU,L-0.1,1); DRAWICON(SEL,H+0.1,2); STICKLINE(買線>=賣線,LOW,HIGH,0.0,1),COLORLIRED; STICKLINE(買線>=賣線,CLOSE,OPEN,2,1),COLORLIRED; STICKLINE(買線<賣線,LOW,HIGH,0.0,1),COLORLIBLUE; STICKLINE(買線<賣線,CLOSE,OPEN,2,1),COLORLIBLUE; 空:=EMA(CLOSE,5); 動平衡:EMA(空,34),COLORYELLOW,LINETHICK2; 雙線持幣:HHV(MA(HIGH,3),2),COLORGREEN,LINETHICK2; 單線持股:LLV(MA(HIGH,3),1),COLORRED,LINETHICK2; VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5); DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'買入'); VARC:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),6,1))*100; VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5; VAR2:=REF(VAR1,1); VAR3:=(SMA(MAX(VAR1-VAR2,0),10,1))/(SMA(ABS(VAR1-VAR2),10,1))*100; VAR4:=FILTER(IF((COUNT(VAR3<20,5))>=1 AND (COUNT(VAR1=LLV(VAR1,10),10))>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0),5); VAR5:=FILTER(動平衡>REF(動平衡,1) AND 雙線持幣<REF(雙線持幣,1) AND CLOSE>REF(CLOSE,1),11); VAR6:=REF(CLOSE,1); VAR7:=(SMA(MAX(CLOSE-VAR6,0),6,1))/(SMA(ABS(CLOSE-VAR6),6,1))*100;
五、四區(qū)主圖公式:附圖 N 1---250---120
K:=BARSLAST(CURRBARSCOUNT=N); GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0)); DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0)); KJ:=GD-DD; GD4:=IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL); DRAWBAND(GD4,RGB(0,0,250),DD+KJ/2,RGB(0,0,0));{該行設置背景色} 平衡:IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLOR00FFFF,NODRAW; 壓力:IF(CURRBARSCOUNT<=N,GD-KJ*0.191,DRAWNULL),COLORFF00FF,NODRAW; 支撐:IF(CURRBARSCOUNT<=N,DD+KJ*0.191,DRAWNULL),COLOR00FF00,NODRAW; 低吸:IF(CURRBARSCOUNT<=N/2 AND CROSS(平衡,LOW),1,DRAWNULL),COLORFF8899,NODRAW; 低漲:IF(CURRBARSCOUNT<=N,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW; 天:BARSLAST(L=DD),COLOR00FFFF,NODRAW; MA5:MA(CLOSE,5),COLORFFFFFF; MA10:MA(CLOSE,10),COLOR00FFFF; MA20:MA(C,20),COLORFF00FF; 高:IF(CURRBARSCOUNT<=N,GD,DRAWNULL),COLOR00FFFF,POINTDOT; 低:IF(CURRBARSCOUNT<=N,DD,DRAWNULL),COLOR00FF00,POINTDOT; {以下設置主圖顯示方式} STICKLINE(CURRBARSCOUNT=N,GD,DD,0,-1),COLORGREEN; STICKLINE(CURRBARSCOUNT=N/2,GD,DD,0,-1),COLORGREEN; STICKLINE(CURRBARSCOUNT=1,GD,DD,0,-1),COLORGREEN; STICKLINE(CURRBARSCOUNT<=N,平衡,平衡,3,-1),COLORWHITE; STICKLINE(CURRBARSCOUNT<=N/2,壓力,壓力,3,-1),COLORRED; STICKLINE(CURRBARSCOUNT<=N/2,支撐,支撐,3,-1),COLORGREEN; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); DRAWICON(低吸,LOW,13); {以下設置提示文字部分} DRAWTEXT(CURRBARSCOUNT=1,壓力,'0.809'),COLOR0000FF; DRAWTEXT(CURRBARSCOUNT=1,平衡,'0.500'),COLORFFFFFF; DRAWTEXT(CURRBARSCOUNT=1,支撐,'0.191'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=N/2+9,GD-KJ/12,'★強勢區(qū)域--急拉減倉!'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=N/2+9,GD-KJ/3,'●震蕩整理--尋機低吸!'),COLOR00FF00; DRAWTEXT(CURRBARSCOUNT=N/2+9,DD+KJ/3,'◆反彈中軌--逢高休息!'),COLORFFFFFF; DRAWTEXT(CURRBARSCOUNT=N/2+9,DD+KJ/10,'■弱勢區(qū)域--暫不參與!'),COLORFFFF00; DRAWTEXT(CURRBARSCOUNT=N,GD-KJ/12,'■目前K線天數(shù):請看參數(shù)!'),COLOR0000FF; DRAWTEXT(CURRBARSCOUNT=N,壓力,'■建議查閱K線:短線30天,中長線120天!'),COLORFF8899;
六,、黃買藍賣主圖:附圖
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{紅1} VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66; VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW; VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00FF00{98FD}; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00D900; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBLUE; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090FF2; PMA:MA(C,5),COLORWHITE,LINETHICK2; IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2; IF(PMA<REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINETHICK2; X:=(3*C+L+O+H)/6; 多空線:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6) +13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12) +7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210,COLORFF00FF,LINETHICK2; {用法:黃托底買進,藍壓頂賣出,。} DD:=多空線<REF(多空線,1); IF(DD,多空線,DRAWNULL),COLOR00FFFF,LINETHICK2; A:=(PMA>多空線); IF(A,多空線,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;
VAR21:=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); VAR22:=8; QQ:=CROSS(VAR21,VAR22); DRAWTEXT(QQ,L*0.98,'買進!'),COLOR0099FF;
七、妙手點金主圖:附圖
上線:=SMA(C,6.5,1); 下線:=SMA(C,13.5,1); 上線1:=SMA(C,3,1); 下線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(下線1,上線1),H*1.02,'清倉'),COLORYELLOW; BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; UPR:=BBI+3*STD(BBI,13),LINETHICK2; DWN:=BBI-3*STD(BBI,13); 安全:=MA(CLOSE,60),LINETHICK2; 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; 操作1:=MA(A7,5)*1.03,LINETHICK2; 操作2:=MA(A7,5)*0.97,LINETHICK2; 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;
八,、頂?shù)宗厔莩P主圖:附圖
HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0; AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1); QY:=BACKSET(AA,HIGHN+1); CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1); DRAWICON(CC,H*1.02,2); DDD:=BARSLAST(CC); GDTS:=IF(CC,CURRBARSCOUNT,0); DINGBU:=IF(DDD,REF(H,DDD),H);{頂部} DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); DINGBU1:=REF(DINGBU,DDD+1); GDCS1:=CONST(DINGBUTS); DINGBUTS1:=REF(DINGBUTS,DDD+1); GDCS2:=CONST(DINGBUTS1); DINGBU2:=REF(DINGBU1,DDD+1); MM:=IF(CURRBARSCOUNT>GDCS2,0,1); 高點壓力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2; DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT; DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT; AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1); QY1:=BACKSET(AA1,LOWN+1); CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1); DRAWICON(CC1,L*0.98,1); DD1:=BARSLAST(CC1); DDTS:=IF(CC1,CURRBARSCOUNT,0); YDB:=IF(DD1,REF(L,DD1),L); DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS); DDCS1:=CONST(DDTS1); ZDB:=REF(YDB,DD1+1); DDTS2:=REF(DDTS1,DD1+1); DDCS2:=CONST(DDTS2); 低點支撐:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;
ZGSTAR:=(高點壓力+低點支撐)/2; ZGEND:=CONST((高點壓力+低點支撐)/2); STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2); 中軌:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT,; DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;
EMA13:=EMA(C,13),COLORWHITE; EMA21:=EMA(C,21),COLORYELLOW; EMA34:=EMA(C,34),COLORFF00FF; EMA60:=MA(C,60),COLORFFCC66; VAR2:=(2*CLOSE+HIGH+LOW)/4; VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); 散戶:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3; 莊家:=EMA(0.667*REF(散戶,1)+0.333*散戶,2)*VAR3; DRAWTEXT(CROSS(散戶,莊家) AND 散戶<30,L-0.05,'←低吸'),COLORLIRED; DRAWTEXT(CROSS(莊家,散戶) AND 散戶>70,H+0.05,'←高拋'),COLORGREEN; DRAWICON(CROSS(散戶,莊家) AND 散戶<30,L-0.05,1); DRAWICON(CROSS(莊家,散戶) AND 散戶>70,H+0.05,2); VAR9:=CLOSE-REF(CLOSE,5); VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5); VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20); 賣出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100); DRAWICON(賣出<0,H+0.05,2); 買線:=EMA(CLOSE,2); 賣線:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42); B1:IF(CROSS(買線,賣線),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA; S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3; S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN; A0:=(L+H+C*2)/4; A1:EMA(A0,14)COLORBLUE,LINETHICK2; A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2; A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW; A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW; 看多:IF(A1X>=0 AND BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL),COLORMAGENTA{,LINETHICK2}; 逃頂:IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL),COLORCYAN,{LINETHICK2}; 買入持股:IF(A1X>=0,A1,DRAWNULL)COLORRED,LINETHICK3; 賣出空倉:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK3; STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF; STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC; STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF; STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;
水手突破 上趨勢:MA(LOW,20)*1.2,color0080ff,linethick2; 次上趨勢:MA(LOW,20)*1.1,COLORYELLOW; 次下趨勢:MA(HIGH,20)*0.9,COLORWHITE; 下趨勢:MA(HIGH,20)*0.8,COLORGREEN,linethick2; ZD:=(C-REF(C,1))/REF(C,1)*100; HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20)); 趨勢強度:=IF(C>次上趨勢,IF(C>上趨勢,4,3),IF(C>次下趨勢 AND C<次上趨勢,2,IF(C<下趨勢,0,1))); STICKLINE(趨勢強度=0,H,L,6,1),COLORBLUE; STICKLINE(趨勢強度=1,H,L,6,1),COLORGREEN; STICKLINE(趨勢強度=2,H,L,6,1),COLORGRAY; STICKLINE(趨勢強度=3,H,L,6,1),COLORYELLOW; STICKLINE(趨勢強度=4,H,L,6,1),COLORMAGENTA; STICKLINE(趨勢強度=0,C,O,5,0),COLORBLUE; STICKLINE(趨勢強度=1,C,O,5,0),COLORGREEN; STICKLINE(趨勢強度=2,C,O,5,0),COLORGRAY; STICKLINE(趨勢強度=3,C,O,5,0),COLORYELLOW; STICKLINE(趨勢強度=4,C,O,5,0),COLORMAGENTA; 智能輔助線主圖 MID:=(3*CLOSE+LOW+OPEN+HIGH)/6; 牛線:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED; 馬線:MA(牛線,6),COLORGREEN; 五日線:MA(CLOSE,5),POINTDOT,COLORLIBLUE; 水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW; 海洋尋底 參數(shù): P1 2 20 缺?。? P2 2 20 缺省:4 源碼: SSRCJL:=EMA(VOL,13); SSRCJE:=EMA(AMOUNT,13); SSRCBJX:=((SSRCJE / SSRCJL) / 100); SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100); 絕對底:=SSRGL<(0-18); 大底:=SSRGL<(0-14); 中底:=SSRGL<(0-10); 短底:=SSRGL<(0-6); STICKLINE((SSRGL < (0 - 18)),60,80,3,0),COLORRED; STICKLINE((SSRGL < (0 - 14)),40,60,3,0),COLORBLUE; STICKLINE((SSRGL < (0 - 10)),20,40,3,0),COLORYELLOW; STICKLINE((SSRGL < (0 - 6)),0,20,3,0),COLORWHITE; 高賣:80, POINTDOT,COLORRED; 低吸:20, POINTDOT,COLORGREEN; VAR1:=LLV(LOW,P1); VAR2:=HHV(HIGH,P1); K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK2; D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK2;
航海家主力追蹤 MID:=(3*CLOSE+LOW+OPEN+HIGH)/6; 主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+ 16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+ 13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+ 10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+ 7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+ 4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED; 捕撈季節(jié)指標源碼: WY1001:=(2*CLOSE+HIGH+LOW)/4; WY1002:=EMA(WY1001,4); WY1003:=EMA(WY1002,4); WY1004:=EMA(WY1003,4); XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100; STICKLINE(XYS0>=0,XYS0,0,2,0),COLORRED; STICKLINE(XYS0<0,XYS0,0,2,0),COLORGREEN; PJGJ:=AMOUNT/VOL/100; SSRYDJX:=MA(PJGJ,13); SSRCJL:=EMA(VOL,13); SSRCJE:=EMA(AMOUNT,13); SSRCBJX:=SSRCJE/SSRCJL/100; CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100; XYSHSL:=EMA(VOL/CAPITAL*100,13); ZZX:0,COLORWHITE; STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2 ,0 ),COLORGREEN; STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW; STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN; STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE; XYS1:MA(XYS0,2),COLORYELLOW; XYS2:MA(XYS0,1),COLORMAGENTA; 海洋追漲 HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6; HHJSJDB:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6) +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12) +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+ REF(HHJSJDA,20))/210; HHJSJDC:=MA(HHJSJDB,5); QQ1:=MA(MA(CLOSE,3),3); QQ2:=MA(MA(CLOSE,15),9); XYSQS1:=(QQ1-REF(QQ1,1))/REF(QQ1,1)*100; XYSQS2:=(QQ2-REF(QQ2,1))/REF(QQ2,1)*100; XYSHSL:=EMA(VOL/CAPITAL*100,13); STICKLINE(XYSQS2>=REF(XYSQS2,1)AND XYSHSL>1,0,40,2,0),COLORYELLOW; STICKLINE(XYSQS2>=REF(XYSQS2,1)AND XYSHSL>1 AND C>HHJSJDB AND HHJSJDB>HHJSJDC,41,88,2,0),COLORRED; IF(XYSQS2>=REF(XYSQS2,1) AND XYSHSL>1,XYSQS1*178,0);
說明: 捕撈季節(jié)(買賣簡單準確把握)捕撈季節(jié)指標:短線波段操作的買賣指標,,穩(wěn)定性強,、成功率高、操作簡單,;該指標包含兩個部分:一是彩柱,,表示這個個股的上漲能量,一般處于綠色彩柱區(qū)域是量能積累區(qū)域,;二是買賣點的確認,,這一點是最重要的,捕撈季節(jié)指標除彩柱外還包括兩條線分別是粉色和黃色線,,當粉色線上穿黃色線時為捕撈金叉買進信號,,當粉色線下穿黃色線時為捕撈死叉賣出信號。
海洋尋底指標:這是一個在市場出現(xiàn)群體超跌中用于選股和買股的指標,,成功率達到95%以上,在08年群體超跌的市場中無堅不摧,,屢次捕捉到超跌的有爆發(fā)力的牛股,。 該指標包含兩個部分:一是彩柱,表示的是其底部信號的結實度,,一種顏色彩柱為小底,,兩種顏色彩柱為中底,三種顏色彩柱為大底,,四種顏色彩柱為絕對底,。二是紅線和綠線,紅線表示的是牛線,,綠線表示的是馬線,。 運用原理:當出現(xiàn)底部信號后,紅線上穿綠線形成相交就是最好的買點,。
水手突破指標:這是一個趨勢型指標,,在大盤分析處于紅色的追漲操作的情況下用該指標選股能選到當時市場中最好的一類股票。 運用原理:當股價進入黃色區(qū)域(黃色上方)后,,表示該股已經進入黃色的強勢區(qū)域,,可以大膽追漲,也是最好的買點,,而當股價進入粉色的區(qū)域后股價將加速上揚,。
主力追蹤線:這是一個資金型指標,用于捕捉個股的主力進出情況,,緊扣主力操作動向捕捉莊股,,在股票市場中股價下跌不一定意味著主力出貨,,股價上漲也不一定是主力進場,有的時候股價下跌是主力洗盤,,有的時候上漲是主力拉高出貨,,而通過主力追蹤線就能更清楚的了解主力的真實意圖。 運用原理:主力追蹤線向下表示個股主力離場,,主力追蹤線向上表示主力吸籌,。
四大主圖指標,六大副圖指標,,讓你暢游股市,,巧妙使用任何一個指標均可決勝千里。(有需要可聯(lián)系:QQ380302095注明,,股票十大指標)
1,、金花四濺波段買賣點:(主圖)
買的不是最佳低點,賣的不是最佳高點,,高位風險無法看見,,低位見底不敢買,很是苦惱,,本指標就解決了這個問題,,適合于長線、中線,、短線操作,,紅色買入信號最強烈的買點,綠色賣出信號最實用的高點拋出信號,,成功率在95%以上,,深受投資者喜歡。
000998
2,、金柱布林買賣指標:(主圖)
既想看盤中K線,、均線,又想看布林軌道線,,還想尋找最佳買賣點位,,本指標就解決了這個問題,可參考指標進行最佳買賣操作,,布林線,、股票價格看的清清楚楚,還攜帶了操盤BS,適合短線,、中線,、長線操作,精確度極高。(圖中600456黃色線為布林上軌,、白色線中軌,、紫色線布林下軌,紅色柱為當日進場K線)
600456
3,、多彩短線買賣點:(主圖)
不想做長線,,只想做短線或者做波段,本指標就是專門針對這種情況設計,,短線靈敏度極高,,還有風險控制線,配合均線指標,,使圖形,、線形、風險,、進出信號完美結合,。
600644
4、安全通道買賣點:(主圖)
本指標融合了K線,、均線,、頂?shù)拙€、風險線,、BS點,、金花四濺為一體,主要針對超跌,、超漲個股,指標信號非常明顯實用,。圖中粗綠色線為風險線,,粗紫色線為超跌線,紫線附近買入,,綠線附近減倉,。
600418
5、金樁成交量指標:(副圖)
金樁出現(xiàn),,拉升只是時間問題
6,、金倉錢袋指標:(副圖)
7、智能解盤指標:(副圖)
8,、主力增倉指標
9,、莊影難逃指標
10、主力動向
|