mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 13:57:03 +08:00
173 lines
5.2 KiB
HTML
173 lines
5.2 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 - Extended</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.trader-sarext" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">trader_sarext</h1>
|
|
<p class="verinfo">(PECL trader >= 0.2.0)</p><p class="refpurpose"><span class="refname">trader_sarext</span> — <span class="dc-title">Parabolic SAR - Extended</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.trader-sarext-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>trader_sarext</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">$startValue</code></span>
|
|
[, <span class="methodparam"><span class="type">float</span> <code class="parameter">$offsetOnReverse</code></span>
|
|
[, <span class="methodparam"><span class="type">float</span> <code class="parameter">$accelerationInitLong</code></span>
|
|
[, <span class="methodparam"><span class="type">float</span> <code class="parameter">$accelerationLong</code></span>
|
|
[, <span class="methodparam"><span class="type">float</span> <code class="parameter">$accelerationMaxLong</code></span>
|
|
[, <span class="methodparam"><span class="type">float</span> <code class="parameter">$accelerationInitShort</code></span>
|
|
[, <span class="methodparam"><span class="type">float</span> <code class="parameter">$accelerationShort</code></span>
|
|
[, <span class="methodparam"><span class="type">float</span> <code class="parameter">$accelerationMaxShort</code></span>
|
|
]]]]]]]] ) : <span class="type">array</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.trader-sarext-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">startValue</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Start value and direction. 0 for Auto, >0 for Long, <0 for Short. Valid range from <a href="trader.constants.html#constant.trader-real-min" class="link">TRADER_REAL_MIN</a> to <a href="trader.constants.html#constant.trader-real-max" class="link">TRADER_REAL_MAX</a>.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">offsetOnReverse</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Percent offset added/removed to initial stop on short/long reversal. 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">accelerationInitLong</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Acceleration Factor initial value for the Long direction. 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">accelerationLong</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Acceleration Factor for the Long direction. 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">accelerationMaxLong</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Acceleration Factor maximum value for the Long direction. 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">accelerationInitShort</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Acceleration Factor initial value for the Short direction. 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">accelerationShort</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Acceleration Factor for the Short direction. 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">accelerationMaxShort</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
Acceleration Factor maximum value for the Short direction. 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-sarext-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> |