通达信SLOPE函数主图指标公式

通达信天雷滚滚指标公式

通达信SLOPE函数主图指标公式:

VAR1:=EMA(C,2);

VAR2:=EMA(SLOPE(C,21)*20+C,42);

VAR3:=crOSS(VAR1,VAR2);

VAR4:=CROSS(VAR2,VAR1);

MA20:MA(C,20),COLORGREEN,LINETHICK1;

MA10:MA(C,10),COLORCYAN,LINETHICK1;

MA4:MA(C,4),COLORYELLOW,LINETHICK1;

DRAWTEXT(VAR3,LOW*0.95,'买'),COLORYELLOW,LINETHICK3;

DRAWTEXT(VAR4,HIGH*1.028,'卖'),COLORGREEN,LINETHICK3;

stICKLINE(VAR1=VAR2,LOW,HIGH,0,0),COLORRED;

STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),COLORRED;

STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),COLORRED;

STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),COLORRED;

STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),COLORRED;

STICKLINE(VAR1<VAR2,CLOSE,OPEN,2,0),COLORGREEN;

STICKLINE(VAR1<VAR2,CLOSE,OPEN,2,0),COLORGREEN;

STICKLINE(VAR1<VAR2,CLOSE,OPEN,2,0),COLORGREEN;

STICKLINE(VAR1<VAR2,CLOSE,OPEN,2,0),COLORGREEN;

STICKLINE(VAR1<VAR2,LOW,HIGH,0,0),COLORGREEN;

通达信微笑趋势指标公式