CCI与上周线(副图,贴图,公式,说明)
2016-12-13 11:50:57点击:
DRAWGBK(C>0, RGB(1,1,1),RGB(1,1,1),0,'0',0);
STICKLINE(C>0,0,0,28,-1)COLOR323232;
STICKLINE(C>0,100,100,28,-1)COLOR323232;
STICKLINE(C>0,-100,-100,28,-1)COLOR323232;
STICKLINE(CCI.CCI>EMA(CCI.CCI,5),CCI.CCI,EMA(CCI.CCI,5),2,0)COLORRED;
STICKLINE(CCI.CCI<EMA(CCI.CCI,5),CCI.CCI,EMA(CCI.CCI,5),2,0)COLORLIGREEN;
CCI:CCI.CCI,COLORWHITE;
上周线:REF(CCI.CCI#WEEK,WEEKDAY)COLORMAGENTA;
NOTEXT0:IF(CCI>上周线,上周线,DRAWNULL),LINETHICK1,COLORMAGENTA;
NOTEXT1:IF(CCI<上周线,上周线,DRAWNULL),LINETHICK1,COLORCYAN;
DRAWTEXT(ISLASTBAR,CCI,' ←CCI'),COLORWHITE;
STICKLINE(C>0,0,0,28,-1)COLOR323232;
STICKLINE(C>0,100,100,28,-1)COLOR323232;
STICKLINE(C>0,-100,-100,28,-1)COLOR323232;
STICKLINE(CCI.CCI>EMA(CCI.CCI,5),CCI.CCI,EMA(CCI.CCI,5),2,0)COLORRED;
STICKLINE(CCI.CCI<EMA(CCI.CCI,5),CCI.CCI,EMA(CCI.CCI,5),2,0)COLORLIGREEN;
CCI:CCI.CCI,COLORWHITE;
上周线:REF(CCI.CCI#WEEK,WEEKDAY)COLORMAGENTA;
NOTEXT0:IF(CCI>上周线,上周线,DRAWNULL),LINETHICK1,COLORMAGENTA;
NOTEXT1:IF(CCI<上周线,上周线,DRAWNULL),LINETHICK1,COLORCYAN;
DRAWTEXT(ISLASTBAR,CCI,' ←CCI'),COLORWHITE;
- 上一篇:通达信很牛的主图--时间之窗 主图源码 2016/12/13
- 下一篇:百万擒龙 通达信 源码 副图 附图 2016/12/13