蓝色就跌多彩色上涨指标 通达信公式(附图)

[复制链接]
查看167 | 回复0 | 2021-8-20 14:45:15 | 显示全部楼层 |阅读模式

ggdd9:MA(C,10),LINETHICK0;

MA60:MA(C,60),LINETHICK0;

VAR6:=(( ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL);

yyu1:=(( (HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);

yyu2:=(( (IF((CLOSE>OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);

yyu3:=IF(((VOL/CAPITAL)>0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));

蓝色就跌:=VAR6>=yyu1 AND VAR6>=yyu2 AND CLOSE>OPEN;

彩色上涨:=VAR6>=yyu1 AND VAR6>=yyu2 AND CLOSE<OPEN;

上涨:=yyu2>VAR6 AND yyu2>yyu1;

上涨指标:=yyu1>VAR6 AND yyu1>yyu2;

上涨公式:=yyu3>2 AND VOL<MA(VOL,5)/2;

ggdd1:STICKLINE(蓝色就跌,H,L,0,0),COLORYELLOW;

STICKLINE(蓝色就跌,O,C,1.8,0),COLORYELLOW;

ggdd2:STICKLINE(上涨,H,L,0,0),COLORWHITE;

STICKLINE(上涨,O,C,1.8,0),COLORWHITE;

ggdd3:STICKLINE(彩色上涨,H,L,0,0),COLORBLUE;

STICKLINE(彩色上涨,O,C,1.8,0),COLORBLUE;

ggdd4:STICKLINE(上涨指标,H,L,0,0),COLORMAGENTA;

STICKLINE(上涨指标,O,C,1.8,0),COLORMAGENTA;

ggdd5:STICKLINE(上涨公式,H,L,0,0),COLORBROWN;

STICKLINE(ggdd5,O,C,1.8,0),COLORBROWN;

JJ:=(3*C+H+L+O)/6;

ggdd6:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;

ggdd7:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>ggdd6 AND C>REF(C,1);

ggdd8:=FILTER(ggdd7,5);

STICKLINE(CLOSE,REF(LOW,BARSLAST(ggdd8)),REF(LOW,BARSLAST(ggdd8)),6,0),COLORYELLOW;

STICKLINE(CLOSE,REF(CLOSE,BARSLAST(ggdd8)),REF(CLOSE,BARSLAST(ggdd8)),6,0),COLORLIRED;{COLORLIRED--大智慧可能要去掉这个颜色函数}

STICKLINE(ggdd8,OPEN,CLOSE,1,0),COLORRED;

MA(C,10),COLORWHITE;

MA(C,60),COLORGREEN;

1600TCB910-39343.jpg

1600TCB910-39343.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则