MX:=EMA(C,2); MXA:=EMA(SLOPE(C,21)*20+C,42);
COLOR600020;
COLOR404050;
DRAWKLINE(H,O,L,C);
AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
趨勢(shì)線:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,colorred;
CC:=(CLOSE/趨勢(shì)線);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-趨勢(shì)線)/趨勢(shì)線)/3;
TMP:=MA1-MAAA*MA1;
JJ:IF(TMP<=趨勢(shì)線,趨勢(shì)線,DRAWNULL),LINETHICK3,colorgreen;
XJ:IF(TMP<=趨勢(shì)線,TMP,DRAWNULL),LINETHICK2,colorblue;
建倉(cāng):CROSS(MX,MXA),NODRAW;//
SEL:=CROSS(MXA,MX);
DRAWICON(建倉(cāng),L-0.1,1);
DRAWICON(SEL,H+0.1,2);
DRAWTEXT(建倉(cāng),L-0.68,'↖建倉(cāng)持股'),colormagenta;
DRAWTEXT(SEL,H+0.38,'↙清倉(cāng)持幣'),colorblue;
STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),colorred;
STICKLINE(MX>=MXA,CLOSE,OPEN,8,1),colorred;
STICKLINE(MX<MXA,LOW,HIGH,0.0,1),colorgreen;
STICKLINE(MX<MXA,CLOSE,OPEN,8,1),colorgreen;
STICKLINE(建倉(cāng),OPEN,CLOSE,5,0),coloryellow;
STICKLINE(SEL,OPEN,CLOSE,5,0),colorblue;
CP:=MA(CLOSE,9),colorcyan,LINETHICK1;
JD:=MA(CLOSE,18),colormagenta;
DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1);
DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'↖加倉(cāng)'),coloryellow;
BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
DRAWTEXT(FILTER(BL,3),H+0.2,'↙倍量柱'),coloryellow;
STICKLINE(FILTER(BL,3),OPEN,CLOSE,5,0),coloryellow;
XG:=SUMBARS(FILTER(BL,3),1);
STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0),coloryellow;
|
|