双趋势通道通达信副图指标

{双趋势通道}
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;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图