以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  请教关于条件判断  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=58980)

--  作者:punkcat401
--  发布时间:2013/11/20 9:54:46
--  请教关于条件判断

IF 条件A then buy;

如果条件B成立时,出现条件A,则不开仓,应该怎么写


--  作者:jinzhe
--  发布时间:2013/11/20 9:57:21
--  
if  条件a and not(条件b) then buy;