|
楼主 |
发表于 2022-11-2 11:24
|
显示全部楼层
FH:=COST(99);
FL:=COST(1);
WWD:=FH-FL;
SF:=WWD/10;
F10:=FH;
F09:=9*SF+FL;
F08:=8*SF+FL;
F07:=7*SF+FL;
F06:=6*SF+FL;
F05:=5*SF+FL;
F04:=4*SF+FL;
F03:=3*SF+FL;
F02:=2*SF+FL;
F01:=1*SF+FL;
F00:=FL;
W10:=100*(WINNER(F10)-WINNER(F09));
W09:=100*(WINNER(F09)-WINNER(F08));
W08:=100*(WINNER(F08)-WINNER(F07));
W07:=100*(WINNER(F07)-WINNER(F06));
W06:=100*(WINNER(F06)-WINNER(F05));
W05:=100*(WINNER(F05)-WINNER(F04));
W04:=100*(WINNER(F04)-WINNER(F03));
W03:=100*(WINNER(F03)-WINNER(F02));
W02:=100*(WINNER(F02)-WINNER(F01));
W01:=100*(WINNER(F01)-WINNER(F00));
{NO1}
MAXF1:=MAX(MAX6(W01,W02,W03,W04,W05,W06),MAX(MAX(W07,W08),MAX(W09,W10)));
ZF:IF(MAXF1=W01,F01,IF(MAXF1=W02,F02,IF(MAXF1=W03,F03,IF(MAXF1=W04,F04,IF(MAXF1=W05,F05,IF(MAXF1=W06,F06,
IF(MAXF1=W07,F07,IF(MAXF1=W08,F08,IF(MAXF1=W09,F09,F10)))))))))-WWD/20,DOTLINE,COLORGRAY; |
|