这个 需要专业版以上才能做,后台的程序化
如果您是专业版的话可以直接在vip论坛进行咨询,有相关人员帮您编写
GLOBALVARIABLE:ti=0,buyprice=0,sellprice=0;
if DYNAINFO( 25)>100 then ti:=currenttime;
if DYNAINFO( 31)>100 then ti:=0;
if ti>0 then
begin
buyprice:=DYNAINFO( 28);
sellprice:=DYNAINFO( 34);
end
大概流程,具体自己去理解下
GLOBALVARIABLE:ti=0,buyprice=0,sellprice=0,num=0;
if DYNAINFO( 25)>100 then
begin
ti:=currenttime;
num:=1;
buyprice:=DYNAINFO( 28);
sellprice:=DYNAINFO( 34);
end
if ti-currenttime>10 and num=1 then tbuy();
if DYNAINFO( 31)>100 or buyprice<>DYNAINFO( 28) or sellpriceL<>DYNAINFO( 34) then num:=0;
其他的您自行完善,不做完整编码
是全局变量,这个用于标记的