| | | | 以下是通达信绝佳短线买卖副图指标
通达信绝佳短线买卖副图指标
源码
{绝佳短线买卖01}
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
STICKLINE(VAR1
STICKLINE(VAR1
STICKLINE(VAR1
STICKLINE(VAR1
{绝佳短线买卖02}
VAR0:EMA(C,2);
MA5:MA(C,5);
CG:MA(C,17),COLORFFCC66,LINETHICK2;
GD:EMA(H,3);
VAR2:EMA(SLOPE(C,21)*20+C,21);
VAR3:EMA(SLOPE(C,21)*20+C,42);
| | | | |
|