通达信智汇指标指标公式

优化净吃庄血副图(通达信)

智汇主图指标

KEY:=(DATE<=1100701);

ZHC:=IF(KEY,(OPEN+HIGH+LOW+CLOSE)/4,0);

ZHQS:=EMA(EMA(EMA(EMA(ZHC,2),2),5),5);

趋势线: ZHQS,LINETHICK2, COLORCYAN;

生命线: EMA(ZHC,60),LINETHICK2, COLORRED;

TT0:=REF(趋势线,1)<趋势线;

TT1:=REF(趋势线,1)>趋势线;

TA:=TT0;

TB:=TT1;

stICKLINE( CLOSE>趋势线 AND OPEN>趋势线 AND TA, HIGH, LOW, 0, 0 ),COLORYELLOW;

STICKLINE( CLOSE>趋势线 AND OPEN>趋势线 AND TA AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORYELLOW;

STICKLINE( CLOSE>趋势线 AND OPEN>趋势线 AND TA AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORYELLOW;

STICKLINE( (OPEN<趋势线 OR OPEN<生命线) AND TB, HIGH, LOW, 0, 0 ),COLORCCCCCC;

STICKLINE( (OPEN<趋势线 OR OPEN<生命线) AND TB AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORCCCCCC;

STICKLINE( (OPEN<趋势线 OR OPEN<生命线) AND TB AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORCCCCCC;

STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE<OPEN, HIGH, LOW, 0, 0 ),COLORCYAN;

STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORCYAN;

STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE>=OPEN, HIGH, LOW, 0, 0 ),COLORRED;

STICKLINE( NOT((CLOSE>趋势线 AND OPEN>趋势线 AND TA) OR ((OPEN<趋势线 OR OPEN<生命线) AND TB)) AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORRED;

STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE<OPEN, HIGH, LOW, 0, 0 ),COLORCYAN;

STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE<OPEN, OPEN, CLOSE, 3,0 ),COLORCYAN;

STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE>=OPEN, HIGH, LOW, 0, 0 ),COLORRED;

STICKLINE( BARSCOUNT(CLOSE)<=5 AND CLOSE>=OPEN,OPEN, CLOSE, 3,1 ),COLORRED;

趋势布林极限副图(通达信)