<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>金字塔决策交易系统 - 指标问题</title>
    <link>https://www.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, 24 Aug 2026 08:52:11 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.weistock.com/bbs/static/image/common/logo_88_31.gif</url>
      <title>金字塔决策交易系统</title>
      <link>https://www.weistock.com/bbs/</link>
    </image>
    <item>
      <title>请写个财务指标公式</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30927</link>
      <description><![CDATA[关于净资产收益率的求法，在金字塔的函数中，不知哪个对：1、finance(33)/finance(34)*100%  ，这样写对吗？2、怎么写出今年的比去年的大]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Mon, 24 Aug 2026 05:07:18 +0000</pubDate>
    </item>
    <item>
      <title>除权除息价-请老师写个指标</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30900</link>
      <description><![CDATA[请老师给写一个，分红除权价向右画一条水平线，写这样一个画线指标。]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Thu, 20 Aug 2026 08:54:10 +0000</pubDate>
    </item>
    <item>
      <title>每天限定交易次数</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30894</link>
      <description><![CDATA[每天限定交易次数如何实现？图表和后台]]></description>
      <category>指标问题</category>
      <author>103897</author>
      <pubDate>Thu, 20 Aug 2026 06:10:55 +0000</pubDate>
    </item>
    <item>
      <title>设计一个撤委托单，并马上平仓公式</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30893</link>
      <description><![CDATA[想设计一个撤掉平空单的委托单，并马上市场价平仓，但发现没起作用，请班助帮忙看看
同一个公式内：

if c&gt;0 and currenttime&gt;=100000  THEN
BEGIN
]]></description>
      <category>指标问题</category>
      <author>106052</author>
<enclosure url="/forum/END
" length="

if c>0 and currenttime>=100001 then
BEGIN
" type="image/jpeg" />      <pubDate>Thu, 20 Aug 2026 03:34:25 +0000</pubDate>
    </item>
    <item>
      <title>资产负债率的函数找不到</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30848</link>
      <description><![CDATA[资产负债率的函数找不到，请老师给写下：资产负债率小于50%]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Mon, 17 Aug 2026 08:16:58 +0000</pubDate>
    </item>
    <item>
      <title>实现7个选股条件</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30845</link>
      <description><![CDATA[请写出：1、连续十年不间断分红，2、近三年的股息率均大于3%。3、上市公司的分红额连续三年上长。4、公司的扣非利润连续三年均为正。5、股利率大于30%。6、资产负债率]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Mon, 17 Aug 2026 06:59:25 +0000</pubDate>
    </item>
    <item>
      <title>分红数据问题</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30835</link>
      <description><![CDATA[老师好：可以用代码获取分红时的股价及到现在的周期数吗？请老师给写一下]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Mon, 17 Aug 2026 03:17:38 +0000</pubDate>
    </item>
    <item>
      <title>金字塔软件交易ETF比如510300的交易费率是怎么设置？</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30796</link>
      <description><![CDATA[我感觉在这里设置好像没有用，我想根据成交额设置交易费率，但是设置了还是没有改变（我说的图表上），到底应该修改哪里的设置才会变动？下面是我的核对手续费的代码

[mw_shl_code=pel,true]//------核对手续费
if barpos=1 then begin
buy(1,0,limitr,c);
sell(1 ...]]></description>
      <category>指标问题</category>
      <author>103769</author>
      <pubDate>Tue, 11 Aug 2026 06:12:25 +0000</pubDate>
    </item>
    <item>
      <title>日盘开盘和夜盘开盘的跳空幅度如何计算？</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30795</link>
      <description><![CDATA[后台程序1.取前一个交易日最后bar收盘价和当日开盘第一个bar的开盘价跳空幅度如何计算？15:00收盘对21:00开盘的跳空幅度？
2.取夜盘交易日最后bar和当日9:00日盘开盘第一个bar的跳空幅度如何计算？夜盘收盘（23.00/2:30 对 09:00）的跳空幅度？]]></description>
      <category>指标问题</category>
      <author>105057</author>
      <pubDate>Tue, 11 Aug 2026 04:22:39 +0000</pubDate>
    </item>
    <item>
      <title>变相参数寻优的输出问题</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30766</link>
      <description><![CDATA[下面公式是希望通过循环运行参数组合，得到模拟收益率最高时的那组参数值，但未能输出值，求优化，谢谢！
//得到月线最高价与最低价，作为循环的边界值
HH1:=CALLSTOCK(\'\', VTHIGH, 8, 0);
LL1:=CALLSTOCK(\'\', VTLOW, 8, 0);
//取整，以方便循环时使用
hh:=intpart ...]]></description>
      <category>指标问题</category>
      <author>103789</author>
      <pubDate>Fri, 07 Aug 2026 05:50:45 +0000</pubDate>
    </item>
    <item>
      <title>持仓量用什么函数？</title>
      <link>https://www.weistock.com/bbs/forum.php?mod=viewthread&amp;tid=30737</link>
      <description><![CDATA[我想调用持仓量的变化，OPI 但是显示金字塔没有OPI 函数可供调用  我应该用什么方法调用？]]></description>
      <category>指标问题</category>
      <author>围城</author>
      <pubDate>Tue, 04 Aug 2026 05:53:22 +0000</pubDate>
    </item>
    <item>
      <title>求代码</title>
      <link>https://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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>
  </channel>
</rss>