以下是通达信CCI精绝黄金坑副图公式源码

VAR2:=REF(LOW,1);

VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;

VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);

VAR5:=LLV(LOW,34);

VAR6:=HHV(VAR4,34);

VAR7:=IF(LLV(LOW,56),1,0);

VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

VAR9:=EMA(CLOSE,5);

VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);

A:IF(VAR8>REF(VAR8,1),VAR8,0),COLOR10FFFF,STICK;

B:IF(VAR8<REF(VAR8,1),VAR8*1.5,0),COLORFFF810,STICK;

XL1:=MA(LOW,2)*0.96;

XL2:=MA(LOW,26)*0.85;

XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);

STICKLINE(XL3,0,VAR8*3,4,0),COLOR006EFF;

指标1:=REF(LOW,1);

指标2:=SMA(ABS(LOW-指标1),3,1)/SMA(MAX(LOW-指标1,0),3,1)*15;

指标3:=EMA(IF(CLOSE*1.2,指标2*10,指标2/10),3);

指标4:=LLV(LOW,38);

指标5:=HHV(指标3,38);

指标6:=IF(LLV(LOW,90),1,0);

指标7:=EMA(IF(LOW<=指标4,(指标3+指标5*2)/2,0),3)/618*指标6;

指标8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

指标9:=SMA(指标8,13,8);

吸筹1:STICKLINE(指标7,0,指标7,6,0),COLOR0000FF;

吸筹2:STICKLINE(指标7,0,指标7,5,0),COLOR6600FF;

吸筹3:STICKLINE(指标7,0,指标7,4,0),COLORBB00FF;

吸筹4:STICKLINE(指标7,0,指标7,3,0),COLORFF00FF;

吸筹5:STICKLINE(指标7,0,指标7,2,0),COLORFF33FF;

吸筹6:STICKLINE(指标7,0,指标7,1,0),COLORFF66FF;

吸筹7:STICKLINE(指标7,0,指标7,0,0),COLORFF99FF;

R8:=MA(CLOSE,27);

R9:=(CLOSE-R8)/R8*100;

RA:=MA(R9,2);

RB:=BARSLAST(CROSS(-10,RA)=1);

RD:=RA<-10 AND RB>3;

黄金坑:IF(RD,-6,0),COLORYELLOW,LINETHICK2;

RR81:=MA(CLOSE,5);

RR91:=(CLOSE-RR81)/RR81*100;

RRD1:=CROSS(MA(RR91,2),5);

零轴:IF(RRD1,0.5,0),COLORFF69B4,LINETHICK2;

RR8:=MA(CLOSE,27);

RR9:=(CLOSE-RR8)/RR8*100;

超跌:IF(MA(RR9,2)<-20 AND BARSLAST(CROSS(-10,MA(RR9,2))=1)>3 AND CROSS(MA(RR9,2)-REF(MA(RR9,2),1),0),-6,0);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。