if a then Tbuy(),allowrepeat;
买多仓后提示进行了买多操作及多少手及仓位
if b then Tbuyshort(),allowrepeat;
if ap then Tsell(),allowrepeat;
平多后提示进行了平多操作及多少手及仓位
if bp then Tsellshrot(),allowrepeat;
参考msgout函数
类似于
n:=numtostr(下单公式里面设定好的下单数量,0);
msgout(下单条件 and TISREMAIN( 0)=0,n);