当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:趋势通道(同花顺公式 源码 K线图)
软件名称:[B]趋势通道(同花顺公式 源码 K线图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2019-05-12 00:18:52
软件简介:
趋势通道6
由两组趋势通道组成。
趋势线上做多,趋势线下做空。
DSTIME1:=IF(DATE>20191030,1,1);
//{主图K线}//www.70822.com
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,9,0 ),ColorFFDE00;
STICKLINE(OPEN>CLOSE,CLOSE,LOW,1 ,0 ),ColorFFDE00;
STICKLINE(OPEN>CLOSE,OPEN,HIGH,1 ,0 ),ColorFFDE00;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9 ,1 ),COLOR0000FF;
STICKLINE(CLOSE>=OPEN,OPEN ,LOW ,1.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>=OPEN,CLOSE,HIGH,1.5,0 ),COLOR0000FF;
短上轨:EMA(HIGH,24)*DSTIME1,colorred;
短下轨:EMA(LOW,24)*DSTIME1,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)*DSTIME1,colormagenta;
长下轨:EMA(LOW,90)*DSTIME1,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.70822.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,TOSTRING(CLOSE,2)),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 CLOSE>长上轨 AND COUNT(CLOSE<短下轨,6)>0,LOW*0.96,TOSTRING(CLOSE,2)),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 CLOSE>短上轨 AND COUNT(CLOSE<长下轨,6)>0,LOW*0.96,TOSTRING(CLOSE,2)),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 CLOSE>长下轨 AND COUNT(CLOSE>短上轨,6)>0,HIGH*1.04,TOSTRING(CLOSE,2)),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,HIGH*1.04,TOSTRING(CLOSE,2)),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 CLOSE<短下轨 AND COUNT(CLOSE>长上轨,6)>0,HIGH*1.04,TOSTRING(CLOSE,2)),coloryellow;
[url=http://www.70822.com/soft/sort013/sort036/down-136595.html]趋势通道(同花顺公式 源码 K线图)[/url]