<?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>Sun, 10 May 2026 04:18:40 +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=30035</link>
      <description><![CDATA[目的：创建一个自定义数据来记录全部股票的每日外盘值，并且在日线中引用。如图：创建了DATA1，数据来源是公式WP。



其中的WP公式如下图：


日线副图的调用公式如下图：


结果显示为空白，手动刷新后依旧。请给予指导是那里有问题，万分感谢。]]></description>
      <category>指标问题</category>
      <author>张锡贵</author>
      <pubDate>Sat, 09 May 2026 17:12:35 +0000</pubDate>
    </item>
    <item>
      <title>选择</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=30011</link>
      <description><![CDATA[请教后台策略：通过股票池就某指标进行由大到小（后*名品种）选入诸多品种进入某板块，然后通过后台程序买入排在板块前面的品种，怎么编写？是直接会买入排在前面的品种，还是需要额外再加入什么代码呢？]]></description>
      <category>指标问题</category>
      <author>103637</author>
      <pubDate>Wed, 06 May 2026 14:04:07 +0000</pubDate>
    </item>
    <item>
      <title>平仓</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=30003</link>
      <description><![CDATA[请教：不想在开盘就平仓，怎么编写，后台程序，多秒周期上。]]></description>
      <category>指标问题</category>
      <author>103637</author>
      <pubDate>Wed, 06 May 2026 06:45:09 +0000</pubDate>
    </item>
    <item>
      <title>指标对应问题</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29985</link>
      <description><![CDATA[我关注到金字塔的SAR指标似乎不能直接跨周期调用，还有就是没 红色 蓝色点点之分；
假如我想写涉及到跨周期以及蓝红翻转 这个要怎么表示出来？
例如： 月线SAR是红点 ，周线的SAR红点刚变蓝点 这时开仓，
这串代码老师可以帮我写一下吗]]></description>
      <category>指标问题</category>
      <author>围城</author>
      <pubDate>Thu, 30 Apr 2026 05:30:24 +0000</pubDate>
    </item>
    <item>
      <title>引用前5分钟周期内数据的问题</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29963</link>
      <description><![CDATA[请问交易周期是5分钟周期，我想引用前5分钟K线内最后一根1分钟K线的高低点，如何实现？]]></description>
      <category>指标问题</category>
      <author>105057</author>
      <pubDate>Tue, 28 Apr 2026 02:02:48 +0000</pubDate>
    </item>
    <item>
      <title>关于两者引用的区别</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29884</link>
      <description><![CDATA[SS_00:stkindi(\'\',\'TEST-001.CC3\', 0, 3, 0),COLORGREEN, NODRAW;
SS:#TEST-001.CC3#,COLORYELLOW,NODRAW;

上面两同样是引用15分钟的仓位指标，原始模型 TEST-001 最长引用的计算单位为300个周期

如果我实盘加载后台的下单组件读取，K线数量设定1500根，两者的计 ...]]></description>
      <category>指标问题</category>
      <author>106252</author>
      <pubDate>Fri, 17 Apr 2026 13:39:57 +0000</pubDate>
    </item>
    <item>
      <title>全局变量</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29874</link>
      <description><![CDATA[你好，请问下在后台回测时给数组设置全局变量，好像用不了GLOBALVARIABLE，那么请问下在后台回测时，该怎么给数组设置全局变量？]]></description>
      <category>指标问题</category>
      <author>800180</author>
      <pubDate>Fri, 17 Apr 2026 02:03:03 +0000</pubDate>
    </item>
    <item>
      <title>表达数据</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29854</link>
      <description><![CDATA[如何在主图中的窗口表达出数据呢，这样写出来，主图界面显示的是文字，我想让它显示随时变化的数据。]]></description>
      <category>指标问题</category>
      <author>106356</author>
      <pubDate>Thu, 16 Apr 2026 03:20:22 +0000</pubDate>
    </item>
    <item>
      <title>老师请看下这个</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29849</link>
      <description><![CDATA[//江老师
涨停:=c/ref(c,1)&gt;1.095 and c=h;
r:=barssince2(涨停,todaybar);//注意这里是用最高价判断涨停的
r_t:=ref(time,r)=涨停,todaybar),todaybar);
zttime:=昨日涨停过 and 昨日涨停时间]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Wed, 15 Apr 2026 13:52:37 +0000</pubDate>
    </item>
    <item>
      <title>如何进行写代码</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29826</link>
      <description><![CDATA[在持仓的品种中，如果有长线票，不让这个平仓策略对他进行监控，如何进行策略剔除 ：比如600307，这个票是做长线，不让平仓的策略对其进行操作，怎么写？]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Mon, 13 Apr 2026 01:16:40 +0000</pubDate>
    </item>
    <item>
      <title>请写以下代码</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29810</link>
      <description><![CDATA[1、SPLITBARS  这个是除权到当前的周期数，请问，写一个除权到当前的天数等于3天。这样写对吗：SPLITBARS =3 对吗？
2、请写：当股票000905涨停时，就可买入000001股票，怎么表达？请写一下代码。
谢谢江老师]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Thu, 09 Apr 2026 10:41:33 +0000</pubDate>
    </item>
    <item>
      <title>开仓和平仓同时出现</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29784</link>
      <description><![CDATA[日线策略，走完K发单，策略里本根K上同时出现了开仓和平仓（开仓单位是1，后期可能会加仓，平仓是全部单位平），我策略写出来是既不开仓也不平仓，视同无信号，我想取得下面的结果：同时出现的话只认平仓，不认开仓，有没有语言可实现？谢谢！]]></description>
      <category>指标问题</category>
      <author>106137</author>
      <pubDate>Tue, 07 Apr 2026 12:52:39 +0000</pubDate>
    </item>
    <item>
      <title>从指定的日期开始运算</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29766</link>
      <description><![CDATA[如题：从指定的日期开始运算。请老师指导，如何书写更简洁。
条件：
]]></description>
      <category>指标问题</category>
      <author>105019</author>
<enclosure url="/forum/M2:=SMA(ACD,2,1);
" length="n1:=BARSLAST(CROSS(M1,M2));  
" type="image/jpeg" />      <pubDate>Fri, 03 Apr 2026 08:33:24 +0000</pubDate>
    </item>
    <item>
      <title>引用公式中的公式</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29760</link>
      <description><![CDATA[请问可以引用公式中的公式吗？
用stkindi
比如，公式2引用公式1，

在下单公式3中，再引用公式2，这样是可以的吗？]]></description>
      <category>指标问题</category>
      <author>106052</author>
      <pubDate>Thu, 02 Apr 2026 13:00:28 +0000</pubDate>
    </item>
    <item>
      <title>沉淀资金的函数</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29756</link>
      <description><![CDATA[请教老师，行情软件里 沉淀资金的函数怎么取得？若没有的话，怎么计算？]]></description>
      <category>指标问题</category>
      <author>106137</author>
      <pubDate>Wed, 01 Apr 2026 09:19:44 +0000</pubDate>
    </item>
    <item>
      <title>分红问题</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29729</link>
      <description><![CDATA[有无函数可以统计股票的分红数据，谢谢]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Sun, 29 Mar 2026 14:08:05 +0000</pubDate>
    </item>
    <item>
      <title>请指导</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29694</link>
      <description><![CDATA[可以写试算一个板块平均市盈率、市净率的公式吗？]]></description>
      <category>指标问题</category>
      <author>106325</author>
      <pubDate>Tue, 24 Mar 2026 13:53:32 +0000</pubDate>
    </item>
    <item>
      <title>简单代码</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29686</link>
      <description><![CDATA[你好，能帮我写一下代码吗，我这个不是用来执行下单的，是用来进行辅助判断的，就是当收盘价高于前20日或高于前55日最高点为做多信号，对K线进行符号与文字标记（用什么符号标记较好？文字标记：突破20日或突破55日），收盘价低于前20日或低于前55日最低点为做空信号， ...]]></description>
      <category>指标问题</category>
      <author>106536</author>
      <pubDate>Tue, 24 Mar 2026 03:09:09 +0000</pubDate>
    </item>
    <item>
      <title>关于变量取值问题</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29681</link>
      <description><![CDATA[假如我想设置一个变量，该变量不是固定取值，而是根据条件变化取值，比如：如果满足条件A则则变量doc:=10;,满足条件B则变量doc:=20;,满足条件C则变量doc:=30;要怎么写代码？]]></description>
      <category>指标问题</category>
      <author>106379</author>
      <pubDate>Tue, 24 Mar 2026 01:40:54 +0000</pubDate>
    </item>
    <item>
      <title>原油和布伦特油价差</title>
      <link>https://weistock.com/BBS/forum.php?mod=viewthread&amp;tid=29677</link>
      <description><![CDATA[价差05:\&quot;SC2605$CLOSE\&quot;-\&quot;CMEBLTY2605$CLOSE\&quot;*\&quot;UC05$CLOSE\&quot;;   这样写出来，附图中不显示，请帮忙看一下，哪里是错误的]]></description>
      <category>指标问题</category>
      <author>106356</author>
      <pubDate>Mon, 23 Mar 2026 07:50:37 +0000</pubDate>
    </item>
  </channel>
</rss>