通达信六线买卖主图指标公式

通达信超跌指标公式

估:=(2*CLOSE+LOW+HIGH)/4;

界:=SLOPE(CLOSE,21)*20+CLOSE;

文:=EMA(估,40)*0.85;

快线:EMA(CLOSE,3),COLORDDDDDD;

慢线:EMA(界,55),COLOR3300FF;

风险线:EMA(估,40)*1.15,POINTDOT,COLORFF33FF;

必卖线:EMA(估,55)*1.3,CIRCLEDOT,COLORYELLOW;

捞钱线:EMA(估,55),COLORWHITE,POINTDOT;

保本线:(捞钱线+文)/2,CIRCLEDOT,COLOR00FF33;

stICKLINE(C>=保本线 AND REF(C,1)<保本线 AND REF(C,2)>保本线,O,C,3,0),COLORRED;

STICKLINE(C>=保本线 AND REF(C,1)<保本线 AND REF(C,2)>保本线,L,H,0.2,0),COLORRED;

STICKLINE(FILTER(C>=捞钱线 AND L<捞钱线,2),O,C,3,0),COLORYELLOW;

STICKLINE(FILTER(C>=捞钱线 AND L<捞钱线,2),L,H,0.2,0),COLORYELLOW;

STICKLINE(FILTER(crOSS(必卖线,CLOSE),3),O,C,3,0),COLORGREEN;

STICKLINE(FILTER(CROSS(必卖线,CLOSE),3),L,H,0.2,0),COLORGREEN;

DRAWICON(C>=保本线 AND REF(C,1)<保本线 AND REF(C,2)>保本线,L*0.96,9);

DRAWICON(FILTER(C>=捞钱线 AND L<捞钱线,2),L*0.96,1);

DRAWICON(FILTER(CROSS(必卖线,CLOSE),3),H*1.03,2);

DRAWICON(FILTER(CROSS(风险线,CLOSE),2),H*1.01,8);

{指标网-股票公式网站 www.zhibiaow.com}

{k线显示止损价}

收盘价:=C;

止损5:REF(H*0.95,1),NODRAW,COLOR3399FF;

止损10:REF(H*0.90,1),NODRAW,COLOR3399FF;

止赢:REF(CLOSE*1.10,1),NODRAW,COLOR3399FF;

{用最高价计算,

通达信豆豆量能指标公式

上面分别为5% 10%的止损,最后收盘价计算10%为止赢。可以附加在任意一条公式中。}

DRAWTEXT(ISLASTBAR ,止赢,'——涨停'),COLORYELLOW;

DRAWTEXT(ISLASTBAR ,止损5,'——止损5%'),COLORMAGENTA;

DRAWTEXT(ISLASTBAR ,止损10,'——止损10%'),COLORMAGENTA;

DRAWTEXT(ISLASTBAR ,收盘价,'—————收盘价'),COLOR3399FF;

通达信主力生命指标公式