nn:=barslast(weekday=5)+1;
周盈利:asset-ref(asset,nn),noaxis;
nn2:=barslast(month<>ref(month,1))+1;
月盈利:asset-ref(asset,nn2).noaxis;