当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:智能波段交易(通达信公式 主图 源码 测试图)
软件名称:[B]智能波段交易(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2022-12-05 00:13:48
软件简介:
智能波段交易
G:=IF(HIGH=HHV(HIGH,3),1,0);
D:=IF(LOW=LLV(LOW,3),1,0);
S:=IF(REF(G,2)=1 AND REF(G,1)=0 AND G=0,REF(HIGH,2),REF(HIGH,2+(BARSLAST(REF(G,2)=1 AND REF(G,1)=0 AND G=0))));
X:=IF(REF(D,2)=1 AND REF(D,1)=0 AND D=0,REF(LOW,2),REF(LOW,2+(BARSLAST(REF(D,2)=1 AND REF(D,1)=0 AND D=0))));
K1:=IF(HIGH>=MA(CLOSE,1),S,REF(S,BARSLAST(HIGH>MA(CLOSE,1))));
K2:=IF(LOW<=MA(CLOSE,5),X,REF(X,BARSLAST(LOW<=MA(CLOSE,5))));
C1:=REF(CLOSE,1)<=K1 AND CLOSE>K1;
C2:=REF(CLOSE,1)>=K2 AND CLOSE< K2;
{分析家公式网WWW.70822.com}
K3:=BARSLAST(C1);
K4:=BARSLAST(C2);
持仓线:IF(K3< K4,K2,DRAWNULL),LINETHICK2,COLORRED;
持币线:IF(K3>K4,K1,DRAWNULL),LINETHICK2,COLORGREEN;
STICKLINE(K3< K4,C,O,3,0),COLORRED;
STICKLINE(K3< K4,C,O,2.5,0),COLORRED ;
STICKLINE(K3< K4,C,O,1.5,0),COLORRED ;
STICKLINE(K3< K4,C,O,1,0),COLORRED;
STICKLINE(K3< K4,H,L,0,0),COLORRED;
STICKLINE(K3>K4,C,O,3,0),COLORGREEN;
STICKLINE(K3>K4,C,O,2.5,0),COLORGREEN;
STICKLINE(K3>K4,C,O,1.5,0),COLORGREEN;
STICKLINE(K3>K4,C,O,1,0),COLORGREEN;
STICKLINE(K3>K4,H,L,0,0),COLORGREEN;
DRAWICON(CROSS(K4,K3),(LOW*0.97),1);
DRAWTEXT(CROSS(K4,K3),(LOW*0.99),' ←买入'),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-165292.html]智能波段交易(通达信公式 主图 源码 测试图)[/url]