Use 'var tradeAlgo()...' (so not 'function') and and optionally 'printf("\nForecast: %.3f", Forecast);' for better precision.

Last edited by Grant; 11/24/24 19:29.