WARNING_DISABLE:4;
VERTLINE(OPENMINUTES(TIME)=2,0 ,0 ,COLORwhite,1,VTDOT);
VERTLINE(date=1210323 AND time=010100,0 ,0 ,COLORred,1,VTDOT);
input : pos(1,1,20,1) ;
input : n(10,10,50,10) ;
input :profit(300,100,3000,200) ;
variable : db = 1 ;
variable : ep1 =0 ;
variable : ep2 =0 ;
variable : un1 =0 ;
variable : un2 =0 ;
variable : c1 =0 ;
variable : position =0 ;
variable : asset1 =0 ;
variable : b2=0,b3=0,b4=0,b5=0,b6=0,b7=0,b8=0,b9=0,b10=0,s1=0,s2=0,s3=0,s4=0,s5=0,s6=0,s7=0,s8=0,s9=0,s10=0 ;//防止重复开仓
if date=1210322 and time=185900 then
db = 1;
if date=1210323 then BEGIN
已开始运行:1,linethick0;
if un1=0 and un2=0 and OPENMINUTES(TIME)>=2 and time <153000 then begin
ep1:=c ;
ep2 := c ;
asset1 := asset ;
DEBUGFILE('C:\Users\SUN\Desktop\sxkc9.TXT',' ep1'&numtostr(ep1,0),0) ;
end