mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
108 lines
2.8 KiB
HTML
108 lines
2.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>Stochastic Relative Strength Index</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.trader-stochrsi" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">trader_stochrsi</h1>
|
|
<p class="verinfo">(PECL trader >= 0.2.0)</p><p class="refpurpose"><span class="refname">trader_stochrsi</span> — <span class="dc-title">Stochastic Relative Strength Index</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.trader-stochrsi-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>trader_stochrsi</strong></span>
|
|
( <span class="methodparam"><span class="type">array</span> <code class="parameter">$real</code></span>
|
|
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$timePeriod</code></span>
|
|
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$fastK_Period</code></span>
|
|
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$fastD_Period</code></span>
|
|
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$fastD_MAType</code></span>
|
|
]]]] ) : <span class="type">array</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.trader-stochrsi-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">real</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
浮点数数组。
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">timePeriod</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Number of period. Valid range from 2 to 100000.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">fastK_Period</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Time period for building the Fast-K line. Valid range from 1 to 100000.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">fastD_Period</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Smoothing for making the Fast-D line. Valid range from 1 to 100000, usually set to 3.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">fastD_MAType</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Type of Moving Average for Fast-D. <a href="trader.constants.html" class="link">TRADER_MA_TYPE_*</a> series of constants should be used.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.trader-stochrsi-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">Returns an array with calculated data or false on failure.</p>
|
|
</div>
|
|
|
|
|
|
|
|
</div></div></div></body></html> |