{公式名称: 涨停信号主图}
{主图叠加}
工作线:EMA(CLOSE,14),POINTDOT,COLOR22ACDE,LINETHICK3;
生命线:MA(CLOSE,25),COLORMAGENTA;
不惑线:MA(CLOSE,40),COLORCYAN;
姊妹线:EMA(CLOSE,56),POINTDOT,COLOR33CCDD;
VAR1:=EMA(SLOPE(CLOSE,21)*20+CLOSE,68);
VAR2:=EMA(CLOSE,10);
VAR3:=REF(CLOSE,2);
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;
VAR5:=IF(VAR4 REF(VAR4,1) AND VAR4 79,VAR4,0);
VAR6:=LLV(LOW,21);
VAR7:=HHV(HIGH,21);
VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,5);
VAR9:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*50,13);
VAR10:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);
VAR11:=LLV(LOW,55);
VAR12:=HHV(HIGH,34);
VAR13:=EMA((CLOSE-VAR11)/(VAR12-VAR11)*100,3);
VAR14:=(VAR9+VAR13)/2;
VAR15:=EMA(0.667*REF(VAR13,1)+0.333*VAR8,2);
VAR16:=EMA(VAR14,5);
VAR17:=EMA(0.667*REF(VAR16,1)+0.333*VAR16,2);
VAR18:=CROSS(VAR8,VAR9);
VAR19:=CROSS(VAR8,VAR17) AND VAR17
{www.9m8.cn 九毛八公式指标网}
VAR20:=VAR19*0.6;
VAR21:=(CLOSE+LOW+HIGH)/3;
VAR22:=EMA(VAR21,6);
VAR23:=EMA(VAR22,5);
VAR24:=CROSS(VAR22,VAR23);
DRAWICON(VAR24,LOW/1.015,1),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CROSS(VAR2,VAR1),LOW,1),COLORYELLOW,LINETHICK4;
STICKLINE(CLOSE =工作线 AND CLOSE =OPEN,HIGH,LOW,0,1),COLORRED;
STICKLINE(CLOSE =工作线 AND CLOSE =OPEN,OPEN,CLOSE,2,1),COLORRED;
STICKLINE(CLOSE =工作线 AND CLOSE =OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE =工作线 AND CLOSE =OPEN,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(CLOSE 工作线 AND CLOSE =OPEN,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(CLOSE 工作线 AND CLOSE =OPEN,OPEN,CLOSE,2,1),COLORGREEN;
STICKLINE(CLOSE 工作线 AND CLOSE =OPEN,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(CLOSE 工作线 AND CLOSE =OPEN,OPEN,CLOSE,2,0),COLORGREEN;
七天线:MA(CLOSE,7),COLORGRAY,LINETHICK2;