通达信三步擒龙副图指标 源码 贴图 A:=CROSS(SMA(CLOSE,2,1),SMA(LOW,5,1))*A11; A1:=(SMA(HIGH,21,2)*1.05)*A11*1.05; A2:=IF(A,A1,SMA(LOW,5,1))*A11; A3:=CROSS(SMA(CLOSE,2,1)*A11,(SMA(HIGH,21,2)*1.05))*A11; A4:=IF(A3,(SMA(HIGH,21,2)*1.05)*1.10,(SMA(LOW,21,2)*0.95))*A11; A5:=A2>SMA(LOW,5,1)*A11 AND CROSS(C,REF(MA(C,13),13/2+1))*A11 AND VOL>0; A6:=REF(H/O<1.02,1)*A11 AND REF(C DRAWTEXT(主升抓牛,90,'短线抓牛')*A11,COLORRED; STICKLINE(主升抓牛 ,75,66,1,0)*A11,COLORRED; STICKLINE(主升抓牛 ,66,57,2,0)*A11,COLORMAGENTA; STICKLINE(主升抓牛,57,48,3,0)*A11,COLORGREEN; STICKLINE(主升抓牛 ,48,39,4,0)*A11,COLORBLUE; STICKLINE(主升抓牛 ,30,21,6,0)*A11,COLORBROWN; STICKLINE(主升抓牛 ,39,30,5,0)*A11,COLORCYAN; STICKLINE(主升抓牛 ,21,12,7,0)*A11,COLORYELLOW; STICKLINE(主升抓牛 ,12,3,8,0)*A11,COLORWHITE; VAR7:=(CLOSE-LLV(LOW,9))*A11/(HHV(HIGH,9)-LLV(LOW,9))*A11*100; VAR8:=EMA(VAR7,30)*A11; VAR9:=EMA(VAR8,30)*A11; VAR10:=3*VAR8-2*VAR9; 势:=EMA(VAR10,5)*A11; DRAWTEXT(CROSS(10,势),69,'进')*A11,COLORYELLOW; DRAWTEXT(CROSS(10,势),58,'入')*A11,COLORFF00FF; DRAWTEXT(CROSS(10,势),43,'预')*A11,COLOR00C0FF; DRAWTEXT(CROSS(10,势),31,'警[↓]')*A11,COLORFFFF6F; DRAWTEXT(CROSS(10,势),19,'区')*A11, COLORB47DFF; VAR1:=EMA(CLOSE,3)*A11; VAR2:=EMA(CLOSE,21)*A11; VAR3:=BARSLAST(CROSS(VAR2,VAR1))>15; VAR4:=VOL>MA(VOL,5)*2 AND VOL DRAWTEXT(VAR5,80,'★涨')*A11,COLORGREEN,LINETHICK1; 涨:IF(VAR5,80,0)*A11,STICK,LINETHICK3,COLORGREEN; ZT:=C/REF(C,1)>1.097; STICKLINE(ZT,0,50,2,0)*A11,COLOR880088; STICKLINE(ZT,0,50,1.5,0)*A11,COLORAA00AA; STICKLINE(ZT,0,50,0.8,0)*A11,COLORCC00CC; STICKLINE(ZT,0,50,0.3,0)*A11,COLORFF00FF; RSV:=(CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100; DRAWTEXT( ZT,60,'涨停')*A11,COLORMAGENTA,LINETHICK1; CXH1:=(C-LLV(L,36))/(HHV(H,36)-LLV(L,36))*100; CXH2:=SMA(CXH1,3,1)*A11; CXH3:=SMA(CXH2,3,1)*A11; CXH4:=SMA(CXH3,3,1)*A11; 波:=CXH3*A11,COLORRED; 段:=CXH4*A11,COLORLICYAN; CXH5:=CROSS(CXH3,CXH4)*A11 AND CXH3<20; DRAWTEXT(FILTER(CXH5,10)=1,92,'大资金')*A11,,COLORRED; STICKLINE(FILTER(CXH5,10)=1,0,80,10,0)*A11,COLORYELLOW; CXH9:=CROSS(CXH4,CXH3)*A11 AND CXH3>80; STICKLINE(FILTER(CXH9,5)=1,80,100,10,0)*A11,COLORGREEN; DRAWTEXT(FILTER(CXH9,5)=1,90,'逃顶')*A11,COLORGREEN; CXH8:=CROSS(CXH2,CXH3)*A11 AND CXH3>80 AND CXH3>CXH4; STICKLINE(CXH8,85,100,10,0)*A11,COLOR0099FF; 100,COLORBBBBBB,LINETHICK3; 0,,LINETHICK3; AA:=LLV(L,36); BB:=HHV(H,30); 风险:80*A11,COLORFF00FF; 小心:87.5*A11,COLOR00FF00; DD:=(EMA(((C-AA)/(BB-AA))*(4),4))*A11*(25); 机构:=DD*A11,COLORMAGENTA,LINETHICK2; 庄家:((((DD-LLV(DD,21))*A11/(HHV(DD,21)-LLV(DD,21)))*(4))*(25))*A11,COLORYELLOW; B:=IF(CROSS(庄家,90)*A11 AND (机构<40),85,0)*A11,COLORRED; DRAWTEXT(CROSS(庄家,90) AND (机构<40),80,'-买'),COLORRED; STICKLINE(B ,75,66,1,0)*A11,COLORRED; STICKLINE(B ,66,57,2,0)*A11,COLORMAGENTA; STICKLINE(B,57,48,3,0)*A11,COLORGREEN; STICKLINE(B ,48,39,4,0)*A11,COLORBLUE; STICKLINE(B ,30,21,6,0)*A11,COLORBROWN; STICKLINE(B ,39,30,5,0)*A11,COLORCYAN; STICKLINE(B ,21,12,7,0)*A11,COLORYELLOW; STICKLINE(B ,12,3,8,0)*A11,COLORWHITE; 跟踪:10*A11,COLOR0000FF; 中轴:45*A11,COLORWHITE; 上价:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))*A11/5; 下价:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))*A11/5; 中价:=MAX(EMA(上价,1)*A11-EMA(下价,5),0)*200; 吃庄:=EMA(中价,5)*A11; GUA:=30*A11; 实体比例:=(CLOSE-OPEN)/REF(CLOSE,1)*A11; 冲击系数:=MA(实体比例,GUA)*A11; 冲击系数1:=MA(冲击系数,3)*A11; 控盘量:STICKLINE(冲击系数1>0,((冲击系数1*10000 )+吃庄)/2,0,9,0),COLORRED,LINETHICK4; STICKLINE(冲击系数1>0,((冲击系数1*10000 )+吃庄)/2,0,9,0),COLORRED; 财富:=CROSS(控盘量,中轴)*A11=1.05; STICKLINE(财富 ,75,66,1,0)*A11,COLORRED; STICKLINE(财富 ,66,57,2,0)*A11,COLORMAGENTA; STICKLINE(财富,57,48,3,0)*A11,COLORGREEN; STICKLINE(财富,48,39,4,0)*A11,COLORBLUE; STICKLINE(财富 ,30,21,5,0)*A11,COLORBROWN; STICKLINE(财富,39,30,6,0)*A11,COLORCYAN; STICKLINE(财富,21,12,7,0)*A11,COLORYELLOW; STICKLINE(财富,12,3,8,0)*A11,COLORWHITE; DRAWTEXT(财富,83,'-买')*A11,COLORRED;
|