note 125909 added to function.trader-adx
| From: | tl4gvx29ku39 at opayq dot com | Date: | Thu, 11 Mar 2021 15:54:40 +0000 |
| Subject: | note 125909 added to function.trader-adx | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219229@lists.php.net to get a copy of this message | ||
After hours of trial and error, I feel fairly confident the adx function works like many others.
Insert a block(s) of ohlc data and set a time period for an output.
For example, I am using 48 30-min blocks of ohlc data (1 day). But I wanted the indicators true to
design (adx is usually 14 periods) so I would trim the data to 14 periods in and set timePeriods=14
and get errors. No need to do all that. Put the entire 48 period array(s) in and set the period to
14 (or whatever you like). The output is close to online sources. The function will use the last 14
periods or whatever you set to generate the correct output.
The best/closest I can find for a manual to these functions is located tulipindicators dot org which
you can test using excel with a free plugin at tulipcell dot org.
I was able to pull my historical indicator data generated with these functions and was able to
recreate the numbers which matched closely to online trading platforms.
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.246 (proxied: 2603:3001:2ba0:c000:d937:f707:dafb:1a8a)
----
Manual Page -- http://php.net/manual/en/function.trader-adx.php
Edit -- https://master.php.net/note/edit/125909
Del: integrated -- https://master.php.net/note/delete/125909/integrated
Del: useless -- https://master.php.net/note/delete/125909/useless
Del: bad code -- https://master.php.net/note/delete/125909/bad+code
Del: spam -- https://master.php.net/note/delete/125909/spam
Del: non-english -- https://master.php.net/note/delete/125909/non-english
Del: in docs -- https://master.php.net/note/delete/125909/in+docs
Del: other reasons-- https://master.php.net/note/delete/125909
Reject -- https://master.php.net/note/reject/125909
Search -- https://master.php.net/manage/user-notes.php