Hi,

I trying the retraing AOS, but in the history dont have a actual data.

there is from LOG:
Quote
Test period 2020-04-01..2020-08-13 (8961 bars), detrended


in the script I have
Quote

StartDate = 20200401;
//EndDate = 20200622; <-- comment only

..
if (is(FIRSTINITRUN)){
assetHistory(Asset,1);
..
if (is(INITRUN)){

UpdateDays = -1;
..


script running pernamently.

How to set, by train AOS with last ( actual ) data?


Thank's