股民大家庭

标题: 通达信短线宝源码指标公式 [打印本页]

作者: shinyi    时间: 2017-10-5 08:54
标题: 通达信短线宝源码指标公式
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),38,1);
VAR3:=EMA(VAR2,5);
VAR4:=LLV(LOW,15);
VAR5:=-EMA(IF(LOW<=VAR4,VAR3,0),5)/10;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,10,0 ),COLORFF00FF;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,10,0),colorgreen;
STICKLINE(VAR5>REF(VAR5,1) AND C>O,0,VAR5,10,0 ),coloryellow;
STICKLINE(VAR5<REF(VAR5,1) AND C<O,0,VAR5,10,0),colorblue;
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),38,1);
VAR31:=EMA(VAR21,5);
VAR41:=HHV(HIGH,15);
VAR51:=-EMA(IF(HIGH>=VAR41,VAR31,0),3)/10;
主力出货:=IF(VAR51>REF(VAR51,1),VAR51,0),LINETHICK1,colorblue;
主力拉高:=IF(VAR51<REF(VAR51,1),VAR51,0),LINETHICK1,colorcyan;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,10,0),coloryellow;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,10,0 ),colorred;
VAR12:=IF(MONTH<12,1,1);
VAR13:=(2*CLOSE+HIGH+LOW)/4;
VAR14:=LLV(LOW,34);
VAR15:=HHV(HIGH,34);
主力:=EMA((VAR13-VAR14)/(VAR15-VAR14)*100,13)*VAR12,LINETHICK2,coloryellow;
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933;
买入脉冲:IF(CROSS(主力,散户) AND 主力<35,1,0),LINETHICK2,colorFF00FF;
卖出脉冲:IF(CROSS(散户,主力) AND 散户>75,1,0),LINETHICK2,color00EC00;
明日买:IF((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),1,(0)),LINETHICK2,Color35DCFF;
AR1:=EMA(OPEN,7);
AR2:=EMA(AR1,21);
AR3:=CROSS(AR1,AR2);
AR5:=EMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,16)-LLV(LOW,20))*100,8,1),3);
短买:IF(TROUGHBARS(1,6,1)=0 AND HIGH>LOW+0,1,0),LINETHICK2,COLOR0958FF;
DIFF:=EMA(DCLOSE,5)-EMA(DCLOSE,19);
DEA:=EMA(DIFF,2);
MACD:=(DIFF-DEA)*10;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1,coloryellow;
高位死叉:CROSS(DEA,DIFF) AND DIFF>0.9,color00FF00,LINETHICK2;
VAR33:=PEAKBARS(3,5,1)<10;
VAR55:=IF(VAR33=1,2,0);
顶:= IF(VAR55=2,2,0);
超买暂撤:-IF(顶>REF(顶,1),1,0),colorliblue, LINETHICK2;


作者: wwhenin    时间: 2017-10-5 09:06
感謝分享~~
作者: pcxyf    时间: 2017-10-5 09:27
谢谢提供!!!!!!!!!
作者: lmloq    时间: 2017-10-5 10:15
谢谢楼主分享
作者: czy112    时间: 2017-10-5 10:59
谢谢分享
作者: 1982327    时间: 2017-10-5 13:44
谢谢分享




欢迎光临 股民大家庭 (https://gupiao168.com/) Powered by Discuz! X3.2