Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[交易系统]预计高低价系统

1楼
z7c9 发表于:2011/10/23 18:10:54

图片点击可在新窗口打开查看

 

 

runmode:0;

input:length(14);

testhigh:=(high+low+close)*2/3-low;
testlow:=(high+low+close)*2/3-high;

upperband:=ref(hhv(testhigh,length),1);
lowerband:=ref(llv(testlow,length),1);

entrylongcond:=high>=upperband;
entryshortcond:=low<=lowerband;

if holding=0 then begin
if entrylongcond then
buy(1,1,limitr,max(open,upperband));

if entryshortcond then
buyshort(1,1,limitr,min(open,lowerband));
end

if holding>0 then begin
if entryshortcond then begin
sell(1,holding,limitr,min(open,lowerband));
buyshort(1,1,limitr,min(open,lowerband));
end
end

if holding<0 then begin
if entrylongcond then begin
sellshort(1,holding,limitr,max(open,upperband));
buy(1,1,limitr,max(open,upperband));
end
end

盈亏:asset-500000,noaxis,coloryellow,linethick2;

[此贴子已经被作者于2011-10-23 18:12:04编辑过]
2楼
金玉满堂 发表于:2011/10/23 22:22:17

原理,不说原理,很难理解你这个系统的思路啊!

3楼
xiangxiang 发表于:2011/12/4 23:53:35

突破前面的预测高点或低点

共3 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.01563 s, 2 queries.