N:=2250;
variable:kk=0;
if kk=0 and c<=2250 then begin
buy(1,1,market);
kk:=1;
end
if kk=1 and c<=2250-50 then begin
buy(1,1,market);
kk:=2;
end
if kk=1 and c<=2250-50*2 then begin
buy(1,1,market);
kk:=3;
end
.
.
.
.
..
.
一直写到打算降到多少个50点
if c>=enterprice+50*mindiff then begin
sell(1,1,market);
end
第三个判断kk的是
kk=2,不是和上面一样的kk=1,用户修改一下吧
kk是定义过的,
图表上有信号吗?
只显示当日的1分钟k线,历史的信号会影响当日的信号