1. Go to this page and download the library: Download romulodl/do library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
romulodl / do example snippets
$do = new Romulodl\DonchianOscillator();
$do->calculate(array $hlc_values, int $period = 30, int $signal_period = 9) : array;
// return array [Donchian Oscillator value, Signal Line Value]