通达信智汇趋势线波段操盘指标公式
通达信智汇趋势线波段操盘指标公式:
ZHC:=(OPEN+HIGH+LOW+CLOSE)/4;
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;
通达信智汇趋势线波段操盘指标公式实例图解:
通达信智汇趋势线波段操盘指标公式