A2:=SUM((IF(((量价 0.20) AND (CLOSE (REF(CLOSE,1)))),量价,0)),0);
A3:=SUM((IF(((量价 0.20) AND (CLOSE (REF(CLOSE,1)))),量价,0)),0);
机构进出:(A2-A3)*5,NODRAW,COLORMAGENTA;
涨停值:(A2/A3),NODRAW,COLORWHITE;
波段线:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA
((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA
((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK1,COLORRED;
中期线:EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,COLORYELLOW,LINETHICK1;
STICKLINE(CROSS(18,中期线),18,38,3,0),COLORRED;
DRAWTEXT(CROSS(18,中期线),38,'●'),COLORRED;
STICKLINE(CROSS(中期线,95),95,75,3,0),COLORGREEN;
DRAWTEXT(CROSS(中期线,95),75,'●'),COLORGREEN;
M1:=EMA(MA(波段线,5),3);
STICKLINE(波段线 108 AND 波段线 =M1,波段线,108,2,0),COLORF0F000;
STICKLINE(波段线 0 AND 波段线 M1,波段线,0,2,0),COLORF00FF0;
108,COLORFF9D00;
95,COLORGREEN,LINETHICK1;
18,COLORGREEN;
5,COLORMAGENTA;
SHOU:=IF(DATE =1150520,1,0);
SHI:=BETWEEN((CLOSE*SHOU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*SHOU)))/SUM(VOL*100,BARSCOUNT((CLOSE*SHOU)))),1.05,0.95);
TOU:=IF(SHI=0,MA((CLOSE*SHOU),BARSCOUNT((CLOSE*SHOU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*SHOU)))/SUM(VOL*100,BARSCOUNT((CLOSE*SHOU)))));
动力线:=EXPMA((CLOSE/TOU),13);
NOTEXT2:=1.03;
STICKLINE(CROSS(动力线,1.03),18,38,3,0),COLORMAGENTA;
DRAWTEXT(CROSS(动力线,1.03),38,'--冲'),COLORYELLOW;