Next step is to create the directory structures /rtm/delta/doc/ephemeris/jpl/, /rtm/delta/trendlines/d/ and /rtm/delta/data/d/ - the first is required, the last two are optional, but recommended if you want to get the output written properly.
Alternatively, you can change the source program.
Compile the program with: gcc -g -c bradley.c; gcc -o bradley bradley.o
Put the program in your PATH somewhere handy.
Put the ephemeris files in /rtm/delta/doc/ephemeris/jpl/ (these files will all have extensions ".csv"). Do this as follows:
cd /rtm/delta/doc/ephemeris/jpl/
gzip -dc < <Directory you downloaded it to>/ephemeris.tar.gz | tar xvf -
mv ephemeris/* .
Run it as follows: bradley >/rtm/data/d/__bradley
The data file created with it will look like this:
1000101 -14.9711
1000102 -14.7747
1000103 -13.9552
1000104 -13.3484
1000105 -14.118
1000106 -17.3238
1000107 -20.8917
1000108 -24.4535
1000109 -27.2527
1000110 -30.4737
The first field of each line is the date in 1900-relative YYMMDD format. The first line above is for 1 Jan 2000. The end of the file contains formatting instructions for my charting program:
#AT1 /M=?/$(pole)10-Dec
#AT2 1241210
#AT3 62.3214
These instructions say to draw a "pole" at 10 December 2024 at a "price" of 62.3214.
You can probably input the file into a charting program up to the first line containing a # sign in the first column.