通达信CCI精灵指标公式,通达信龙飞主图指标公式
admin888
|通达信CCI精灵指标公式,通达信龙飞主图指标公式
通达信CCI精灵指标公式
N:=14;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(Abs(LOW-VAR1),13,1)/Sma(MAX(LOW-VAR1,0),10,1);
VAR3:=ema(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
stICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;
趋势线:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 , COLORAAbbdD;
BB:=((REF(趋势线,1)-25) AND 趋势线>=REF(趋势线,1)) OR (REF(crOSS(-20,趋势线),1) AND CROSS(趋势线,-20));
DRAWTEXT(BB,80,'见底信号'),COLOR41B5FA;
见底信号:IF(BB,80,-1),COLORRED;
TYP:=(HIGH+LOW+CLOSE)/3;
cci20:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)) COLORYELLOW;
K:=SMA(CCI20,3,1);
D:=SMA(K,3,1);
指数TYP:=(INDEXH+INDEXL+INDEXC)/3;
指数CCI:=(指数TYP-MA(指数TYP,N))/(0.015*AVEDEV(指数TYP,N));
DRAWBAND(K,RGB(255,50,100),D,RGB(0,200,0));
IF(CCI20>REF(CCI20,1),CCI20,DRAWNULL),COLOR0000EA,LINETHICK2;
超跌:-175,POINTDOT,COLORCYAN,LINETHICK4;
STICKLINE(CCI20<=-185,-185,-200,2,0),COLOR377CF0;
顶部:150,POINTDOT,COLORGREEN,LINETHICK4;
STICKLINE(CCI20>=150,158,168,2,0),COLORGREEN;
强势买入:STICKLINE(C,100,100,-1,0),COLORLIMAGENTA;
反弹买入:STICKLINE(C,-100,-100,-1,0),COLOR0099FF;
抄底:IF(CROSS(CCI20,反弹买入),-100,0),STICK,COLORYELLOW,LINETHICK2;
DRAWTEXT( CURRBARSCOUNT=45,198,'★主力进场 见底 CCI背离先价突破先机分时确认★'),COLORCYAN;
通达信龙飞主图指标公式
N:=150;
M:=3;
高:=CONst(REF(HHV(H,N),M));
低:=CONST(REF(LLV(L,N),M));
色彩峰:=高-低;
STICKLINE(色彩峰>0,低,低+色彩峰*1.05,10,0),COLORFF0000;
STICKLINE(色彩峰>0,低,低+色彩峰*0.9,10,0),COLORFF1111;
STICKLINE(色彩峰>0,低,低+色彩峰*0.85,10,0),COLORFF2222;
STICKLINE(色彩峰>0,低,低+色彩峰*0.8,10,0),COLORFF3333;
STICKLINE(色彩峰>0,低,低+色彩峰*0.75,10,0),COLORFF4444;
STICKLINE(色彩峰>0,低,低+色彩峰*0.7,10,0),COLORFF5555;
STICKLINE(色彩峰>0,低,低+色彩峰*0.65,10,0),COLORFF6666;
STICKLINE(色彩峰>0,低,低+色彩峰*0.6,10,0),COLORFF7777;
STICKLINE(色彩峰>0,低,低+色彩峰*0.55,10,0),COLORFF8888;
STICKLINE(色彩峰>0,低,低+色彩峰*0.5,10,0),COLORFF9999;
STICKLINE(色彩峰>0,低,低+色彩峰*0.45,10,0),COLORFFAAAA;
STICKLINE(色彩峰>0,低,低+色彩峰*0.4,10,0),COLORFFBBBB;
STICKLINE(色彩峰>0,低,低+色彩峰*0.35,10,0),COLORFFCCCC;
STICKLINE(色彩峰>0,低,低+色彩峰*0.3,10,0),COLORFFDDDD;
STICKLINE(色彩峰>0,低,低+色彩峰*0.25,10,0),COLORFFEEEE;
A:=(HHV(HIGH,26)+LLV(LOW,26))/2;
B:=(HHV(HIGH,9)+LLV(LOW,9))/2;
DL:=CLOSE;
FN:=26;
先行上限:=REF((A+B)/2,26),POINTDOT,LINETHICK0,COLORCCCCCC;
先行下限:=REF((HHV(HIGH,52)+LLV(LOW,52))/2,26),POINTDOT,LINETHICK0,COLORCCCCCC;
STICKLINE(C>0,先行上限,先行下限,2,0),COLOR999999;
龙A:=ema(CLOSE,48),COLORFF00FF;
龙B:=ma(CLOSE,8),COLOR00FF00;
龙收盘价:=MA(CLOSE,8),COLORFFFFFF;
STICKLINE((龙A>MA(CLOSE,8)),龙A,MA(CLOSE,8),48,1),COLOR008000;
STICKLINE((龙A
STICKLINE(C>=O,C,O,4,0),COLORRED;
STICKLINE(C>=O,C,O,2,0),COLORB0B0FF;
STICKLINE(C>=O,H,L,0,0),COLORYELLOW;
STICKLINE(C<=O,C,O,4,0),COLORFF2020;
STICKLINE(C<=O,C,O,1,0),COLORCYAN;
STICKLINE(C<=O,H,L,0,0),COLORCYAN;
H1:=高-(高-低)*0.191;
H2:=高-(高-低)*0.382;
H3:=高-(高-低)*0.5;
H4:=高-(高-低)*0.618;
H5:=高-(高-低)*0.809;
顶点:REFDATE(高,DATE),COLORWHITE;
一:REFDATE(H1,DATE),COLORYELLOW;
二:REFDATE(H2,DATE),COLORMAGENTA;
三:REFDATE(H3,DATE),COLORBLUE;
四:REFDATE(H4,DATE),COLORRED;
五:REFDATE(H5,DATE),COLORGREEN;
低点:REFDATE(低,DATE),COLORRED;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。