mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26: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>Parabolic SAR</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.trader-sar" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">trader_sar</h1>
|
|
<p class="verinfo">(PECL trader >= 0.2.0)</p><p class="refpurpose"><span class="refname">trader_sar</span> — <span class="dc-title">Parabolic SAR</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.trader-sar-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>trader_sar</strong></span>
|
|
( <span class="methodparam"><span class="type">array</span> <code class="parameter">$high</code></span>
|
|
, <span class="methodparam"><span class="type">array</span> <code class="parameter">$low</code></span>
|
|
[, <span class="methodparam"><span class="type">float</span> <code class="parameter">$acceleration</code></span>
|
|
[, <span class="methodparam"><span class="type">float</span> <code class="parameter">$maximum</code></span>
|
|
]] ) : <span class="type">array</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.trader-sar-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">high</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
高价,浮点数数组。
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">low</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
低价,浮点数数组。
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">acceleration</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Acceleration Factor used up to the Maximum value. Valid range from 0 to <a href="trader.constants.html#constant.trader-real-max" class="link">TRADER_REAL_MAX</a>.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">maximum</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Acceleration Factor Maximum value. Valid range from 0 to <a href="trader.constants.html#constant.trader-real-max" class="link">TRADER_REAL_MAX</a>.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.trader-sar-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> |