I've installed the latest change and have 2 problems:
1) "DaysToLoad" for my version is a function i.e. DaysToLoad(2200); not a variable/keyword DaysToLoad = 2200; gives a syntax error
2) My example program still does not flush the output buffer and the output file is truncated prematurely...
input="stocks.lst"; output="output.lst"; Integer I,Startindex; Float F1; Float F2,F3,F4; DaysToLoad(1200); Startindex := (Daysloaded-1)*-1; For I = Startindex to -20 step 1 do F1 := (close(i) - EMovAvg(I,10,cl)) ; F2 := (close(i+20) - EMovAvg(I+20,10,cl)) ; println I,",",date(I),",",F1,",",F2; next I;
The output stops somewhere about I=-411. The status box during the status run says it wrote the correct number of lines, they're just not there.
Thanks Dale |