MA5:MA(CLOSE,5),ColorFFFFFF;
MA10:MA(CLOSE,10),Linethick2,Color00FFFF;
MA20:MA(CLOSE,20),Color00FF00;
MA40:MA(CLOSE,40),ColorFF00FF;
MA60:MA(CLOSE,60),Color0000FF;
MA120:MA(CLOSE,120),ColorFFFF00;
ANGEL:=EMA(CLOSE,2),Color000000;
DEVIL:=EMA((SLOPE(CLOSE,21))*(20) + CLOSE,42),POINTDOT,Color000000;
买:=CROSS(ANGEL,DEVIL);
SEL:=CROSS(DEVIL,ANGEL);
DRAWTEXT(买,(LOW)*(0.97),'关注'),Color00FFFF;
DRAWTEXT(SEL,(HIGH)*(1.03),'风险'),ColorFFFFFF;
STICKLINE((ANGEL >= DEVIL),LOW,HIGH,0.1,0),Color0000FF;
STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,4.5,0),Color0000AA;
STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,3,0),Color0000CC;
STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,2,0),Color0000DD;
STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,1,0),Color0000FF;
STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,1,0),ColorEEEE00;
STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,2,0),ColorDDDD00;
STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,3,0),ColorCCCC00;
STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,4.5,0),ColorAAAA00;
STICKLINE((ANGEL < DEVIL),LOW,HIGH,0.1,0),ColorFFFF00;
STICKLINE(CROSS(ANGEL,DEVIL) or CROSS(DEVIL,ANGEL),OPEN,CLOSE,3.5,0),Color00FFFF;
202108202253.jpg
|