刚才显示有问题另发一贴
A: nn:=barslast(type(1)=3)+1;
ll:llv(l,nn);
和
B: nn:=barslast(开空条件)+1;
ll:llv(l,nn);
一样
还是
A不对
多个开空公式
求任意开空公式成立后的低点
hh:=hhv(h,nn);
if 平仓条件 then hh1:=hh;
hh1为所求值
填写对应的开平条件
ll:llv(l,nn);
这样写会产生什么错误
还是写法本身不对
nnc:=barslast(开仓条件c)+1;
hha:=hhv(h,nna);
hhb:=hhv(h,nnb);
hhc:=hhv(h,nnc);
if 平仓条件x then hh1:=hha;
if 平仓条件y then hh1:=hhb;
if 平仓条件z then hh1:=hhc;
hh1为所求值?
还是用or连接
nnc:=barslast(开仓条件c)+1;
hha:=hhv(h,nna);
hhb:=hhv(h,nnb);
hhc:=hhv(h,nnc);
if 平仓条件x then hh1:=hha;
if 平仓条件y then hh2:=hhb;
if 平仓条件z then hh3:=hhc;
nna:=barslast(开仓条件a)+1;
如何保证开仓条件a不是昨日的条件
nna和todaybar比较,哪个小取哪个
na:min(TODAYBAR,nna);
hha:=hhv(h,na);
假如现在是10点钟,昨天9:30分有1个nna
昨天那个nna不是比TODAYBAR小吗?