求教各位大仙,如果15:00收盘在线下,第二天开盘在线上,不做任何交易,该怎么写代码
if not(15:00收盘在线下,第二天开盘在线上)就做
在几分钟周期上?
假设在if00品种上,线是ma均线的写法hh:CALLSTOCK('if00',vthigh,5,-1);
if not(hh<ma1 and o>ma1) then
我是这个意思:现在持有多单,如果当天收盘收在线下,而且第二天开盘开在线上,那么我不进行反手操作。应该怎么写代码?
开仓条件加入 not(收盘在线下 ) and not(开盘在线上)