以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  交易策略发布专区  (http://weistock.com/bbs/list.asp?boardid=10)
----  [原创]ETF定投策略  (http://weistock.com/bbs/dispbbs.asp?boardid=10&id=50192)

--  作者:z7c9
--  发布时间:2013/3/25 10:41:58
--  [原创]ETF定投策略

runmode:0;

money:=5000;

lots:=intpart(money/open/volunit)*volunit;

monthbars:=barslast(month>ref(month,1));

entrylongcond:=monthbars=0;

if holding>=0 then begin
 if entrylongcond then
  buy(1,lots,limitr,open);
end

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


图片点击可在新窗口打开查看此主题相关图片如下:ttt.png
图片点击可在新窗口打开查看