同花顺波段高低主图指标公式
基本概况:
- 指标类别: 同花顺指标
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标语言: 简体中文
- 指标来源: 互联网
- 指标日期: 2019-03-25 00:00:00
内容介绍:
同花顺波段高低主图指标公式做多线:REF(EMA(C,14),1), colorred,LINETHICK1;
A1X:=(EMA(C,14)-做多线)/做多线*100,NODRAW;
STICKLINE(CROSS(A1X,0),C,O,0,1),colorred;
STICKLINE(CROSS(0,A1X),C,O,0,1) ,colorblue;
做空线:IF(A1X<0,做多线,DRAWNULL),colorgreen,LINETHICK1;
工作线:=EMA(C,14);
止盈线:=EMA(C,7),LINETHICK1,colorgray;
生命线:=EMA(C,25),coloryellow;
CC11:=A1X>=0;
CCC:=A1X<0;
STICKLINE(((CC11) AND (C >= O)),H,L,0,1),colorred;
STICKLINE(((CC11) AND (C >= O)),O,C,2,1),colorred;
STICKLINE(((CC11) AND (C <= O)),H,L,0,0),colorred;
STICKLINE(((CC11) AND (C <= O)),O,C,2,0),colorred;
STICKLINE(((CCC) AND (C >= O)),H,L,0,1),colorgreen;
STICKLINE(((CCC) AND (C >= O)),O,C,2,1),colorgreen;
STICKLINE(((CCC) AND (C <= O)),H,L,0,0),colorgreen;
STICKLINE(((CCC) AND (C <= O)),O,C,2,0),colorgreen;
看多买入线:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS
(A1X,0))+1),DRAWNULL),colormagenta,LINETHICK1;
逃顶卖出线:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS
(0,A1X))+1),DRAWNULL) ,colorgreen,LINETHICK1;
牛:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA
(H,25),25),DOTLINE,coloryellow;
金钻趋势:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))
*1,LINETHICK2,colorred;
金牛2:=EMA(金钻趋势,25),colorcyan,LINETHICK2;
ZF:=(EMA(SUM(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)),3),49) *
10)+EMA(C,20);
飞扬古:=(EMA(MA(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)),3),13) *
10000),LINETHICK0,COLORFFFFFF;
牛熊线:EMA(ZF,34),LINETHICK1,coloryellow;
D11:=牛熊线;色边框1:=IF(C>D11,H,L);
STICKLINE(金钻趋势>LOW AND 金钻趋势<HIGH,金钻趋势,MIN(MIN
(OPEN,CLOSE),金钻趋势),2,0),coloryellow;
STICKLINE(金钻趋势>MIN(C,O) AND 金钻趋势<MAX(C,O),金钻趋势,MIN
(OPEN,CLOSE),2,0),coloryellow;
STICKLINE(金钻趋势>HIGH,OPEN,CLOSE,2,0),coloryellow;
STICKLINE(金钻趋势>HIGH,HIGH,LOW,0,0),coloryellow;
X:=A1X>=0;
买线:=A1X;
卖线:=0;
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,2,1),colormagenta;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,2,0),colorgreen;
NNN333:=30;
AA:=REF(H,NNN333)=HHV(H,2*NNN333+1); AA1:=REF(L,NNN333)=LLV
(L,2*NNN333+1);
QY:=BACKSET(AA,NNN333+1); QY1:=BACKSET(AA1,NNN333+1);
CC:=FILTER(QY,NNN333) AND H=HHV(H,NNN333+1);
CC1:=FILTER(QY1,NNN333) AND L=LLV(L,NNN333+1);
DDD:=BARSLAST(CC); DD1:=BARSLAST(CC1);
GDTS:=IF(CC,CURRBARSCOUNT,0); DDTS:=IF(CC1,CURRBARSCOUNT,0);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); DDTS1:=IF(DD1,REF
(DDTS,DD1),DDTS);
GDCS1:=CONST(DINGBUTS); DDCS1:=CONST(DDTS1);
GDCS13:=CONST(REF(HIGH,GDCS1-1)); DDCS13:=CONST(REF(L,DDCS1-1));
DINGBUTS1:=REF(DINGBUTS,DDD+1); DDTS2:=REF(DDTS1,DD1+1);
GDCS2:=CONST(DINGBUTS1); DDCS2:=CONST(DDTS2);
GDCS23:=CONST(REF(HIGH,DINGBUTS1-1)); DDCS23:=CONST(REF(L,DDTS2-
1));
同花顺波段高低主图指标公式
XG1:=BACKSET(ISLASTBAR,GDCS1); XD1:=BACKSET(ISLASTBAR,DDCS1);
XG2:=BACKSET(ISLASTBAR,DINGBUTS1
相关推荐: