Viewing File: /opt/alt/tests/alt-php80-pecl-trader_0.5.1-1.el8/tests/trader_t3_bug62698.phpt
--TEST--
trader_t3() to high time period
--SKIPIF--
<?php
if (!extension_loaded("trader")) die("skip");
--FILE--
<?php
$close = array ( 568.1, 589.58, 585.56, 585.57,
601.1, 605.96, 602.5, 599.34, 596.05, 606.98,
614.48, 617.62, 609.86, 599.55, 618.63,
629.32, 624.31, 633.68, 636.23, 628.44, 626.2,
622.77, 605.23, 580.13, 609.7, 608.34,
587.44, 572.98, 571.7, 560.28, 610, 607.7,
603, 583.98, 582.13, 585.98, 581.82, 565.25,
569.48, 568.18, 569.18, 570.52, 566.71,
558.22, 553.17, 546.08, 530.12, 530.38,
561.28, 556.97, 570.56, 565.32, 562.29, 572.27,
579.17, 577.73, 560.99, 564.29, 562.83,
571.46, 571.72, 580.32, 571.17, 576.16,
572.16, 571.53, 574.13, 585.78, 587.41, 585.74,
577.67, 582.1, 570.77, 572.03, 574.5,
569.05, 584 );
var_dump(trader_t3($close, 20));
--EXPECT--
bool(false)
Back to Directory
File Manager
<