连根拔起:=ZIG(3,10);
卖线:=MA(连根拔起,3);
A:连根拔起,NODRAW;
B:卖线,NODRAW;
DRAWTEXT(CROSS(连根拔起,卖线),L*0.99,'买'),LINETHICK2,coloryellow;
DRAWTEXT(CROSS(卖线,连根拔起),H*1.01,'卖'),LINETHICK2,colorgreen;
STICKLINE(连根拔起>=卖线,LOW,HIGH,0.1,0),COLOR0000CC;
STICKLINE(连根拔起>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(连根拔起<卖线,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE(连根拔起<卖线,LOW,HIGH,0.1,0),COLORCCCC00;
STICKLINE(CROSS(连根拔起,卖线),OPEN,CLOSE,3,0),COLOR00AAFF;
STICKLINE(CROSS(卖线,连根拔起),OPEN,CLOSE,3,0),COLOR00DD00;
压力1:HHV(MA(H,1),30),colorred,LINETHICK2;
压力2:HHV(MA(H,1),60),colormagenta,LINETHICK2;
支撑1:LLV(MA(L,1),30),coloryellow,LINETHICK2;
支撑2:LLV(MA(L,1),60),colorwhite,LINETHICK2;
STICKLINE(支撑1>支撑2,支撑1,支撑2,0,0),colorred,LINETHICK4;
STICKLINE(压力1<压力2,压力1,压力2,0,0),colorgreen,LINETHICK4;
生命线:MA(C,25);
IF(生命线>REF(生命线,1),生命线,DRAWNULL),colorred,LINETHICK2;
IF(生命线<REF(生命线,1),生命线,DRAWNULL),colorgreen,LINETHICK2;