中线:MA(CLOSE,20);
上轨: 中线 +2*STD(CLOSE,20);
下轨: 中线 - 2*STD(CLOSE,20);
强:=SMA(HHV(HIGH,13)+LLV(LOW,7)-C,3,1)LINETHICK1;
穿插:SMA(HHV(HIGH,7)+LLV(LOW,7)-C,3,1)LINETHICK2,COLORGREEN;
带宽:上轨-下轨,NODRAW;
{弱:=SMA(强,5,1),LINETHICK1,COLORGREEN;
撑压:SMA(强,5,1),LINETHICK1,COLORGREEN;}
{DRAWTEXT(弱>强,弱,'●'),COLORGREEN;
DRAWTEXT(弱<强,弱,'◎')COLORRED;}
{DRAWICON(crOSS(弱,强),H*0.999,3),COLORGREEN;
DRAWICON(CROSS(强,弱),L*0.889,2),COLORRED;}
STICKLINE((EMA(CLOSE,2) >=
EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLOR0000FF;
{STICKLINE((EMA(CLOSE,2)
>=
EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLOR0000AA;
STICKLINE((EMA(CLOSE,2)
>=
EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLOR0000CC;}
STICKLINE((EMA(CLOSE,2)
<
EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLORCCCC00;
STICKLINE((EMA(CLOSE,2)
<
EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLORAAAA00;
STICKLINE((EMA(CLOSE,2)
<
EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLORFFFF00;
STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))
OR
CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),LOW,HIGH,1,0),COLOR00FFFF;
STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))
OR
CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,3,0),COLOR00AAAA;
STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))
OR
CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,2,0),COLOR00CCCC;
强弱:EMA(SLOPE(C,21)*20+C,42),COLORBLUE,LINETHICK2;
DRAWTEXT( CROSS(穿插,MA(C,21)) AND H>上轨,H*0.99 ,'高点');
ZRCC:REF(穿插,1),NODRAW;