双轨通道通达信公式 主图 源码附图

上上轨A:=MEMA((3*C+H+O+L)/6,30)*1.1;
下下轨A:=MEMA((3*C+H+O+L)/6,30)*0.9;
DRAWBAND(上上轨A,RGB(30,50,80),下下轨A,0);
DRAWKLINE(H,O,L,C);
上上轨:EMA((3*C+H+O+L)/6,30)*1.09,COLORGREEN,NODRAW;
中上轨:EMA(2*EMA(EMA(H,34),34)-EMA(EMA(L,34),34),5),COLORBLUE,LINETHICK2;
中下轨:EMA(2*EMA(EMA(L,21),21)-EMA(EMA(H,21),21),5),COLORYELLOW,LINETHICK2;
下下轨:EMA((3*C+H+O+L)/6,30)*0.89,COLORMAGENTA,NODRAW;
 
DDTD:=DMA(C,ABS(C-MA(C,14))/MA(C,14));
上布:EMA(DDTD,30)*1.11,COLORGREEN;
下布:EMA(DDTD,30)*0.91,COLORMAGENTA;
{股票指标网 }
STICKLINE(中下轨>LOW AND 中下轨<HIGH,中下轨,MIN(MIN(OPEN,CLOSE),中下轨),3,0),COLORYELLOW;
STICKLINE(中下轨>MIN(C,O) AND 中下轨<MAX(C,O),中下轨,MIN(OPEN,CLOSE),3,0),COLORYELLOW;
STICKLINE(中下轨>HIGH,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(中下轨>HIGH,HIGH,LOW,0,0),COLORYELLOW;
 
STICKLINE(上上轨>LOW AND 上上轨<HIGH,上上轨,MAX(上上轨,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(上上轨>MIN(C,O) AND 上上轨<MAX(C,O),上上轨,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(上上轨>LOW AND 上上轨<HIGH,上上轨,HIGH,0,0),COLORGREEN;
STICKLINE(上上轨<LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(下下轨>LOW AND 下下轨<HIGH,下下轨,MIN(MIN(OPEN,CLOSE),下下轨),3,0),COLORMAGENTA;
STICKLINE(下下轨>MIN(C,O) AND 下下轨<MAX(C,O),下下轨,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
STICKLINE(下下轨>LOW AND 下下轨<HIGH,下下轨,LOW,0,0),COLORMAGENTA;
STICKLINE(下下轨>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
 
{逃顶}
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
逃命:=CROSS(80,RSI5);
DRAWICON(逃命,H*1.02,15);
 
TJ1:=REF("CCI.CCI",1)>90 AND "CCI.CCI"<REF("CCI.CCI",1);
TJ2:=REF("KDJ.J"(9,3,3),1)>90 AND "KDJ.J"(9,3,3)<REF( "KDJ.J"(9,3,3),1);
TJ3:=REF("RSI.RSI1",1)>70 AND "RSI.RSI1"<REF("RSI.RSI1",1);
TJ4:=COUNT(TJ1,5) AND COUNT(TJ2,5) AND COUNT(TJ3,5);
大顶:=CROSS(TJ4,0.5);
DRAWICON(大顶,H*1.05,2);
 
TJ5:=REF("CCI.CCI",1)<-100 AND "CCI.CCI">REF("CCI.CCI",1);
TJ6:=REF("KDJ.J"(9,3,3),1)<20 AND "KDJ.J"(9,3,3)>REF( "KDJ.J"(9,3,3),1);
TJ7:=REF("RSI.RSI1",1)<20 AND "RSI.RSI1">REF("RSI.RSI1",1);
TJ8:=COUNT(TJ5,5) AND COUNT(TJ6,5) AND COUNT(TJ7,5);
大底:=CROSS(TJ8,0.5);
DRAWICON(大底,L*0.95,23);
 



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

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

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

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