★买卖观注★
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
RSV1:=(C-MA(C,4))/MA(C,4)*100;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走势:=CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2;
AA6:=SMA(AA3,21,8);
买观注:STICKLINE(走势-AA6<-65,0,8,15,1),COLORYELLOW;
卖观注:STICKLINE(走势-AA6>85,100,92,15,1),COLORFFFF00;
吸筹:STICKLINE(VAR9>-120,50,50+(VAR9/2),8,1),COLORRED;
MACD:EMA(EMA(RSV1,7),7)*8,NODRAW,COLORWHITE;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),50,50+MACD,2,0),COLORDD55CC;
STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),50,50+MACD,2,1),COLORDD55CC;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),50,50+MACD,2,1),COLOR00D080;
STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),50,50+MACD,2,0),COLOR00D080;
主力:EMA(100*(C-LLV(LOW,30))/(HHV(H,30)-LLV(LOW,30)),3), COLORRED,LINETHICK2;
散户:100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),COLORYELLOW;
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=-L2_AMO(0,3)/10000.0;
大S:=-L2_AMO(1,3)/10000.0;
中S:=-L2_AMO(2,3)/10000.0;
小S:=-L2_AMO(3,3)/10000.0;
净流入万:(超B+大B+中B+小B)+(超S+大S+中S+小S),NODRAW;
地平:15,COLORFF00FF,LINETHICK1,DOTLINE;
分水:50,COLORYELLOW,DOTLINE;
天际:85,COLOR00FF00,DOTLINE;
顶点:100,COLORMAGENTA,LINETHICK1,DOTLINE;
底点:0,COLORBROWN,LINETHICK2,DOTLINE;
DRAWTEXT(ISLASTBAR,地平,'地平'),COLORFF00FF;
DRAWTEXT(ISLASTBAR,分水,'分水'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,天际,'天际'),COLOR00FF00;
DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,底点,'底点'),COLORBROWN;