M:=55;
N:=21;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/0,3),0)/618*VAR7*VAR1;
吸筹:IF(VAR8>100,100,VAR8)*VAR1,COLORBLACK;
{庄家吸筹:}
STICKLINE(吸筹>-100,0,吸筹,0,0),COLORBLACK;
线:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),NODRAW,;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
资金线:EMA(J,6),COLORYELLOW,LINETHICK3;
X:=资金线;
Y:=线;
XG1:=CROSS(X,Y),NODRAW;
V9:=TROUGHBARS(3,8,1)<10; V11:=IF(V9=1,50,0);
N1:=10;
资金:4*SMA((CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100,5,1),3.2,1),COLORFFAA00,LINETHICK1;
支撑线:25,COLOR0000FF,LINETHICK1,DOTLINE;
STICKLINE(资金>支撑线,资金,支撑线,1,0), COLORRED ;
NOTEXT资金线:EMA(J,6),COLORYELLOW,LINETHICK3;
DRAWICON(CROSS(资金,支撑线),20,7);
底部:= IF(V11=50,50,0);
买1:=IF( 底部>REF(底部,1),10,0),COLOR5C3317,LINETHICK1;
买:IF(买1>0,买1,DRAWNULL),COLOR5C3317,LINETHICK1;
DRAWTEXT(买,10,'抄底'), COLORCYAN;
DRAWTEXT(XG1=1,90,'★金叉'),COLORYELLOW;