通达信CCI背离划线副图指标公式是什么?
2016-5-23 9:46:00 股票入门 http://rumen.southmoney.com
通达信CCI背离划线副图指标公式是什么?附:通达信趋势线逃顶见顶信号副图公式源码 南方财富网小编为您提供
【通达信CCI背离划线副图指标公式】
N:=14;M:=84;
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">TYP:=(HIGH+LOW+CLOSE)/3;
C1:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
C2:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
注意了结:200,COLORRED;
底部区域:-150,COLORLIGREEN;
VARA:=REF(LOW,1);
VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;
VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);
VARD:=LLV(LOW,30);
VARE:=HHV(VARC,30);
VARF:=IF(MA(CLOSE,58),1,0);
VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;
VARH:=IF(VARG>50,50,VARG);
吸筹:STICKLINE(VARH>-120,0,VARH,6,1),COLOR0FFFFF;
强弱吸筹:IF(吸筹,1,0),COLOR0FFFFF;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
买入时机: IF(CROSS(C1,-150),-150,-200),COLORFF00FF,LINETHICK2;
LL:=REF(CLOSE,1);
MM:=SMA(MAX(CLOSE-LL,0),6,1)/SMA(ABS(CLOSE-LL),6,1)*100;
分批出: IF(CROSS(80,MM),200,250),COLORCYAN,LINETHICK2;
AA:=REF(CCI,3)=HHV(CCI,2*3+1);
BB:=BACKSET(AA,3+1);
CC:=FILTER(BB,3) AND CCI=HHV(CCI,3+1);
A1:=BARSLAST(REF(CC,1));
顶背离:=REF(CLOSE,A1+1)<CLOSE AND REF(CCI,A1+1)>CCI AND CC;
DRAWLINE(CC,CCI,FILTER(顶背离>0,5),CCI,0),COLORRED,LINETHICK1;
AA2:=REF(CCI,3)=LLV(CCI,2*3+1);
BB2:=BACKSET(AA2,3+1);
CC2:=FILTER(BB2,3) AND CCI=LLV(CCI,3+1);
AA2A:=BARSLAST(REF(CC2,1));
底背离:=REF(C,AA2A+1)>CLOSE AND REF(CCI,AA2A+1)<CCI AND CC2;
DRAWLINE(CC2,CCI,FILTER(底背离>0,5),CCI,0),COLORRED,LINETHICK2;
DRAWLINE(CC2,CCI,FILTER(底背离>0,5),CCI,0),COLORRED,LINETHICK2;
DRAWICON(CROSS(C1,-150),C1,9);
附:【通达信趋势线逃顶见顶信号副图公式源码】
趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), , COLORBLUE;
STICKLINE(趋势线,趋势线,100,8,0),COLORFAFFB4;
见底信号:5, , COLORYELLOW;
买点准备: IF(趋势线<=10,10,0),STICK ,,LINETHICK6, COLOR00C346;
买入时间1: IF(CROSS(趋势线,见底信号),5,0),STICK , COLORRED;
买入时间2: IF(CROSS(趋势线,10),5,0),STICK , COLORF0F000;
见顶信号1:90,COLORFAFFB4;
见顶信号2:85,COLORFAFFB4;
见顶信号3:80,COLORFAFFB4;
STICKLINE(趋势线,趋势线,0,8,0),COLORBLUE;
DRAWTEXT(CROSS(见顶信号1,趋势线),趋势线-5,'▲'),COLORRED;
DRAWTEXT(CROSS(见顶信号2,趋势线),趋势线-5,'▲'),COLORYELLOW;
DRAWTEXT(CROSS(见顶信号3,趋势线),趋势线-5,'▲'),COLORF0F000;
DRAWTEXT(CROSS(趋势线,见底信号),90,'★'),COLORRED;
DRAWTEXT(FILTER(CROSS(趋势线,10),15),60,'底'),COLORRED;
DRAWTEXT(FILTER(CROSS(趋势线,10),15),40,'买'),COLORRED;
DRAWTEXT(FILTER(CROSS(趋势线,10),15),20,'★'),COLORYELLOW;
更多通达信指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。