通达信胜利日(主图指标)
{胜利日(主图指标)}
N:=5;
MA1:=EMA(CLOSE,1);
MA3:=EMA(CLOSE,3);
MA5:=MA(CLOSE,5);
MA7:=EMA(CLOSE,7);
MA15:EMA(CLOSE,15),POINTDOT,LINETHICK5,COLORFF0000;
星1:EMA(CLOSE,9),POINTDOT,LINETHICK4,COLORFF66FF;
星2:EMA(星1,N),POINTDOT,LINETHICK4,COLORFF66FF;
星3:EMA(星2,N),POINTDOT,LINETHICK4,COLORFF66FF;
星4:EMA(星3,N),POINTDOT,LINETHICK4,COLORFF99FF;
星5:EMA(星4,N),POINTDOT,LINETHICK4,COLORFFCCFF;
星6:EMA(星5,N),POINTDOT,LINETHICK4,COLORFFEEFF;
星7:EMA(星6,N),POINTDOT,LINETHICK4,COLORFFFFFF;
星8:EMA(星7,N),POINTDOT,LINETHICK4,COLORFFFF99;
星9:EMA(星8,N),POINTDOT,LINETHICK4,COLORDD9900;
星10:EMA(星9,N),POINTDOT,LINETHICK4,COLOR998800;
星11:EMA(星10,N),POINTDOT,LINETHICK4,COLOR887700;
星12:EMA(星11,N),POINTDOT,LINETHICK4,COLOR776600;
星13:EMA(星12,N),POINTDOT,LINETHICK4,COLOR665500;
星14:EMA(星13,N),POINTDOT,LINETHICK4,COLOR554400;
星15:EMA(星14,N),POINTDOT,LINETHICK4,COLOR444400;
星16:EMA(星15,N),POINTDOT,LINETHICK5,COLOR334400;
STICKLINE(CLOSE>星2,CLOSE,星2,5,0),COLOR9900FF;
STICKLINE(CLOSE>星1,CLOSE,星1,5,0),COLORFF0000;
STICKLINE(CLOSE<星1,星1,CLOSE,5,0),COLORFFFFFF;
STICKLINE(CLOSE<星5,星4,CLOSE,5,0),COLORCC0099;
STICKLINE(EMA(C,2)>=EMA(SLOPE(C,21)*20+C,42),LOW,HIGH,0,0),COLORRED;
STICKLINE(EMA(C,2)>=EMA(SLOPE(C,21)*20+C,42),CLOSE,OPEN,2,0),COLOR0000CC;
STICKLINE(EMA(C,2)>=EMA(SLOPE(C,21)*20+C,42),CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE(EMA(C,2)<EMA(SLOPE(C,21)*20+C,42),CLOSE,OPEN,2,0),COLORCCCC00;
STICKLINE(EMA(C,2)<EMA(SLOPE(C,21)*20+C,42),LOW,HIGH,0,0),COLORFFFF00;
- 上一篇公式:通达信【原创】新发现一个新指标:ZGL线源码
- 下一篇公式:同花顺波段趋势指标公式