我有二个条件,信号一,闪一下,信号二没有出现,
信号一只要闪一下,后面条件二出现就开仓
闪的时侯,条件二不符合开仓条件
怎么办
一定要抓住这个信号闪一下的瞬间做判断?
if 条件1 then extgbdataset('xinhao',1);
if extgbdata('xinhao')=1 and 条件2 then tbuy(tholding=0,1,mkt);
if time=closetime(0) then extgbdataset('xinhao',0);
这种要抓住瞬时信号做判断的,需要用到后台