Please use the latest JForex-SDK and JForex-API version, see:
viewforum.php?f=113FXace wrote:
On log console there is a warning "WARN Indicators - There is not enough data to calculate value for SMA" and an empty array is returned. On the other hand the unchanged piece of code runs fine with live date (IClient interface)
If the error persists also with the latest version, then please provide full example program and the example strategy which replicates the error.