LupeCode/phpTraderInterface · TraderTrait.php
php logo
public static function trix(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_trix($real, $timePeriod);
        static::checkForError();

        return $return;
    }
Similar code snippets
1.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 86.52% · See similar code snippets
php logo
public static function trima(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_trima($real, $timePeriod);
        static::checkForError();

        return $return;
    }
2.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 81.63% · See similar code snippets
php logo
public static function max(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_max($real, $timePeriod);
        static::checkForError();

        return $return;
    }
3.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 80.84% · See similar code snippets
php logo
public static function min(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_min($real, $timePeriod);
        static::checkForError();

        return $return;
    }
4.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 80.38% · See similar code snippets
php logo
public static function sma(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_sma($real, $timePeriod);
        static::checkForError();

        return $return;
    }
5.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 80.06% · See similar code snippets
php logo
public static function maxindex(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_maxindex($real, $timePeriod);
        static::checkForError();

        return $return;
    }
6.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 79.63% · See similar code snippets
php logo
public static function minmax(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_minmax($real, $timePeriod);
        static::checkForError();

        return $return;
    }
7.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 79.02% · See similar code snippets
php logo
public static function minindex(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_minindex($real, $timePeriod);
        static::checkForError();

        return $return;
    }
8.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 78.62% · See similar code snippets
php logo
public static function dema(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_dema($real, $timePeriod);
        static::checkForError();

        return $return;
    }
9.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 78.62% · See similar code snippets
php logo
public static function wma(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_wma($real, $timePeriod);
        static::checkForError();

        return $return;
    }
10.
LupeCode/phpTraderInterface · TraderTrait.php
Match rating: 78.18% · See similar code snippets
php logo
public static function minmaxindex(array $real, int $timePeriod = null): array
    {
        $timePeriod = $timePeriod ?? 30;
        $return     = trader_minmaxindex($real, $timePeriod);
        static::checkForError();

        return $return;
    }