{参数2:LOWN, 最小1,最大1000,缺省10}
ZB2:EMA(ZB1,45),COLORYELLOW;
QY:=BACKSET(AA,HIGHN+1);
DRAWICON(CC,H*1.02,2);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
GDCS1:=CONST(DINGBUTS);
GDCS2:=CONST(DINGBUTS1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
DD1:=BARSLAST(CC1);
YDB:=IF(DD1,REF(L,DD1),L);
DDCS1:=CONST(DDTS1);
DDTS2:=REF(DDTS1,DD1+1);
低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;
ZGEND:=CONST((高点压力+低点支撑)/2);
中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;
EMA21:=EMA(C,21),COLORYELLOW;
EMA60:=MA(C,60),COLORFFCC66;
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,’←低吸’),COLORLIRED;
DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);
VAR9:=CLOSE-REF(CLOSE,5);
VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);
DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2);
B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;
VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;
A0:=(L+H+C*2)/4;
A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;
A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;
逃顶:IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL),COLORCYAN,{LINETHICK2};
卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK3;
STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;
STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;
评论(0)