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

通达信股票软件三底 底部指标(源码)

2017-09-06网络 编 辑:翔博软件


使用方法:
1、三个附图指标:三个指标在底部同时出现:可买入,最好是三底信号出现后然后经过反复打底在买。
2、选股指标很简单,把三个指标合并一下就行了
3、此指标是做中线的,要摆几个月的

公式源码

低吸

RSV4:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
RSV5:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,5);
K4:=SMA(RSV4,3,1);
D4:=SMA(K4,3,1);
J4:=3*K4-2*D4;
CK4:=MA(K4,15);
CD4:=MA(D4,15);
CJ4:=MA(J4,15);
JJ1:=CJ4>REF(CJ4,1);
低吸XG:CROSS(-5,RSV5) AND JJ1;

 


趋势底部
趋势:=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);
见底:=10;
短期底部:=CROSS(趋势,见底);
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
趋势见底:RRD AND 短期底部;


三底背离
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); 
DEA:=EMA(DIFF,9); 
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); 
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); 
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1)); 
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)); 
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1)); 
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)); 
三底背离:B1>0 OR B2>0 OR B3>0;

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