10-02-2019, 10:25 PM
Well its a safety for the simple coding, to have your averages right.
Ea what is a small moving average over 15 hours at the first hour ?...
Code can be extended by yourself think of the following :
While no file is available (if not fill it in memory, (ea an array) till you got your 15 hours => dump to file).
If the file is available load array of values into your counters. (there are methods to preseed tulip counters... but dont remind where i have red it).
On every update shift the values in the file as well.
Ea what is a small moving average over 15 hours at the first hour ?...
Code can be extended by yourself think of the following :
While no file is available (if not fill it in memory, (ea an array) till you got your 15 hours => dump to file).
If the file is available load array of values into your counters. (there are methods to preseed tulip counters... but dont remind where i have red it).
On every update shift the values in the file as well.
[....Resistance is futile...]