<?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, 17 Aug 2026 07:30:43 +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=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://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://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://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://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://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://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>
  </channel>
</rss>