{金线突破主图源码如下}
MA5:MA(CLOSE,5),COLORYELLOW,DOTLINE;
ABC1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
ABC2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),ABC1);
金线王1:EMA(ABC2,200)*1.118 ,LINETHICK2,COLORMAGENTA;
DF2:=(C-REF(C,1))/REF(C,1)*100>9;
金线王:=CROSS(C,金线王1) AND DF2;
DRAWTEXT(金线王,L*0.98,' ★金线突破'),COLORYELLOW;
STICKLINE(金线王,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(金线王,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(金线王,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(金线王,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(金线王,CLOSE,OPEN,0.3,0),COLOR00FFFF;
DRAWICON(金线王,L*1.002,9);
{金线突破副图源码如下}
ABC1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
ABC2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),ABC1);
金线王1:=EMA(ABC2,200)*1.118 ,LINETHICK2,COLORMAGENTA;
DF2:=(C-REF(C,1))/REF(C,1)*100>9;
金线王:=CROSS(C,金线王1) AND DF2;
DRAWTEXT(金线王,5.6,' ★金线突破'),COLORYELLOW;
STICKLINE(金线王,0,6,0.1,1),COLORMAGENTA;
STICKLINE(金线王,0,4,3,0),COLORMAGENTA;
STICKLINE(金线王,0,6,0.1,0),COLOR00BBFF;
DRAWICON(金线王,6,9);