通达信布林带主图指标公式
2020/9/6 18:30:05
MA7:EMA(CLOSE,7),COLORFFFFFF;
MID:MA(CLOSE,20),COLORYELLOW;
UPPER:MID+2*STD(CLOSE,20),COLORRED,DOTLINE;
LOWER:MID-2*STD(CLOSE,20),COLORGREEN,DOTLINE;
EMA1:EMA(C,5),COLORFFFFFF,LINETHICK0;
EMA2:EMA(C,21),COLORYELLOW,LINETHICK0;
STICKLINE(C>=OPEN,C,OPEN,3.5,0),COLOR0000AA;
STICKLINE(C>=OPEN,C,OPEN,3.0,0),COLOR0000CC;
STICKLINE(C>=OPEN,C,OPEN,2.0,0),COLOR0000EE;
STICKLINE(C>=OPEN,C,OPEN,1.5,0),COLOR0000FF;
STICKLINE(C>=OPEN,C,OPEN,0.5,0),COLORFF00FF;
STICKLINE(C>=OPEN,C,OPEN,0.4,0),COLORFF00FF;
STICKLINE(C>=OPEN,C,OPEN,0.2,0),COLORFF00FF;
STICKLINE(OPEN>=C,C,OPEN,3.5,0),COLORAAAA00;
STICKLINE(OPEN>=C,C,OPEN,3.0,0),COLORBBBB00;
STICKLINE(OPEN>=C,C,OPEN,2.0,0),COLORCCCC00;
STICKLINE(OPEN>=C,C,OPEN,1.5,0),COLOREEEE00;
STICKLINE(OPEN>=C,C,OPEN,0.5,0),COLORFFFF00;
STICKLINE(OPEN>=C,C,OPEN,0.4,0),COLORFFEE00;
STICKLINE(OPEN>=C,C,OPEN,0.2,0),COLORFFEE00;
VAR31:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR41:=CROSS(VAR31,0.9);
VAR51:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR61:=CROSS(VAR51,0.9);
压力:= REF(HIGH,BARSLAST(VAR41));
STICKLINE(C,REF(HIGH,BARSLAST(VAR41)),REF(HIGH,BARSLAST(VAR41)),8,1),COLORFFFFFF;
支撑:= REF(LOW,BARSLAST(VAR61));
STICKLINE(C,REF(LOW,BARSLAST(VAR61)),REF(LOW,BARSLAST(VAR61)),8,1),COLORYELLOW;
DRAWICON(CROSS(EMA1,EMA2),EMA2*1.00,5);
DRAWICON(CROSS(EMA2,EMA1),EMA2*1.00,6);
DRAWICON(CROSS(C,EMA1),L*1.00,7);
DRAWICON(CROSS(EMA1,C),H*1.00,8);
DRAWICON(CROSS(C,EMA2),L*1.00,7);
DRAWICON(CROSS(EMA2,C),H*1.00,8);
DRAWICON(CROSS(C,压力),L*1.00,1);
DRAWICON(CROSS(支撑,C),H*1.00,2);
投股票 网 w ww.tou18.cn
股市公式下载推荐