A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)
-2*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1);
趋势线:=EMA(A1,5),LINETHICK1,COLORFF6600;
A2:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100+10,COLORFF0099;
A3:=EMA(C,5);
A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;
K20:=SMA(A4,6,1),LINETHICK1,COLOR33FF00;
工作:MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3),COLOR00FF00;
休息:IF(工作<REF(工作,1),工作,DRAWNULL),COLOR0066CC;
干活:IF(HHV((MA(C,5)-C)/C,5)>0.07 AND HHV((MA(C,10)-MA(C,5))/MA(C,5),5)>0.05
AND (C=LLV(C,10) OR L=LLV(L,10)) AND C<L*1.04 AND C>REF(C,1)*0.905,40,0),COLORF00FF0;