php8.5
Home/ Manual/ trader / functions/ trader_midprice

trader_midprice

PHP function Edit on GitHub ✎

(PECL trader >= 0.2.0)

Midpoint Price over period

Description

trader_midprice(array $high, array $low, [int $timePeriod]): array

Parameters

high

High

low

Low

timePeriod

Period

Return Values

Returns an array with calculated data or false on failure.

Source: reference/trader/functions/trader-midprice.xml · from the official PHP manual (php/doc-en)