当前位置:首页 > 通达信公式 > 正文

提刀踏浪指标 通达信 副图 波段 无未来函数 短线 买卖点

2019-04-06原创 编 辑:翔博软件

问题怎样才能每天都收到这类文章!

答案只需点击上方《翔博软件工作室

做价值的传播者,路同行,一起成长



公式源码:

 

DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信订阅号:翔博软件工作室'),COLOR556699;

VARZ:=(H+L+C)/3;

VAR2Z:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*200;

VAR3Z:=SMA(VAR2Z,3,1);

线:=SMA(VAR3Z,3,1);

中线:=EMA((VARZ-LLV(VARZ,60))/(HHV(VARZ,60)-LLV(VARZ,60)),2)*100;

HAN:=DATE<1131218;

STICKLINE(线<30 AND 中线<15,0,100,25,0)*HAN,COLOR990060;

STICKLINE(线<30 AND 中线<15,0,70,25,0)*HAN,COLOR990062;

STICKLINE(线<30 AND 中线<15,0,40,25,0)*HAN,COLOR990065;

STICKLINE(线<30 AND 中线<15,0,20,25,0)*HAN,COLOR990069;

 

VAR3:=(2*CLOSE+HIGH+LOW)/4;

VAR4:=LLV(LOW,34);

VAR5:=HHV(HIGH,34);

趋势:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13);

人气:=EMA(0.667*REF(趋势,1)+0.333*趋势,2);

导弹:=IF(CROSS(趋势,人气) AND 人气<5 AND 趋势<5,30,0);

手:=IF(CROSS(人气,趋势) AND 人气>85,80,0);

低吸:= IF(CROSS(趋势,人气) AND 趋势<10,20,0);

高抛:= IF(CROSS(人气,趋势) AND 人气>96,80,100);

VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

VAR28:=SMA(VAR26,3,1);

波王:= SMA(VAR28,3,1);

波鬼:= SMA(波王,3,1);

底部买进:= (波王<10 AND 波鬼<10 AND 波王>REF(波王,1)   ) ;

底部:=FILTER(底部买进,4);

进:=IF(CROSS(人气,趋势) AND 人气>55 AND 趋势>55,50,100);

VAR1:=((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;

大顶:=STICKLINE(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+5,0,7,0);

VAR2:=HHV(VAR1>20,10);

危险:= STICKLINE(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,0,4,0);

注意止损:=STICKLINE(VAR2 AND FILTER(VAR1< REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0);

大底:=STICKLINE(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,0,7,0);

减:=IF(CROSS(波鬼,波王) AND 波鬼>80,85,0);

短顶:=STICKLINE(VAR1>9 AND FILTER(VAR1<REF(VAR1,1) OR 进=50,5) ,60,85,2,0);

 

 

VAR1X:=REF(CLOSE,1);

江波: SMA(MAX(CLOSE-VAR1X,0),5,1)/SMA(ABS(CLOSE-VAR1X),5,1)*100*HAN,COLORGREEN,LINETHICK2;

VAR2X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR3X:=SMA(VAR2X,4,1);

VAR4X:=SMA(VAR3X,2,1);

VAR5X:=SMA(VAR4X,2,1);

冯: 3*VAR4X*HAN-2*VAR5X, COLORMAGENTA,LINETHICK2;

江: VAR5X*HAN, COLORYELLOW ,LINETHICK2;

波: VAR4X*HAN, COLORRED,LINETHICK2;

VAR7:=CROSS(VAR4X,VAR5X) AND VAR4X<35;

VAR8:=VAR7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;

QW:=CROSS(冯,波) AND 35<波 AND 波<46;

 

STICKLINE(FILTER(QW,10)=1,0,VAR4X,2.5,0)*HAN,COLORFF11FF;

STICKLINE(FILTER(QW,10)=1,0,VAR4X,2,0)*HAN,COLORFF33FF;

 

STICKLINE(FILTER(QW,10)=1,0,VAR4X,0.9,0)*HAN,COLORFF77FF;

STICKLINE(FILTER(QW,10)=1,0,VAR4X,0.3,0)*HAN,COLORFF99FF;

 

DRAWTEXT(FILTER(QW,10),30,'...短买')*HAN,COLORRED;

VAR01:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;

VAR02:=SMA(VAR01,3,1);

VAR03:=SMA(VAR02,3,1);

VAR04:=SMA(VAR03,3,1);

波0:= VAR03;

段0:= VAR04;

VAR06:=CROSS(VAR03,VAR04) AND VAR03<25;

VAR07:=VAR06 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;

ASD:=STICKLINE(VAR8 OR VAR07,0,20,6,0);

STICKLINE(ASD,0,36,3,0 )*HAN,COLOR990000;

STICKLINE(ASD,0,36,2.7,0 )*HAN,COLORCC0000;

STICKLINE(ASD,0,36,2.1,0 )*HAN,COLORFF4400;

STICKLINE(ASD,0,36,1.2,0 )*HAN,COLORFF8800;

STICKLINE(ASD,0,36,0.4,0 )*HAN,COLORFFCC00;

 

DRAWTEXT(FILTER(ASD,15),33,'..底部放量')*HAN,COLORGREEN;

VARA:=CROSS(VAR5X,VAR4X) AND VAR4X>83;

 

V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))

*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))

*100,20,1),15,1));

V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))

*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))

*100,20,1),15,1));

T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);

DRAWTEXT(T7 AND COUNT(T7,30)=1,20,'..。满仓')*HAN,COLORRED;

DRAWTEXT(T7 AND COUNT(T7,30)=1,15,'..。买入!')*HAN,COLORRED;

 

STICKLINE(T7 AND COUNT(T7,30)=1,0,30,3.2,0)*HAN,COLOR0077FF;

STICKLINE(T7 AND COUNT(T7,30)=1,0,30,2.5,0)*HAN,COLOR0099FF;

STICKLINE(T7 AND COUNT(T7,30)=1,0,30,1.9,0)*HAN,COLOR00BBFF;

 

STICKLINE(T7 AND COUNT(T7,30)=1,0,30,0.4,0)*HAN,COLOR00FFFF;

 

江A:=STICKLINE(底部=1 OR 导弹=30 OR 大底=1 OR 低吸=20 , 0,25,1,0)*HAN;

江AA:=STICKLINE(江A=1 AND REF(江波,1)<19 , 0,25,1,0);

风:=STICKLINE(江AA=1 , 0,25,1,0);

部A:=FILTER(风,18);

风BA:=STICKLINE(部A,-2,15,3,0),COLORLIGREEN ;

 

底抄:=STICKLINE((VAR7),-2,江,1,0);

部AA:=FILTER(底抄,10);

底抄A:=STICKLINE((部AA),0,江,1,0);

STICKLINE((部AA),0,江,3.1,0)*HAN,COLOR777777;

STICKLINE((部AA),0,江,2.6,0)*HAN,COLOR999999;

STICKLINE((部AA),0,江,2,0)*HAN,COLORBBBBBB;

STICKLINE((部AA),0,江,1.2,0)*HAN,COLORDDDDDD;

STICKLINE((部AA),0,江,0.4,0*HAN),COLORFFFFFF;

 

DRAWTEXT(FILTER(底抄A,10),江-4,'..波段短线')*HAN,COLORWHITE;

趋势线:= 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);

见底信号:= 3;

买入:= IF(CROSS(趋势线,见底信号),100,0);

 

趋势线1:= 3*SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),3,1);

见底信号1:= 3;

买入1:= IF(CROSS(趋势线1,见底信号1),100,0);

 

趋势线2:= 3*SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1),3,1);

见底信号2:= 3;

买入2:= IF(CROSS(趋势线2,见底信号2),100,0);

趋势1:=V3;

顶入:=STICKLINE(买入 AND 买入1 AND  买入2 AND 趋势1<10,25,80,8,0);

小:=IF(COUNT(( 趋势1<0),5)=3, -25,0) ;

顶顶A:=STICKLINE(顶入 OR 小,25,80,8,0);

顶部:=FILTER(顶顶A,25);

 

STICKLINE(顶部,0,65,3 ,0)*HAN,COLOR000077;

STICKLINE(顶部,0,65,2.5,0)*HAN,COLOR000099;

STICKLINE(顶部,0,65,1.9,0)*HAN,COLOR0000BB;

 

STICKLINE(顶部,0,65,0.4,0)*HAN,COLOR0000FF;

DRAWTEXT(FILTER(顶部,15),58,'...测量大底')*HAN,COLORGREEN;

VAR9:=CROSS(波,冯) AND VAR4X>60 ;

SD:=STICKLINE(VAR9 AND COUNT(VAR9,5)=1,0,100,1,1);

VARAM:=CROSS(VAR5X,VAR4X) AND VAR4X>70;

AD:=STICKLINE(VARAM,-5,100,1,1);

 

DRAWTEXT(FILTER(短顶=1 OR 进=50 OR 高抛=80  OR 减=85 OR SD,15)*HAN,91,'...振荡'),COLORYELLOW;

顶:=STICKLINE(短顶 OR 高抛=80 OR  进=50 OR 减=85 OR SD ,65,90,3,0);

底顶:=FILTER(顶,15);

底顶A:STICKLINE(底顶,75,97,1,0)*HAN,COLORGREEN  ;

 

空:=STICKLINE(手=80 OR  注意止损=1 OR  危险=1 OR 大顶=1  OR AD , 75,98,1.5,0) ;

部:=FILTER(空,12);

空A:STICKLINE(部, 江,98,1,0),COLORYELLOW ;

DRAWTEXT(FILTER(手=80 OR  注意止损=1 OR  危险=1 OR 高抛=80 OR 大顶=1 OR AD,12)*HAN,95,'...空仓')COLORRED;

 

买:8,POINTDOT,COLORLIBLUE;

入:0,COLORRED,LINETHICK2;

危:99,POINTDOT,COLORGREEN;

险:89,POINTDOT,COLORRED;

区:80,POINTDOT;

G:8.3,POINTDOT,COLORLIBLUE;

J:99.3,POINTDOT,COLORGREEN;

F:89.3,POINTDOT,COLORRED;

D:80.3,POINTDOT;

 

 天天有更新,每日领福利。

1,翔博软件新产品发布推广;

2,各大炒股名师讲座课程。

3,每天发布的指标公式,右上点“分享”右下点“在看”后,加在线客服免费领取!

马上加微信:xiangbosoft 回复“在看”参加,名额有限!

========================

提供服务如下:

1、转换 --- 根据客户提供的电脑板或者手机版技术指标源码,转换成自己的手机软件使用

2、编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标

3、修改 --- 按照客户“提供的修改要求”,修改技术指标

特别提示:

有手机指标的转换 测试 编写需求的朋友, 请联系微信:xiangbosoft 

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标