通达信智汇指标指标公式
2019/12/24 18:52:28
智汇主图指标
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;
智汇位置指标
KEY:=(DATE<=1100701);
VAR3:=LLV(LOW,33);
VAR4:=HHV(HIGH,21);
VAR5:=IF(KEY,(EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,20)*0.998),0);
低位: 20,LINETHICK2,COLORGRAY;
中位: 50,LINETHICK2,COLORWHITE;
高位: 80,LINETHICK2,COLORMAGENTA;
技术位: EMA(0.667*REF(VAR5,1)+0.333*VAR5,1),CIRCLEDOT,COLORGREEN;
智汇布林带指标
{n,00.1,999,26} {p,00.1,999,2}
KEY:=(DATE<=1100701);
ZHC:=IF(KEY,(OPEN+HIGH+LOW+CLOSE)/4,0);
KMA: MA(ZHC,1),COLORYELLOW;
MID: MA(ZHC,N),LINETHICK2,COLORBROWN;
UPPER: MID+P*STD(ZHC,N),LINETHICK2,COLORGRAY;
LOWER: MID-P*STD(ZHC,N),LINETHICK2,COLORGRAY;
投股票 网 www.tou18. cn
股市公式下载推荐