以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- K线上频繁出现买卖信号是怎么回事? (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=52742) |
-- 作者:qw624109280 -- 发布时间:2013/6/3 13:02:55 -- K线上频繁出现买卖信号是怎么回事? |
-- 作者:qw624109280 -- 发布时间:2013/6/3 13:05:44 -- INPUT:n1(20,1,100,10); INPUT:n2(5,1,100,10); INPUT:n3(10,1,100,10); ma1:=ma(c,n1); ma2:=ma(c,n2); ma3:=ma(c,n3); //建立多头 if ref(c,1)>ref(c,2) and ref(c,2)>ref(c,3) and ref(c,3)>ma1 then ; begin sellshort(holding<0,holding,thisclose); buy(1,1,thisclose); end 这是我的公式代码?请看看是什么情况?
|
-- 作者:jinzhe -- 发布时间:2013/6/3 13:11:33 -- 条件是什么?和预计想符合吗? |
-- 作者:qw624109280 -- 发布时间:2013/6/3 13:19:29 -- INPUT:n1(20,1,100,10); INPUT:n2(5,1,100,10); INPUT:n3(10,1,100,10); ma1:=ma(c,n1); ma2:=ma(c,n2); ma3:=ma(c,n3); //建立多头 if ref(c,1)>ref(c,2) and ref(c,2)>ref(c,3) and ref(c,3)>ma1 then ; begin sellshort(holding<0,holding,thisclose); buy(1,1,thisclose); end 这是我的公式代码?请看看是什么情况? 这个就是我的条件。
|