mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
95 lines
2.5 KiB
HTML
95 lines
2.5 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>Absolute Price Oscillator</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.trader-apo" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">trader_apo</h1>
|
|
<p class="verinfo">(PECL trader >= 0.2.0)</p><p class="refpurpose"><span class="refname">trader_apo</span> — <span class="dc-title">Absolute Price Oscillator</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.trader-apo-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>trader_apo</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">$slowPeriod</code></span>
|
|
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$mAType</code></span>
|
|
]]] ) : <span class="type">array</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.trader-apo-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">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">mAType</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Type of Moving Average. <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-apo-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> |