趋势线上做多,趋势线下做空
短上轨: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;//www.goodgongshi.com
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;
上一指标公式:超级资金指标公式详解 同花顺资金
下一指标公式:掌股专家之一军令如山加强指标公式详解 同花顺指标专家
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文趋势通道指标公式详解 同花顺通道仅供学习研究。