您现在的位置:好股网 >> 股票资讯 >> 股票知识
股票资讯分类导航
股票入门 股票知识 炒股经验 股市实战
精品股票资讯
更多>>
本文好评率0%

用CCI的买卖做主图买卖清晰可见

出处:blog_6c67c1430102w2my时间:2015-11-16 21:15:00人气:
Tags:

(CCI买卖主图.附图.源码.说明.TDX.DZH.)

用CCI的买卖做主图买卖清晰可见.把CCI的买卖线加在主图上是买是卖一清二楚.股价超过或者低于买卖线,我们用不同的颜色区别开来.图面清爽.一看就知道你的股票现在是什么状态.【中间地带】是安全持股区.上突出是【出卖区】.下突破是【买入区】.具体买卖点一看便知.无需解释.当然是买卖区的【消失点】是最佳位置.
 


{CCI买卖}
input: n(14),m(100,50,200);
{1.K线}
STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred;
STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,0,0),colorred;
STICKLINE(CLOSE<=REF(CLOSE,1),LOW,HIGH,0.1,0),colorcyan;
STICKLINE(CLOSE<=REF(CLOSE,1),OPEN,CLOSE,0,0),colorcyan;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR006600;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR008800;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLOR000066;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000088;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR0000AA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR0000BB;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000EE;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLOR0000FF;
{卖黄金,RSI=80}
LC:=REF(C,1);
卖黄金:((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100),LINETHICK0;
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C

{2.CCI}
TYP:EMA((H+L+ 2*C)/4,4),color0598FF,linethick2;;
CCI买:EMA(ma(typ,n)-0.015*m*AVEDEV(typ,n),2),color00ff00;
CCI卖:EMA(ma(typ,n)+0.015*m*AVEDEV(typ,n),2),color0000ff;
FILLRGN(CCI买,CCI卖,CCI买
FILLRGN(TYP,CCI卖,TYP>CCI卖,RGB(80,0,80)),COLORFF9900,LAYER7;
FILLRGN(TYP,CCI买,TYP
 

对我有用(0)对我没用(0)