以下是通达信波段买入(指标 副图/选股贴图)(无源码的请下载附件导入)
这个是最近自己乱想然后鼓捣出来的,用法各自领会吧,可以抓大牛。不加密,没有未来
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
指导:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
界:=MA(CLOSE,27);
B买:=CROSS(指导,界) OR CROSS(买线,卖线);
持仓:=买线>=卖线;
S卖:=CROSS(界,指导) OR CROSS(卖线,买线);
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
A10:=CROSS(控盘,0);
开始控盘:=CROSS(控盘,0);
LOWV:=LLV(LOW,6);
HIGHV:=HHV(HIGH,6);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,2);
D:=MA(K,2);
BB:=CROSS(K,D);
CC:=CROSS(买线,卖线);
XX:=开始控盘 AND BB AND CC;
{www.88gs.com}
SS1:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
SS2:=SMA(MAX(C-REF(C,1),0),10,1)/SMA(ABS(C-REF(C,1)),10,1)*100;
XS1:=EMA(SS1,2);
XS2:=EMA(SS2,2);
XS3:=(XS1-XS2);
XS4:=-XS3;
X_2:=MA(CLOSE,5);
X_3:=MA(CLOSE,10);
X_4:=MA(CLOSE,20);
X_5:=MA(CLOSE,30);
X_7:=MA(CLOSE,120);
X_8:=MA(CLOSE,250);
X_6:=MA(CLOSE,60);
B:=C>X_2 AND C>X_3 AND C>X_4 AND C>X_6 AND C>X_5 AND C>X_7 AND C>X_8;
买入:=CROSS(XS3,XS4) AND XS3>0.05;
BQ:=买入 AND B;
XG:XX AND BQ;
77411877.png
77511819.png
|