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

trader_atr

PHP function Edit on GitHub ✎

(PECL trader >= 0.2.0)

Average True Range

Description

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

Parameters

high

High

low

Low

close

Close

timePeriod

Period

Return Values

Returns an array with calculated data or false on failure.

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