VARIABLE:K=1;VAR1:=SUM(,0);VAR2:=VAR1/CAPITAL;N:=FLOOR(VAR2);IF N=REF(N,1)+1 THEN BEGINSTICKLINE(C,0,8,4,1);DRAWTEXT(C,8,' 第'),ALIGN0,COLORGREEN;DRAWTEXT(C,7,' '+NUMTOSTR( N)),ALIGN0,COLORRED;DRAWTEXT(C,6,' 次'),ALIGN0,COLORGREEN;DRAWTEXT(C,5,' 完'),ALIGN0,COLORGREEN;DRAWTEXT(C,4,' 全'),ALIGN0,COLORGREEN;DRAWTEXT(C,3,' 换'),ALIGN0,COLORGREEN;DRAWTEXT(C,2,' 手'),ALIGN0,COLORGREEN;DRAWTEXT(C,1,' '+NUMTOSTR( K)+'天'),ALIGN0,COLORGREEN;K:=1;ENDELSEK:=K+1;动态:EMA(IF(L<= LLV(l,30),(A(L-REF(L,1)),30,1)/SMA