以下是通达信底部买入时机副图/选股预警 源码(无源码的请下载附件导入)
底部买入时机副图/选股预警 源码 通达信 贴图
主力:= 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),LINETHICK2;
买入时机:=CROSS(主力,10);
X_1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
X_2:=SMA(X_1,3,1);
X_3:=SMA(X_2,3,1);
X_4:=SMA(X_3,3,1);
X_5:=CROSS(X_3,X_4) AND X_3<20;
XG:=FILTER(X_5,10)=1;
RSV:=(((CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33)))*100);
动能:=SMA(RSV,7,1);
运行:=SMA(SMA(RSV,7,1),3,1) ;
轨迹:=SMA(SMA(SMA(RSV,6,1),5,1),3,1) ;
XG1:=CROSS(动能,轨迹) AND 运行<23 ;
趋势:=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;
SMDB:=RRD AND 短期底部;
SMDB&&XG1&&XG&&买入时机;
1037333297.jpg
|