<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>金字塔决策交易系统 - 指标问题</title>
    <link>https://weistock.com/bbs/forum.php?mod=forumdisplay&amp;fid=42</link>
    <description>Latest 20 threads of 指标问题</description>
    <copyright>Copyright(C) 金字塔决策交易系统</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Mon, 03 Aug 2026 08:36:24 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://weistock.com/bbs/static/image/common/logo_88_31.gif</url>
      <title>金字塔决策交易系统</title>
      <link>https://weistock.com/bbs/</link>
    </image>
    <item>
      <title>求代码</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30712</link>
      <description><![CDATA[最近一次（平仓：平空/平多）历时指数：要求没有平仓时返回0，平仓后返回1]]></description>
      <category>指标问题</category>
      <author>103897</author>
      <pubDate>Fri, 31 Jul 2026 03:46:24 +0000</pubDate>
    </item>
    <item>
      <title>后台程序如何区分判断夜盘和日盘损失次数？</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30641</link>
      <description><![CDATA[后台程序如何区分判断夜盘和日盘损失次数？ 后台日内交易，我需要锁定夜盘最大损失次数3次，全天最大损失次数5次，请问如何编写？]]></description>
      <category>指标问题</category>
      <author>105057</author>
      <pubDate>Fri, 24 Jul 2026 01:09:52 +0000</pubDate>
    </item>
    <item>
      <title>指标问题无法实现</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30613</link>
      <description><![CDATA[variable:a_line:=0;
a_line:=(high-ref(low,1))*cci*ref(a_line,1)-length*ref(a_line,5);


这里的a_line无法实现，该怎么办？
备注：cci是自己写的指标。]]></description>
      <category>指标问题</category>
      <author>103782</author>
      <pubDate>Sun, 19 Jul 2026 08:27:06 +0000</pubDate>
    </item>
    <item>
      <title>金字塔有通达信这个函数，可以对应的函数吗？</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30577</link>
      <description><![CDATA[用法:
 FINDHIGH(VAR,N,M,T):VAR在N日前的M天内第T个最高价，如果没有，我要编写，应该怎样编一个类似的？这里N=0,M=240,KN=19,谢谢]]></description>
      <category>指标问题</category>
      <author>103935</author>
      <pubDate>Tue, 14 Jul 2026 08:42:59 +0000</pubDate>
    </item>
    <item>
      <title>关于下面的几个指标</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30566</link>
      <description><![CDATA[是否是带有未来函数的？胜率超90%以上]]></description>
      <category>指标问题</category>
      <author>106252</author>
      <pubDate>Mon, 13 Jul 2026 01:55:31 +0000</pubDate>
    </item>
    <item>
      <title>请问我这样表述的下单映射为何会失败？</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30557</link>
      <description><![CDATA[我加载在国债期货连续合约上的，希望跳过主力合约 下单在国债1212合约上 为何如下表达还依然会直接下单在主力合约 并且没有完成清仓动作呢？
//平空单并且开对冲多单

TSELLSHORT(开多锁空仓&gt;0 and TSELLHOLDINGEX(\'\',\'TL12\',1)&gt;0 ,0,mkt,\'\',\'TL12\');

Tbuy(开多锁 ...]]></description>
      <category>指标问题</category>
      <author>105190</author>
      <pubDate>Fri, 10 Jul 2026 03:12:32 +0000</pubDate>
    </item>
    <item>
      <title>本地文件读取</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30549</link>
      <description><![CDATA[这个已经读取到持仓信息了，但是就是读取不到文档里的文件信息，KCHENGBEN，KAICSJ，FLAG_K，ZJMKBJ，ZSKJG这个五个都读取不到数值，这是什么原因？]]></description>
      <category>指标问题</category>
      <author>800180</author>
      <pubDate>Thu, 09 Jul 2026 02:34:52 +0000</pubDate>
    </item>
    <item>
      <title>如何横向统计全市场股票的信号数量</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30445</link>
      <description><![CDATA[因单只股票的信号数量太少，想统计全市场的macd的金叉买入信号，与死叉卖出信号数量和总和，这要如何写才能遍历到全市场的股票，统计全市场历史信号的总数？]]></description>
      <category>指标问题</category>
      <author>103789</author>
      <pubDate>Wed, 24 Jun 2026 11:15:16 +0000</pubDate>
    </item>
    <item>
      <title>VARIABLE函数问题</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30439</link>
      <description><![CDATA[VARIABLE: PIERCE_HI=0, PIERCE_LO=99999;

    { 穿透追踪——EXTGBDATASET 在 IF 内写入 }
    IF HIGH &gt; PIERCE_HI THEN BEGIN
        PIERCE_HI := HIGH;
        EXTGBDATASET(\'PIERCE_HI\', PIERCE_HI);
    END
    IF LOW &lt; PIERCE_LO THEN BEGIN
     ...]]></description>
      <category>指标问题</category>
      <author>围城</author>
      <pubDate>Wed, 24 Jun 2026 01:52:43 +0000</pubDate>
    </item>
    <item>
      <title>用户自定义板块的问题</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30427</link>
      <description><![CDATA[是否行业牛股:= INBLOCK(\'行业牛股\');
比如我新建了一个用户自定义板块叫做：行业牛股，然后我在后台程序化策略，要判断当前持仓的股票是否处于这个板块中，用上面这个函数 INBLOCK 可以吗？]]></description>
      <category>指标问题</category>
      <author>1201</author>
      <pubDate>Tue, 23 Jun 2026 01:39:00 +0000</pubDate>
    </item>
    <item>
      <title>请问怎么设置1个公式中下单多次？</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30406</link>
      <description><![CDATA[我知道公式中的下单只有1次，可以设置多次下单吗？

比如14:56下单一次，14:58再次下单一次，可以实现吗？]]></description>
      <category>指标问题</category>
      <author>106052</author>
      <pubDate>Sun, 21 Jun 2026 01:33:46 +0000</pubDate>
    </item>
    <item>
      <title>全市场股票筛选</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30376</link>
      <description><![CDATA[如和在图标回测代码中编写，要求市值大于100亿以上，非ST的股票进入交易标的范围？图表开平仓选择回测的时候，好像需要一个一个选择，有没有办法直接一次性选择上证和深证，创业版的股票？]]></description>
      <category>指标问题</category>
      <author>800180</author>
      <pubDate>Wed, 17 Jun 2026 07:18:30 +0000</pubDate>
    </item>
    <item>
      <title>指标不一致问题</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30241</link>
      <description><![CDATA[我回头看今天上午9.00开市的时候 是达标的应该开仓的，但是策略没开仓，我打开我的debug记录的：2026-06-01 22:59:58.736    1260602 30000 2026-06-02 09:04:34.675    1260602 130500 
这两个是挨着的，怎么直接跳到9.04分了呢？ 问题出现在哪呢]]></description>
      <category>指标问题</category>
      <author>围城</author>
      <pubDate>Wed, 03 Jun 2026 06:30:37 +0000</pubDate>
    </item>
    <item>
      <title>指标取值问题</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30217</link>
      <description><![CDATA[阳下浮:(OPEN-LOW)/REF(CLOSE,1)*100;
请问只取k线为阳线时“阳下浮”的值，并在指标副图上可以显示出来，要怎么写代码？]]></description>
      <category>指标问题</category>
      <author>106379</author>
      <pubDate>Mon, 01 Jun 2026 05:18:48 +0000</pubDate>
    </item>
    <item>
      <title>开仓后的价格记录和K线数量</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30183</link>
      <description><![CDATA[日线周期：1、首次开仓后的最高价怎么记录？（有加仓但只记录第一次开底仓后到今日的最高价）；2、首次开仓所在K线 到今日K线的K线数量怎么记录？（有加仓但只记录首次开底仓后的K线数量）]]></description>
      <category>指标问题</category>
      <author>106137</author>
      <pubDate>Fri, 29 May 2026 01:11:01 +0000</pubDate>
    </item>
    <item>
      <title>跨周期引用但是没触发</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30158</link>
      <description><![CDATA[F1:=STKINDI(\'\',\'MY_test.DA_F2\',0,3,-1);
F2:=STKINDI(\'\',\'MY_test.DA_R2\',0,3,-1);
 这串代码是调用的15分钟的平仓条件，我看了日志，确实是触发这个平仓条件了，但是却是在上午10.10分的时候平的，这里用的-1，按理说不应该在10.10分的时候进行平仓，这是为什么？ ...]]></description>
      <category>指标问题</category>
      <author>围城</author>
      <pubDate>Tue, 26 May 2026 02:31:45 +0000</pubDate>
    </item>
    <item>
      <title>DEBUGFILE函数使用问题</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30141</link>
      <description><![CDATA[我用 DEBUGFILE函数想写入到电脑里，但是一直用不了，例如
ATRMA:=MA(ATR14,20);
DEBUGFILE(\'C:/Users/13187/Desktop/debug_atrma.txt\', TIME, ATRMA);

一直没写到本地，请问问题出在哪里呢]]></description>
      <category>指标问题</category>
      <author>围城</author>
      <pubDate>Fri, 22 May 2026 07:14:34 +0000</pubDate>
    </item>
    <item>
      <title>资金曲线</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30104</link>
      <description><![CDATA[帐户的资产如何像K线样显示（不是用：asset,noaxis;）]]></description>
      <category>指标问题</category>
      <author>106152</author>
      <pubDate>Tue, 19 May 2026 07:01:19 +0000</pubDate>
    </item>
    <item>
      <title>如何提升多账号下单语句的维护便捷性</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30091</link>
      <description><![CDATA[如何提升多账号下单语句的维护便捷性，比如我开仓和平仓，各有很多条件，而需要精确控制每个仓位的开仓数量和平仓数量。这样每个开仓语句和平仓语句都需要根据账户的数量写多行。
但是以后如果要对这个策略增加账户或者减少账户，都需要大量的修改代码，有没有什么好的 ...]]></description>
      <category>指标问题</category>
      <author>1201</author>
      <pubDate>Mon, 18 May 2026 06:57:14 +0000</pubDate>
    </item>
    <item>
      <title>机构版如何获取指定账户的数据函数</title>
      <link>https://weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30063</link>
      <description><![CDATA[机构版如何获取指定账户的数据函数，我需要在代码中对指定账户的仓位做独立控制。因此需要获取到指定账户的相关数据，需要兼容性最好且稳定的你们官方推荐使用的函数：
【股票类】：

1、指定账户的 股票总资金：
2、指定账户的 股票可用资金：
3、指定账户的 某只 ...]]></description>
      <category>指标问题</category>
      <author>1201</author>
      <pubDate>Thu, 14 May 2026 06:02:28 +0000</pubDate>
    </item>
  </channel>
</rss>