当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:今买明卖合并,超短线公式(通达信公式 副图 源码 测试图)
软件名称:[B]今买明卖合并,超短线公式(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-02-07 00:14:44
软件简介:
今买明卖合并,学习别人写了一个这样的超短线公式。参考几个公式,合并一些因素。效果还好。
ZF:=(C-REF(C,1))/REF(C,1)*100;
TJ1:=ZF!=LLV(ZF,3) AND C=LLV(C,3) AND C<O AND ZF<REF(ZF,1) AND C=LLV(C,3) AND L=LLV(L,3) AND C!=L;
钝化级别:=ABS(REF(ZF,2))/ABS(ZF);
XYB:=IF(C<O,(C-L)/(H-L),0);
FZTJ:=C/REF(LLV(L,5),1)<0.99 AND XYB>0.1 AND XYB<0.4;
今买2018:TJ1 AND 钝化级别>1.2 AND REF(ZF,1)-ZF>1 AND REF(ZF,2)<-8 AND C<REF(L,1) AND FZTJ;
CG:=REF(今买2018,1) AND H/REF(C,1)>=1.01;
SB:=REF(今买2018,1) AND H/REF(C,1)<1.01;
STICKLINE(CG,1,0,1,0) COLORRED;
有效交易天数:=BARSCOUNT(C)+1,NODRAW;
交易次数:SUM(今买2018,有效交易天数),NODRAW;
明卖1%成功率:COUNT(CG,有效交易天数)/(COUNT(CG,有效交易天数)+COUNT(SB,有效交易天数))*100,NODRAW,COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0,0,'注:信号当日收盘价买入,次日高点卖出收益过1%即视为成功。')COLORRED;
X_1:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
X_2:=(HIGH+LOW)/2+MA(X_1,2);
X_3:=(HIGH+LOW)/2-MA(X_1,2);
X_4:=REF(X_2,BARSLAST(X_2<=REF(X_2,1)));
X_5:=LLV(X_2,2*1.5);
X_6:=IF(X_5!=REF(X_5,1) AND X_4<REF(X_4,1),X_4,IF(X_4=X_5,X_4,X_5));
X_7:=BARSLAST(CROSS(0.5,X_2=X_6))+1;
X_8:=CROSS(COUNT(CROSS(CLOSE,X_6) OR CROSS(CLOSE,REF(X_6,2)) AND X_2>X_6,X_7),0.5);
X_9:=BARSLAST(X_8);
X_10:=BARSLAST(CROSS(HHV(X_3,X_9+1),CLOSE));
X_11:=MA(CLOSE,18);
X_12:=CLOSE>=X_11*1.004;
X_13:=X_11>=REF(X_11,1);
X_14:=X_12 AND X_13;
X_15:=IF(CLOSE<OPEN,(CLOSE-LOW)/(HIGH-LOW),0);
今买2019:CROSS(X_9,X_10) AND CLOSE/REF(LLV(LOW,3),1)<1 AND CLOSE<OPEN AND CLOSE!=LOW AND X_14 AND X_15>0.03 AND X_15<0.3,COLOR00FF00;
X_16:=REF(今买2019,1) AND HIGH/REF(CLOSE,1)>=1.01;
STICKLINE(X_16,1,0,1,0),COLORRED;
X_17:=(HIGH/REF(CLOSE,1)-1)*100;
X_18:=COUNT(REF(今买2019,1) AND X_17>=1.01,0);
成功率:X_18/COUNT(今买2019,0)*100,NODRAW;
DRAWTEXT_FIX(1,0.980,20,1,'★分析家公式网'),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-153986.html]今买明卖合并,超短线公式(通达信公式 副图 源码 测试图)[/url]