How to stop and then re-run a strategy without re-warming up
#2
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.
[....Resistance is futile...]
  Reply


Messages In This Thread
RE: How to stop and then re-run a strategy without re-warming up - by PGTART - 10-02-2019, 10:25 PM

Forum Jump:


Users browsing this thread: