平衡值:=5;系数:=5;落后补:=8;预损设定:=5;代码1:='000757'; 1:=CONST("000757$C");昨价1:=CONST(REF("000757$C",1));代码2:='002495'; 收盘价2:=CONST("002495$C");昨收盘价2:=CONST(REF("002495$C",1));代码3:=''; 收盘价3:=CONST("0$C");昨收盘价3:=CONST(REF("0$C",1));代码4:=''; 收盘价4:=CONST("0$C");昨收盘价4:=CONST(REF("0$C",1));代码5:=''; 收盘价5:=CONST("0$C");昨收盘价5:=CONST(REF("0$C",1));代码6:=''; 收盘价6:=CONST("0$C");昨收盘价6:=CONST(REF("0$C",1));代码7:=''; 收盘价7:=CONST("0$C");昨收盘价7:=CONST(REF("0$C",1));{====================================}{第一只.第1次}A1:=7;股数A1:=1