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.绝对稳赚 (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; 逢高派发区: 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); 良机区1:=运动趋势*0.9; 良机区2:=运动趋势*0.875; 良机区3:=运动趋势*0.85; 涨1:=O<良机区3; 求败1:IF(涨1,0.3,0),COLOR0000FF; 涨2:=L<良机区2 AND 运动趋势>REF(运动趋势,1); 求败2:IF(涨2,0.5,0),COLOR008000; 涨3:=L<良机区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;
{理想实现} 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; 理想实现:(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; {加强买点后续升势} 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); 主力出现: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; 六、成交量统计副图
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; 业绩: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; 连续飘红:LAST(净额>0,3,1); STICKLINE(净额>0,0,净额,3,0),COLORRED,LINETHICK2; STICKLINE(净额<0,净额,0,3,0),COLORGREEN,LINETHICK2; 0,POINTDOT,COLORWHITE;
九、分时超赢数据
(单位:万元):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;
五、四区主图公式:附图 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,'★强势区域--急拉减仓!'),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,'■弱势区域--暂不参与!'),COLORFFFF00; DRAWTEXT(CURRBARSCOUNT=N,GD-KJ/12,'■目前K线天数:请看参数!'),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;
八、顶底趋势抄盘主图:附图
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; 海洋寻底 参数: P1 2 20 缺省:5 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; 捕捞季节指标源码: 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);
说明: 捕捞季节(买卖简单准确把握)捕捞季节指标:短线波段操作的买卖指标,稳定性强、成功率高、操作简单;该指标包含两个部分:一是彩柱,表示这个个股的上涨能量,一般处于绿色彩柱区域是量能积累区域;二是买卖点的确认,这一点是最重要的,捕捞季节指标除彩柱外还包括两条线分别是粉色和黄色线,当粉色线上穿黄色线时为捕捞金叉买进信号,当粉色线下穿黄色线时为捕捞死叉卖出信号。
海洋寻底指标:这是一个在市场出现群体超跌中用于选股和买股的指标,成功率达到95%以上,在08年群体超跌的市场中无坚不摧,屡次捕捉到超跌的有爆发力的牛股。 该指标包含两个部分:一是彩柱,表示的是其底部信号的结实度,一种颜色彩柱为小底,两种颜色彩柱为中底,三种颜色彩柱为大底,四种颜色彩柱为绝对底。二是红线和绿线,红线表示的是牛线,绿线表示的是马线。 运用原理:当出现底部信号后,红线上穿绿线形成相交就是最好的买点。
水手突破指标:这是一个趋势型指标,在大盘分析处于红色的追涨操作的情况下用该指标选股能选到当时市场中最好的一类股票。 运用原理:当股价进入黄色区域(黄色上方)后,表示该股已经进入黄色的强势区域,可以大胆追涨,也是最好的买点,而当股价进入粉色的区域后股价将加速上扬。
主力追踪线:这是一个资金型指标,用于捕捉个股的主力进出情况,紧扣主力操作动向捕捉庄股,在股票市场中股价下跌不一定意味着主力出货,股价上涨也不一定是主力进场,有的时候股价下跌是主力洗盘,有的时候上涨是主力拉高出货,而通过主力追踪线就能更清楚的了解主力的真实意图。 运用原理:主力追踪线向下表示个股主力离场,主力追踪线向上表示主力吸筹。
四大主图指标,六大副图指标,让你畅游股市,巧妙使用任何一个指标均可决胜千里。(有需要可联系:QQ380302095注明,股票十大指标)
1、金花四溅波段买卖点:(主图)
买的不是最佳低点,卖的不是最佳高点,高位风险无法看见,低位见底不敢买,很是苦恼,本指标就解决了这个问题,适合于长线、中线、短线操作,红色买入信号最强烈的买点,绿色卖出信号最实用的高点抛出信号,成功率在95%以上,深受投资者喜欢。
000998
2、金柱布林买卖指标:(主图)
既想看盘中K线、均线,又想看布林轨道线,还想寻找最佳买卖点位,本指标就解决了这个问题,可参考指标进行最佳买卖操作,布林线、股票价格看的清清楚楚,还携带了操盘BS,适合短线、中线、长线操作,精确度极高。(图中600456黄色线为布林上轨、白色线中轨、紫色线布林下轨,红色柱为当日进场K线)
600456
3、多彩短线买卖点:(主图)
不想做长线,只想做短线或者做波段,本指标就是专门针对这种情况设计,短线灵敏度极高,还有风险控制线,配合均线指标,使图形、线形、风险、进出信号完美结合。
600644
4、安全通道买卖点:(主图)
本指标融合了K线、均线、顶底线、风险线、BS点、金花四溅为一体,主要针对超跌、超涨个股,指标信号非常明显实用。图中粗绿色线为风险线,粗紫色线为超跌线,紫线附近买入,绿线附近减仓。
600418
5、金桩成交量指标:(副图)
金桩出现,拉升只是时间问题
6、金仓钱袋指标:(副图)
7、智能解盘指标:(副图)
8、主力增仓指标
9、庄影难逃指标
10、主力动向
|