通达信重心红彩带主图指标公式
通达信均线操盘主图指标公式
N1:=12;
AAA1:=EMA((2*CLOSE+HIGH+LOW)/4,N1);
AAA2:=EMA(AAA1,2);
A3:=EMA(AAA2,2);
A4:=EMA(A3,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
A8:=EMA(A7,2);
A9:=EMA(A8,2);
A10:=EMA(A9,2);
A11:=EMA(A10,2);
A12:=EMA(A11,2);
A13:=EMA(A12,2);
A14:=EMA(A13,2);
A15:=EMA(A14,2);
DRAWBAND(AAA1,RGB(255,0,0),A15,RGB(0,100,100)); {画区间彩带}
{www.zhibiaow.com 指标网_通达信股票指标公式}
stICKLINE(AAA1>A15,AAA1,A15,0,-1),COLORFF00FF; {画区间彩带的竖线}
DRAWKLINE(H,O,L,C);
{涨跌停颜色}
涨跌:=REF(C,1);
涨停:=IF((C-涨跌)*100/涨跌>=(10-0.01*100/涨跌),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((涨跌-C)*100/涨跌>=(10-0.01*100/涨跌),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORBLUE;
STICKLINE(跌停,H,L,0,1),COLORBLUE;
{重心}
重心:=AMOUNT/vol/100,POINTDOT,COLORWHITE;
Z1:EMA(重心,1);
IF(重心>LLV(重心,3),Z1,DRAWNULL),COLORWHITE;
IF(重心<HHV(重心,2),Z1,DRAWNULL),COLORBLUE,LINETHICK6;
通达信奇妙转折主图指标公式