if cc1>0 and l<lo then begin
pc:=min(max(holding,0),cang1);
kc:=cang1-pc;
if pc>0 then 平多=1;
if kc>0 then 开空=1;
cc1:=0;
end
比如上面这段代码,是否能用在序列模式下。用到序列模式下,怎么让cc1,开多,开空输出呢?
把holding去掉了 if cc1>0 and l<lo then begin
问题是begin end 语句在序列模式下该怎样输出。 |
if cc1>0 and l<lo then begin
pc:=min(max(holding,0),cang1);
kc:=cang1-pc;
if pc>0 then 平多=1;
if kc>0 then 开空=1;
cc1:=0;
end
比如上面这段代码,是否能用在序列模式下。用到序列模式下,怎么让cc1,开多,开空输出呢?
序列模式下可以用 for 循环实现
但这又相当于是 逐K线模式了
所以,没有必要,全部用逐K线模式就好
谢谢fly and leevolve