<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>脚本君-专注合约短线交易体系 - T语言指标编写</title>
    <link>https://www.ususdt.com/forum-41-1.html</link>
    <description>Latest 20 threads of T语言指标编写</description>
    <copyright>Copyright(C) 脚本君-专注合约短线交易体系</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 10 May 2026 12:27:53 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.ususdt.com/static/image/common/logo_88_31.gif</url>
      <title>脚本君-专注合约短线交易体系</title>
      <link>https://www.ususdt.com/</link>
    </image>
    <item>
      <title>关于指标中的值显示参数</title>
      <link>https://www.ususdt.com/thread-74-1-1.html</link>
      <description><![CDATA[例如下图中，我写了几条WR线的指标，在指标画线代码段中使用了

用来屏蔽画线名称和值的显示，但是按照以往这样的写法，会出现无法屏蔽的情况，甚至鼠标离开指标图区域，所有的值都会显示出来
鼠标在指标区域：

鼠标离开指标区域：


此时需要将
改为


显示就正常了

 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 12 Apr 2023 01:53:50 +0000</pubDate>
    </item>
    <item>
      <title>爱交易内置指标解读（BOLL）</title>
      <link>https://www.ususdt.com/thread-66-1-1.html</link>
      <description><![CDATA[以上便是BOLL指标的逐行注释。布林带指标常用于股票、期货等交易市场中，用于判断股价或商品价格是否处于高位或低位，辅助投资者进行交易决策。

下面是针对每行代码做了详细的解读，让新手可以看懂每行代码的每个字段分别是什么意思，都有什么作用

下面是BOLL指标的实 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Sat, 18 Mar 2023 11:38:44 +0000</pubDate>
    </item>
    <item>
      <title>爱交易内置指标解读（MACD）</title>
      <link>https://www.ususdt.com/thread-65-1-1.html</link>
      <description><![CDATA[这段代码是使用TScript编写的一个MACD指标，用于在爱交易平台上绘制MACD指标图表，用于爱交易平台上的技术分析。


该指标通过计算快线EMA(short)和慢线EMA(long)之间的差异(dif)，以及根据dif的移动平均线EMA(signal)计算出MACD柱状图(bar)。
其中，MACD柱状图的颜色和 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 15 Mar 2023 06:10:37 +0000</pubDate>
    </item>
    <item>
      <title>爱交易内置指标解读（MA组合）</title>
      <link>https://www.ususdt.com/thread-64-1-1.html</link>
      <description><![CDATA[这段代码是使用TScript编写的一个多条移动平均线指标，用于在爱交易平台上绘制多条不同长度的移动平均线，以便更好地分析市场趋势。

下面是代码中各个变量的含义：



这段代码可以用于在爱交易平台上绘制多条不同长度的移动平均线指标，帮助交易者更好地分析市场趋势 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 15 Mar 2023 06:03:22 +0000</pubDate>
    </item>
    <item>
      <title>爱交易内置指标解读（MA）</title>
      <link>https://www.ususdt.com/thread-63-1-1.html</link>
      <description><![CDATA[这段代码是使用TScript编写的一个简单的移动平均线指标，用于在爱交易平台上绘制指定长度的移动平均线。下面是代码中各个变量的含义：



下面是对简单的移动平均线指标代码的逐行注释解读：

其中，ma()函数用于计算移动平均线，其格式为：

其中，source表示数据来 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 15 Mar 2023 05:58:59 +0000</pubDate>
    </item>
    <item>
      <title>输入框值为负数时的函数写法，避免调用指标时默认值显示0</title>
      <link>https://www.ususdt.com/thread-26-1-1.html</link>
      <description><![CDATA[正常的输入框写法为
但是当默认值小于0，指标添加到爱交易客户端后，点开设置，默认显示为0



解决办法：增加数值最大最小范围，代码如下]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 10 Aug 2022 06:47:36 +0000</pubDate>
    </item>
    <item>
      <title>关于一个CCI指标拐点的实现思路</title>
      <link>https://www.ususdt.com/thread-25-1-1.html</link>
      <description><![CDATA[思路：
想着用一个单线指标来实现拐点判断，当出现拐点的时候，在主图做出提示
目前最适合用的就是CCI平滑后的拐点
先实现CCI平滑


我在平滑处理时用了二次平滑，能让走势忽略更多小拐点

然后写拐点判断

先列出所有cci平滑后小于-100和大于100的数值区域，然后连续四 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 10 Aug 2022 06:46:20 +0000</pubDate>
    </item>
    <item>
      <title>爱交易提醒脚本编写示例</title>
      <link>https://www.ususdt.com/thread-24-1-1.html</link>
      <description><![CDATA[爱交易新版发布后，对提醒功能做了完善，提醒功能可以通过新增提醒中设置配置提醒，也可以自己写提醒脚本，下面是一个提醒脚本的编写示例]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 10 Aug 2022 06:43:30 +0000</pubDate>
    </item>
    <item>
      <title>爱交易drawText使用Unicode图标美化提示信号</title>
      <link>https://www.ususdt.com/thread-23-1-1.html</link>
      <description><![CDATA[以往，在爱交易看到的买卖文字提示都是长这样子的




但是这样真的不太好看，股市软件里有很多图标可以使用，那么爱交易支持么？
答案是肯定的
爱交易支持Unicode图标，而你只需要在写文字提示的时候，把文字用Unicode图标来表示就好了

Unicode图标可以从以下网站获取 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 10 Aug 2022 06:42:37 +0000</pubDate>
    </item>
    <item>
      <title>关于线的五种类型表达方式</title>
      <link>https://www.ususdt.com/thread-20-1-1.html</link>
      <description><![CDATA[line 直线
dashline 虚线
dotline 点状线
stickline 棒状线
histogram 柱状线]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 10 Aug 2022 06:40:07 +0000</pubDate>
    </item>
    <item>
      <title>关于线的五种类型表达方式</title>
      <link>https://www.ususdt.com/thread-19-1-1.html</link>
      <description><![CDATA[line 直线
dashline 虚线
dotline 点状线
stickline 棒状线
histogram 柱状线]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 10 Aug 2022 06:40:07 +0000</pubDate>
    </item>
    <item>
      <title>以基本指标StochRSI为例构建自己的交易系统</title>
      <link>https://www.ususdt.com/thread-18-1-1.html</link>
      <description><![CDATA[1、了解指标及计算方式
Stoch RSI（Stochastic Relative Strength Index）结合了两种非常流行的技术分析指标，随机指标KDJ和相对强弱指标RSI。KDJ指标和RSI指标是基于价格计算得出的，而Stoch RSI是基于价格的RSI指标得出的；换句话说，就是把KDJ指标用在RSI指标上计算 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 10 Aug 2022 06:39:22 +0000</pubDate>
    </item>
    <item>
      <title>自定义K线效果-爱交易K线颜色自定义方法分享</title>
      <link>https://www.ususdt.com/thread-16-1-1.html</link>
      <description><![CDATA[其实更换K线颜色就是重构了了下K线而已，看到有币友有这块需求，随手改了个主图指标，专门用于修改K线颜色。重构K线有两种思路，一种是使用系统内置的绘制蜡烛图drawCandle函数，一种是自己画


使用系统内置的函数drawCandle


不使用系统内置的函数


 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 10 Aug 2022 06:35:43 +0000</pubDate>
    </item>
    <item>
      <title>【副图】CCI指标改良版T-LANG实现笔记</title>
      <link>https://www.ususdt.com/thread-15-1-1.html</link>
      <description><![CDATA[CCI指标被誉为行情走势中唯一真实指标，也被称唯一不会钝化指标，所以很多人都喜欢用CCI指标做单，为了能让大家用到好用的CCI指标，并且了解指标实现过程，特写了此篇笔记分享，如有更好的完善建议可留言。

CCI（Commodity Channel Index）是专门衡量价格是否超出常态 ...]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Wed, 10 Aug 2022 06:30:58 +0000</pubDate>
    </item>
    <item>
      <title>T语言标准库文档</title>
      <link>https://www.ususdt.com/thread-1-1-1.html</link>
      <description><![CDATA[T语言标准库文档，用于查询T语言内置函数及用法

https://aijiaoyi.xyz/t-lang-doc/]]></description>
      <category>T语言指标编写</category>
      <author>ususdt</author>
      <pubDate>Sat, 30 Jul 2022 06:56:25 +0000</pubDate>
    </item>
  </channel>
</rss>