攻击反转: N:=14; M:=84; TYP:=(HIGH+LOW+CLOSE)/3; C1:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); C2:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)); 注意了结:200,COLORRED; 底部区域:-150,COLORLIGREEN; VARA:=REF(LOW,1); VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3); VARD:=LLV(LOW,30); VARE:=HHV(VARC,30); VARF:=IF(MA(CLOSE,58),1,0); VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF; VARH:=IF(VARG>50,50,VARG); VARHI:=VARH*4; 吸筹:STICKLINE(VARH>-120,0,VARHI,6,1),COLORYELLOW; RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); 买入时机: IF(CROSS(C1,-150),-150,-200),COLORRED,LINETHICK2; LL:=REF(CLOSE,1); MM:=SMA(MAX(CLOSE-LL,0),6,1)/SMA(ABS(CLOSE-LL),6,1)*100; 分批出: IF(CROSS(80,MM),200,250),COLORCYAN,LINETHICK1; 牛启动: IF(CROSS(C2,-70),-100,-150),COLORGREEN,LINETHICK1; VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(VAR3*10,3); VAR5:=LLV(LOW,13); VAR6:=HHV(VAR4,13); VAR7:=IF(BARSCOUNT(CLOSE)>34,1,0); VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; VAR9:=IF(VAR8>100,100,VAR8); VAR10:=VAR9*4; {吸筹:VAR9,LINETHICK0,COLOREE00EE;} STICKLINE(VAR9>-120,0,VAR10,8,1); STICKLINE(VAR9>1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2),0,VAR10,2,0),COLORRED; STICKLINE(VAR9>0.1 AND VAR9<1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2),0,VAR10,8,0),COLOR00FFFF; 垄上行: 万能均线:=43; 大盘:=EMA(INDEXC,500)/EMA(C,500); 工作线:EMA(C,17),COLORF00FF0,LINETHICK1; 一号线:EMA(CLOSE,144),POINTDOT,LINETHICK1,COLOR8000FF; 二号线:MA(C,25),COLORWHITE,LINETHICK1; 三号线:EMA(C,318),COLOR0000FF,LINETHICK1; 四黑马线:EMA(C,453),POINTDOT,LINETHICK1,COLORYELLOW; 五号线:EMA(C,550),POINTDOT,COLORFFCC66; 六号线:EMA(C,610),,POINTDOT,LINETHICK1,COLORYELLOW; 七号线:EMA(C,730),,POINTDOT,COLORBLUE; 八号线:EMA(C,864),POINTDOT,LINETHICK1; 九号线:MA(C,99),LINETHICK1,COLOR00FF00; SS:=CROSS(二号线,九号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(二号线,三号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(二号线,一号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98{AND CROSS(二号线,三号线)}; DRAWICON(SS,L-0.04,5); DD:=CROSS(九号线,一号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(九号线,四黑马线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(九号线,三号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(九号线,三号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 AND CROSS(二号线,四黑马线); {DD:=CROSS(二号线,四黑马线);} DRAWICON(DD,L-0.04,3); 万能线:MA(CLOSE,万能均线),COLORYELLOW,LINETHICK2.5; {变色龙均线} IF(CLOSE>万能线,万能线,DRAWNULL),COLORRED,LINETHICK2.5; IF(CLOSE<万能线,万能线,DRAWNULL),COLORYELLOW,LINETHICK2.5; {脚踏头涨} QA:=REF(H,10)=HHV(H,2*10+1); QB:=BACKSET(QA,10+1); QC:=FILTER(QB,10) AND H=HHV(H,10+1); QD:=BARSLAST(QC); QE:=IF(QC,CURRBARSCOUNT,0); QF:=IF(QD,REF(QE,QD),QE); QG:=CONST(QF); QH:=REF(QF,QD+1); QW:=CONST(QH); DRAWLINE(CURRBARSCOUNT=QW,H,ISLASTBAR,REF(H,QW-1),1),COLOR0055FF,LINETHICK2; DRAWLINE(CURRBARSCOUNT=QG,H,ISLASTBAR,REF(H,QG-1),1),COLORYELLOW,LINETHICK2; QM:=INTPART(3*8/5); QR:=REF(H,QM)=HHV(H,2*QM+1); QT:=FILTER(QR,QM); QY:=BACKSET(QT,QM+1); QU:=FILTER(QY,QM); QI:=BACKSET(ISLASTBAR,BARSLAST(QU)+1); QP:=QI>REF(QI,1); QA1:=REF(L,8)=LLV(L,2*8+1); QB1:=BACKSET(QA1,8+1); QC1:=FILTER(QB1,8) AND L=LLV(L,8+1); QD1:=BARSLAST(QC1); QE1:=IF(QC1,CURRBARSCOUNT,0); QF1:=IF(QD1,REF(L,QD1),L); QG1:=IF(QD1,REF(QE1,QD1),QE1); QH1:=CONST(QG1); QW1:=REF(QF1,QD1+1); QM1:=REF(QG1,QD1+1); QR1:=CONST(QM1); DRAWLINE(CURRBARSCOUNT=QH1,L,ISLASTBAR,REF(L,QH1-1),1),COLORMAGENTA,LINETHICK2; DRAWLINE(CURRBARSCOUNT=QR1,L,ISLASTBAR,REF(L,QR1-1),1),COLORCYAN,LINETHICK2; QT1:=REF(L,QM)=LLV(L,2*QM+1); QY1:=FILTER(QT1,QM); QU1:=BACKSET(QY1,QM+1); QI1:=FILTER(QU1,QM); QP1:=BACKSET(ISLASTBAR,BARSLAST(QI1)+1); QJ1:=QP1>REF(QP1,1); SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1); SR2:=FILTER(SR1,10); SR3:=BACKSET(SR2,10+1); HD:=FILTER(SR3,10); {涨跌停配色} ZDT:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDT>9.8,O,C,2,0),COLORRED; STICKLINE(ZDT<-9.8,O,C,2,0),COLOR00FF00; {立桩量} TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01; STICKLINE(TJ,C,O+(C-O)/2,1,0),COLOR00FFFF; {一穿三:5、10、20} MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,20); 一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN ; STICKLINE(一穿三,O,O+(C-O)/2,1,0),COLORFF00FF; {历史成交量} 最大成交量:=HHV(VOL,0); 位置:=VOL=最大成交量; 画线1:DRAWTEXT(位置,H*1.02,'天量 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄天量 ̄'),COLOR0099FF; {跳空缺口} 跳空:=REF(L,1)>H; DRAWTEXT(跳空,H,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄跳空 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),COLORFF6EC7; 开枪选股( 顶尖财经 股票学院: http://www.58188.com ): MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); 买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)); XG:FILTER(买=1,3); DRAWBAND(XG,RGB(255,0,255),0,RGB(0,0,0)); DRAWTEXT(XG,0.8, ' 开枪'),COLORYELLOW; |