X_1:=AMOUNT/VOL/100;
X_2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
X_3:=SUM(AMOUNT,40)/X_1/100;
X_4:=SUM(AMOUNT,80)/X_1/100;
X_5:=DMA(X_2,VOL/X_3);
X_6:=DMA(X_2,VOL/X_4);
X_7:=(CLOSE-X_5)/X_5*100;
X_8:=(CLOSE-X_6)/X_6*100;
控盘:1,COLORYELLOW;
高点:5,COLORFF6600;
风险:(-1),COLORGREEN,LINETHICK2;
低点:(-4),COLORCCFF33;
现价:CLOSE,NODRAW;
DRAWTEXT(ISLASTBAR AND CLOSE,4,147),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND CLOSE,3,148),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND CLOSE,2,149),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND CLOSE,(-1.5),150),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND CLOSE,(-2.5),151),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND CLOSE,(-3.5),152),COLOR0000BB;
分时确认:MA(REF(HHV(CLOSE,60),1),2),NODRAW;
均价:SUM(现价*VOL,240)/SUM(VOL,240),NODRAW,COLORYELLOW;
回调认同:EMA(EXPMA(CLOSE,20),13),NODRAW;
分时压力:MA(REF(HHV(CLOSE,30),1),2),NODRAW;
分时支撑:MA(REF(LLV(CLOSE,30),1),2),NODRAW;
STICKLINE(FILTER(CLOSE,60)>0,高点,低点,0.5,0),COLORRED;
STICKLINE(X_8>0,0,X_8,1,0),COLORYELLOW;
STICKLINE(X_7>0,0,X_7,1,0),COLORRED;
STICKLINE(X_7<=0,0,X_7,1,0),COLORGREEN;
X_9:=(CLOSE-LLV(LOW,Q))/(HHV(HIGH,Q)-LLV(LOW,Q))*100;
{HTTP://WWW.70822.com}
X_10:=SMA(X_9,5,1);
X_11:=SMA(X_10,3,1);
X_12:=3*X_10-2*X_11;
X_13:=EMA(X_12,6);
X_14:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_15:=SMA(X_14,13,8);
X_16:=CEILING(SMA(X_15,13,8));
X_17:=PVI.MA;
X_19:=CROSS(X_16,X_13) AND CLOSE>=均价;
X_20:=CROSS(X_16,X_13) AND X_7>0.6 AND CLOSE>=均价;
DRAWTEXT(X_19,(-1),153),COLORYELLOW;