当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:双趋势通道(通达信指标 副图 源码 测试图)
软件名称:[B]双趋势通道(通达信指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2023-04-23 11:12:03
软件简介:
双趋势通道
源码:
{双趋势通道}
X_1:=7;
X_2:=5;
X_3:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
X_4:=SMA(X_3,X_1,1);
X_5:=SMA(X_4,X_2,1);
STICKLINE(X_4>X_5,X_4,X_5,0.8,1),COLORRED;
STICKLINE(X_4<X_5,X_4,X_5,0.8,1),COLORGREEN;
X_6:=(2*CLOSE+HIGH+LOW+OPEN)/5;
X_7:=LLV(LOW,34);
X_8:=HHV(HIGH,34);
X_9:=EMA((X_6-X_7)/(X_8-X_7)*100,13);
X_10:=EMA(X_9,3);
STICKLINE(X_9<X_10,X_9,X_10,0.8,0),COLORCYAN;
STICKLINE(X_9>X_10,X_9,X_10,0.8,0),COLORLIRED;
中趋:X_4,NODRAW,COLORRED;
小趋:X_9,NODRAW,COLORLIRED;
STICKLINE(X_9>=90 OR X_4>=90,96,101,4,1),COLORYELLOW;
STICKLINE(X_4>=90 AND X_9>=90,96,101,4,0),COLORYELLOW;
STICKLINE(X_9<=10 OR X_4<=10,(-1),4,4,1),COLORBLUE;
STICKLINE(X_4<=10 AND X_9<=10,(-1),4,4,0),COLORBLUE;
STICKLINE(X_9<=10 OR X_4<=10 AND X_4>REF(X_4,1) AND X_9>REF(X_9,1),(-1),4,4,1),COLOR7F00FF;
STICKLINE(X_4<=10 AND X_9<=10 AND X_4>REF(X_4,1) AND X_9>REF(X_9,1),(-1),4,4,0),COLOR7F00FF;
STICKLINE(X_9>=90 OR X_4>=90 AND X_4<REF(X_4,1) AND X_9<REF(X_9,1),96,101,4,1),COLORWHITE;
STICKLINE(X_4>=90 AND X_9>=90 AND X_4<REF(X_4,1) AND X_9<REF(X_9,1),96,101,4,0),COLORWHITE;
小均值:EMA(X_9,5),COLORGRAY;
IF(小均值>=REF(小均值,1),小均值,DRAWNULL),COLORMAGENTA;
中均值:EMA(X_4,5),COLORCYAN;
IF(中均值>=REF(中均值,1),中均值,DRAWNULL),COLORRED;
XG:=中均值>REF(中均值,1) AND 中均值< REF(中均值,3) ;
短高:90,DOTLINE,COLORGREEN;
高抛:80,DOTLINE,COLORYELLOW;
低吸:20,DOTLINE,COLORYELLOW;
短底:10,DOTLINE,COLORRED;
[url=http://www.70822.com/soft/sort013/sort05/down-167279.html]双趋势通道(通达信指标 副图 源码 测试图)[/url]