同花顺长短期趋势主图指标公式

短上轨:EMA(HIGH,24),colorred;
短下轨:EMA(LOW,24),colorgreen;
NOTEXT短下轨0:IF(CLOSE>短下轨,短下轨,DRAWNULL),colorred;
NOTEXT短下轨1:IF(CLOSE<短下轨,短下轨,DRAWNULL),colorgreen;
NOTEXT短上轨0:IF(CLOSE>短上轨,短上轨,DRAWNULL),colorred;
NOTEXT短上轨1:IF(CLOSE<短上轨,短上轨,DRAWNULL),colorgreen;
STICKLINE(CLOSE>短上轨,短上轨,短下轨,0,0),colorred;
STICKLINE(CLOSE<短下轨,短上轨,短下轨,0,0),colorgreen;
短轨差:短上轨-短下轨,NODRAW,coloryellow;
长上轨:EMA(HIGH,90),colormagenta;
长下轨:EMA(LOW,90),colorblue;
NOTEXT长下轨0:IF(CLOSE>长下轨,长下轨,DRAWNULL),colormagenta;
NOTEXT长下轨1:IF(CLOSE<长下轨,长下轨,DRAWNULL),colorblue;
NOTEXT长上轨0:IF(CLOSE>长上轨,长上轨,DRAWNULL),colormagenta;
NOTEXT长上轨1:IF(CLOSE<长上轨,长上轨,DRAWNULL),colorblue;
STICKLINE(CLOSE>长上轨,长上轨,长下轨,0,0),colormagenta;
STICKLINE(CLOSE<长下轨,长上轨,长下轨,0,0),colorblue;
长轨差:长上轨-长下轨,NODRAW,coloryellow;
DRAWNUMBER(REF(CLOSE,3)<REF(短下轨,3) OR REF(CLOSE,3)<REF(短上轨,3) AND (REF(CLOSE,2)<REF(短下轨,2) OR REF(CLOSE,2)<REF(短上轨,2)) AND (REF(CLOSE,1)<REF(短下轨,1) OR REF(CLOSE,1)<REF(短上轨,1)) AND CLOSE>短上轨 AND 短上轨<长下轨 AND COUNT(CLOSE<短下轨,6)>0,LOW*0.96,4),colormagenta;
DRAWNUMBER(REF(CLOSE,3)<REF(短下轨,3) OR REF(CLOSE,3)<REF(短上轨,3) AND (REF(CLOSE,2)<REF(短下轨,2) OR REF(CLOSE,2)<REF(短上轨,2)) AND (REF(CLOSE,1)<REF(短下轨,1) OR REF(CLOSE,1)<REF(短上轨,1)) AND CLOSE>短上轨 AND CLOSE>长上轨 AND COUNT(CLOSE<短下轨,6)>0,LOW*0.96,10),colormagenta;
DRAWNUMBER(REF(CLOSE,3)<REF(长下轨,3) OR REF(CLOSE,3)<REF(长上轨,3) AND (REF(CLOSE,2)<REF(长下轨,2) OR REF(CLOSE,2)<REF(长上轨,2)) AND (REF(CLOSE,1)<REF(长下轨,1) OR REF(CLOSE,1)<REF(长上轨,1)) AND CLOSE>长上轨 AND CLOSE>短上轨 AND COUNT(CLOSE<长下轨,6)>0,LOW*0.96,10),colormagenta;
DRAWNUMBER(REF(CLOSE,3)>REF(短上轨,3) OR REF(CLOSE,3)>REF(短下轨,3) AND (REF(CLOSE,2)>REF(短上轨,2) OR REF(CLOSE,2)>REF(短下轨,2)) AND (REF(CLOSE,1)>REF(短上轨,1) OR REF(CLOSE,1)>REF(短下轨,1)) AND CLOSE<短下轨 AND 短上轨>长上轨 AND CLOSE>长下轨 AND COUNT(CLOSE>短上轨,6)>0,HIGH*1.04,6),colormagenta;
DRAWNUMBER(REF(CLOSE,3)>REF(短上轨,3) OR REF(CLOSE,3)>REF(短下轨,3) AND (REF(CLOSE,2)>REF(短上轨,2) OR REF(CLOSE,2)>REF(短下轨,2)) AND (REF(CLOSE,1)>REF(短上轨,1) OR REF(CLOSE,1)>REF(短下轨,1)) AND CLOSE<短下轨 AND 短下轨<长下轨 AND COUNT(CLOSE>短上轨,6)>0,HIGH*1.04,0),colormagenta;
DRAWNUMBER(REF(CLOSE,3)>REF(长上轨,3) OR REF(CLOSE,3)>REF(长下轨,3) AND (REF(CLOSE,2)>REF(长上轨,2) OR REF(CLOSE,2)>REF(长下轨,2)) AND (REF(CLOSE,1)>REF(长上轨,1) OR REF(CLOSE,1)>REF(长下轨,1)) AND CLOSE<长下轨 AND CLOSE<短下轨 AND COUNT(CLOSE>长上轨,6)>0,HIGH*1.04,0),colormagenta;




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

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

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

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