MA5:MA(CLOSE,M1)LINETHICK2;
MA8:MA(CLOSE,M2);
MA13:MA(CLOSE,M3);
MA50:MA(CLOSE,M4)COLORBLUE;
MA55:MA(CLOSE,M5)COLORBLUE;
MA60:MA(CLOSE,M6)COLORBLUE,LINETHICK2;
MA25:MA(CLOSE,M7)COLORMAGENTA,LINETHICK2;
MA134:MA(CLOSE,M8)COLORRED;
MA144:MA(CLOSE,M9)COLORRED;
MA154:MA(CLOSE,M10)COLORRED;
DRAWTEXT(ISLASTBAR,LOW,HYBLOCK);
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;
天线:MA(REF(HHV(C,30),1),2),COLORGREEN,,LINETHICK2;
地线:MA(REF(LLV(C,30),1),2),COLORRED,LINETHICK2;
DRAWTEXT_FIX(C>0,0.55,1,0,DYBLOCK),COLORYELLOW,LINETHICK3;
DRAWTEXT_FIX(C>0,0.6,1,0,HYBLOCK),COLORRED,LINETHICK3;
DRAWTEXT_FIX(C>0,1,1,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK3;
H1:=VOL/CAPITAL*100;
MV1:=MA(VOL,1);
MV3:=MA(VOL,3);
MV5:=MA(VOL,5);
MV60:=MA(VOL,60);
M1:=MA(CLOSE,20);
M2:=MA(CLOSE,24);
M3:=MA(CLOSE,5);
M4:=MA(CLOSE,10);
M5:=MA(CLOSE,55);
M6:=MA(CLOSE,60);
DRAWTEXT(C*1.015>O AND O<MAX(M1,M2) AND O<MAX(M5,M6) AND C>MAX(M1,M2) AND C>MAX(M5,M6) AND H1>0.85 AND MAX(MV1,MV5)>MV60,地线,' 买入'),COLORYELLOW;
DRAWICON(C*1.015>O AND O<MAX(M1,M2) AND O<MAX(M5,M6) AND C>MAX(M1,M2) AND C>MAX(M5,M6) AND H1>0.85 AND MAX(MV1,MV5)>MV60,地线,1);
IF(MA25<REF(MA25,1),MA25,DRAWNULL),COLORGREEN,LINETHICK4;
红:IF(CLOSE>=SAR(6,8,13),SAR(6,8,13),
DRAWNULL),CIRCLEDOT,COLORRED,{COLOR9955FF};
绿:IF(CLOSE<=SAR(6,8,13),SAR(6,8,13),
DRAWNULL),CIRCLEDOT,COLORGREEN,{COLORDDFF00};