N:=89;
M1:=3;
M3:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
MID:=MA(CLOSE,M3);
UB:=MID+P*STD(CLOSE,M3);
LB:=MID-P*STD(CLOSE,M3);
DLYZ1:=SUM((WINNER(C)*100),30)/30*0.1;
DLYZ2:=SUM((WINNER(C)*100),20)/20*0.4;
DLYZ3:=SUM((WINNER(C)*100),10)/10*0.3;
DLYZ4:=SUM((WINNER(C)*100),5)/5*0.1;
DLYZ5:=SUM((WINNER(C)*100),3)/3*0.1;
DLYZZ:=DLYZ1+DLYZ2+DLYZ3+DLYZ4+DLYZ5;
赚钱效应:=IF(DLYZZ>38,DLYZZ,DLYZZ*1.3);
活跃度:=IF(SUMBARS(VOL,CAPITAL)<100,100-SUMBARS(VOL,CAPITAL),1);
VAR1:=MA(C,37);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
A10:=CROSS(控盘,0);
VAR2:=100*WINNER(CLOSE*0.95);
高度控盘:=IF(VAR2>50 AND COST(85)< CLOSE AND 控盘>0,控盘,0);
A02:=(WINNER((C*1.05))*100.000);
A03:=(WINNER((C*0.95))*100.000);
A031:=IF(A03<0,0,A03);
A021:=IF(A02<0,0,A02);
A032:=IF(A031>100,100,A031);
A022:=IF(A021>100,100,A021);
浮动筹码(10):=MA(A021,1)-MA(A031,1);
获利盘(10):=MA(A031,1);
获利盘(10)>50 AND J>50 AND 赚钱效应>40 AND 高度控盘>4 AND REF(C,1)> REF(UB,1) AND C>UB AND (C-REF(C,1))*100/REF(C,1)>9.8 ;