打印本文打印本文 关闭窗口关闭窗口

时间约束

作者:金字塔 来源:cxh99.com 发布时间:2016年04月25日
  • 咨询内容: 请问我想做时间约束 比如每个月的第三周才做交易 该如何表示?

     

  • 金字塔客服:

    variable:n=0;
    if month<>ref(month,1) then n:=0;

    if weekday<ref(WEEKDAY,1) then n:=1;

    if n>3 then 开仓语句;

打印本文打印本文 关闭窗口关闭窗口