通达信销魂买手+销魂黑马主图/幅图指标 贴图
长底:=(XMA(XMA(L,90),90)+XMA(XMA(L,120),120)+XMA(XMA(L,150),150))/3*1.92-(XMA(XMA(H,90),90)+XMA(XMA(H,120),120)+XMA(XMA(H,150),150))/3,LINETHICK2,COLORYELLOW;
AF长:=EMA((CLOSE+HIGH+LOW)/3,18);
BF长:=REF(AF长,1);
AF中:=EMA((CLOSE+HIGH+LOW)/3,10);
BF中:=REF(AF中,1);
AF5:=EMA((CLOSE+HIGH+LOW)/3,6);
BF5:=REF(AF5,1);
AF3:=EMA((CLOSE+HIGH+LOW)/3,3);
BF3:=REF(AF3,1);
买入定位:=AF长>BF长 OR AF中>BF中 OR AF5>BF5 OR AF3>BF3;
卖出定位:=AF长<BF长 OR AF中<BF中 OR AF5<BF5;
顶底定位:=AF长<BF长 OR AF中<BF中 OR AF5<BF5 OR AF3<BF3;
STICKLINE(买入定位=1,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(买入定位=1,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(AF中<BF中,LOW,HIGH,0.0,0),COLORGREEN;
STICKLINE(AF中<BF中,CLOSE,OPEN,3,1),COLORGREEN;
STICKLINE(卖出定位=1 AND 中中顶>中顶,LOW,HIGH,0.0,1),COLORGREEN;
STICKLINE(卖出定位=1 AND 中中顶>中顶,CLOSE,OPEN,3,1),COLORGREEN;
STICKLINE(顶底定位=1 AND H>中中顶 AND H>中顶,CLOSE,OPEN,3,1),COLORGREEN;
STICKLINE(顶底定位=1 AND H>中中顶 AND H>中顶,LOW,HIGH,0.0,1),COLORGREEN;
加仓定位1:=卖出定位=1 AND 中中顶>中顶;
加仓定位2:=顶底定位=1 AND H>中中顶 AND H>中顶;
DRAWTEXT(中中中<EMA中中中 AND CROSS(AF中,BF中) AND 短中底<中中底 AND 短中底<中底,L*0.97,'↖大牛'),COLORFF00FF;
DRAWTEXT(中中中>=EMA中中中 AND CROSS(AF中,BF中) AND 短中底<中中底,L*0.97,'↖黑马'),COLORFF00FF;
DRAWTEXT(CROSS(BF3,AF3) AND H>中中顶 AND H>中顶,H*1.03,'↙【逃】'),COLORGREEN;
DRAWTEXT(加仓定位1=0 AND 加仓定位2=0 AND CROSS(AF中,BF中) AND 中中中>=EMA中中中,L*0.995,'↖追'),COLORYELLOW;
DRAWTEXT(CROSS(AF长,BF长) AND 中底<长底,L*0.97,'↖【赌】'),COLORRED;
DRAWTEXT(CROSS(AF长,BF长) AND 中底<长底 AND 中底>长底,L*0.97,'↖中底'),COLORYELLOW;
STICKLINE(AF中>BF中 AND 短中底<中底 AND 短中底<中底,CLOSE,OPEN,2,0),COLORRED;
DRAWTEXT(AF3>BF3 AND 短中底<中中底 AND H<中中底,L*0.985,'↖骗'),COLORWHITE;
STICKLINE(AF3>BF3 AND 短中底<中中底 AND H<中中底,CLOSE,OPEN,2,0),COLORRED;
STICKLINE(中中中>=EMA中中中 AND CROSS(AF中,BF中) AND AF中<中中中 AND AF中<(中顶+中底)/2 AND H<短中顶,CLOSE,OPEN,3,0),COLORRED;
DRAWTEXT(中中中>=EMA中中中 AND CROSS(AF中,BF中) AND AF中<中中中 AND AF中<(中顶+中底)/2 AND H<短中顶,L*0.97,'↖【买】'),COLORRED;
DRAWTEXT(CROSS(BF中,AF中) AND 中中中<EMA中中中,H*1.01,'↙卖'),COLORGREEN;
DRAWICON(AF中<中中中 AND AF中<(中顶+中底)/2 AND H<短中顶 AND CROSS(AF中,BF中) AND 中中中<EMA中中中,L*0.99,1);
2、销魂黑马如下:
QS0:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120));
QS1:=((QS0/1)*EMA(CLOSE,20));
QS:=SMA(QS1,3,1);
QD0:=(CLOSE-LLV(LOW,119))/(HHV(HIGH,119)-LLV(LOW,119));
QD1:=((QD0/1)*EMA(CLOSE,20));
QD:=SMA(QD1,5,1);
QF0:=(CLOSE-LLV(LOW,118))/(HHV(HIGH,118)-LLV(LOW,118));
QF1:=(QF0/1)*EMA(CLOSE,20);
QF:=SMA(QF1,5,1);
PX1:=(QS+QD+QF)/3+EMA(CLOSE,20);
PX2:=MA(PX1,2);
PX3:=MA(PX1,3);
YY:=(2*CLOSE+HIGH+LOW)/4;
MA10:=MA(YY,45);
收:=(PX1-MA10);
中:=(PX2-MA10);
开:=(PX3-MA10);
MA20:=MA(收,8);
STICKLINE((收>=开),收,(开-0.03),1,0),COLORRED;
STICKLINE((收>=开),收,(开-0.03),0,0),COLORRED;
STICKLINE((收>=开),中,(开-0.03),8,0),COLORRED;
STICKLINE((收>=开),中,(开-0.03),7,0),COLORRED;
STICKLINE((收>=开),中,(开-0.03),6,0),COLORRED;
STICKLINE((收>=开),中,(开-0.03),5,0),COLORRED;
STICKLINE((收>=开),中,(开-0.03),4,0),COLORRED;
STICKLINE((收>=开),中,(开-0.03),3,0),COLORRED;
STICKLINE((收>=开),中,(开-0.03),2,0),COLORRED;
STICKLINE((收>=开),中,(开-0.03),1,0),COLORRED;
STICKLINE((收<=开),收,(开+0.03),1,0),COLORCYAN;
STICKLINE((收<=开),收,(开+0.03),0,0),COLORCYAN;
STICKLINE((收<=开),中,(开+0.03),8,0),COLORCYAN;
STICKLINE((收<=开),中,(开+0.03),7,0),COLORCYAN;
STICKLINE((收<=开),中,(开+0.03),6,0),COLORCYAN;
STICKLINE((收<=开),中,(开+0.03),5,0),COLORCYAN;
STICKLINE((收<=开),中,(开+0.03),4,0),COLORCYAN;
STICKLINE((收<=开),中,(开+0.03),3,0),COLORCYAN;
STICKLINE((收<=开),中,(开+0.03),2,0),COLORCYAN;
STICKLINE((收<=开),中,(开+0.03),1,0),COLORCYAN;
趋势线:MA20,COLORWHITE;
生命线:MA(收,13),COLORYELLOW;
{IF(生命线<REF(生命线,1),生命线,1),COLORFF00FF;}
DRAWICON(CROSS(趋势线,生命线),生命线*0.95,1);
DRAWICON(CROSS(生命线,趋势线),趋势线*1.01,2);