以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  文华下单语句如何改为金字塔  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=156517)

--  作者:cdqwy781
--  发布时间:2017/8/4 10:09:18
--  文华下单语句如何改为金字塔
K2<=0 ,BPK; 
K2>0,SPK; 
AUTOFILTER;
文华这一句如何改为金字塔下单语句

--  作者:pyd
--  发布时间:2017/8/4 10:23:50
--  

if K2<=0 then begin
sellshort(holding<0,holding,marketr);
buy(holding=0,holding,marketr);
end

if K2>0 then begin
sell(holding>0,holding,marketr);
buyshort(holding=0,holding,marketr);
end


--  作者:cdqwy781
--  发布时间:2017/8/4 10:29:09
--  
谢谢我已决定使用金字塔收费账号