mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-10-11 08:53:20 +08:00
v0.0.2
This commit is contained in:
@@ -1,134 +1,134 @@
|
||||
<!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>MACD with controllable MA type</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.trader-macdext" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">trader_macdext</h1>
|
||||
<p class="verinfo">(PECL trader >= 0.2.0)</p><p class="refpurpose"><span class="refname">trader_macdext</span> — <span class="dc-title">MACD with controllable MA type</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.trader-macdext-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>trader_macdext</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">$fastPeriod</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$fastMAType</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$slowPeriod</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$slowMAType</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$signalPeriod</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$signalMAType</code></span>
|
||||
]]]]]] ) : <span class="type">array</span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.trader-macdext-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">real</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
浮点数数组。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">fastPeriod</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Number of period for the fast MA. Valid range from 2 to 100000.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">fastMAType</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Type of Moving Average for fast MA. <a href="trader.constants.html" class="link">TRADER_MA_TYPE_*</a> series of constants should be used.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">slowPeriod</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Number of period for the slow MA. Valid range from 2 to 100000.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">slowMAType</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Type of Moving Average for slow MA. <a href="trader.constants.html" class="link">TRADER_MA_TYPE_*</a> series of constants should be used.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">signalPeriod</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Smoothing for the signal line (nb of period). Valid range from 1 to 100000.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">signalMAType</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Type of Moving Average for signal line. <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-macdext-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">Returns an array with calculated data or false on failure.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!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>MACD with controllable MA type</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.trader-macdext" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">trader_macdext</h1>
|
||||
<p class="verinfo">(PECL trader >= 0.2.0)</p><p class="refpurpose"><span class="refname">trader_macdext</span> — <span class="dc-title">MACD with controllable MA type</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.trader-macdext-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>trader_macdext</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">$fastPeriod</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$fastMAType</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$slowPeriod</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$slowMAType</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$signalPeriod</code></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$signalMAType</code></span>
|
||||
]]]]]] ) : <span class="type">array</span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.trader-macdext-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">real</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
浮点数数组。
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">fastPeriod</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Number of period for the fast MA. Valid range from 2 to 100000.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">fastMAType</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Type of Moving Average for fast MA. <a href="trader.constants.html" class="link">TRADER_MA_TYPE_*</a> series of constants should be used.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">slowPeriod</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Number of period for the slow MA. Valid range from 2 to 100000.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">slowMAType</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Type of Moving Average for slow MA. <a href="trader.constants.html" class="link">TRADER_MA_TYPE_*</a> series of constants should be used.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">signalPeriod</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Smoothing for the signal line (nb of period). Valid range from 1 to 100000.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">signalMAType</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Type of Moving Average for signal line. <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-macdext-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>
|
Reference in New Issue
Block a user