Hi jcl.

ResultsDaily is nonzero and itīs reversed as you stated.

LinearRegSlope(ResultsDaily,Day) with LookBack = 0 doesn't seem to work properly. It always returns 1, maybe there is an issue with the reversed order of the series.

polyfit(0,ResultsDaily,Day,1,1) letting LookBack with its original value produces different results in training, but in test mode the system results aren't profitable when other criteria do.

I think i need to reverse the series or apply the slope over the differencies, need some help.

Thanks.



Last edited by brax; 11/21/17 19:38.