The strange display behaviour is seen for visual backtests in both API 2.7.2 / Client 2.18.6 (DEMO) and API 2.6.71 / Client 2.17.28 Client - I have attached screenshots from both environments, and the test strategy (" Backtester_Bug_Strategy.java") used to create the backtests.
I believe this is a visual display issue, as the incorrect values that draw oddly during visual backtest do not appear in as output from calculateIndicator() calls made in strategy for the same bar.
I cleared my historical data cache through the Jforex client preferences before performing these backtests and screen-capturing the results to try to ensure there was nothing wrong with the cache historical data feed.
The strategy has simple linear reg (period 10) - yellow line,
two sets of bollinger bands (period 12, std dev 2 and std dev 3) - blue
and an ema (period 12) - red dotted line - none of which would ever produce the jagged lines seen on the screen at the completion of the visual backtests - as per the screenshots below.
I have compared the values produced via indicators.calculateIndicator() calls within the strategy (dumped to console out) to the values on the screen - they are different - the calculateIndicator output values within the strategy appear to be correct (i.e. continuation of ema / lin reg / bollinger bands), with the incorrect values being displayed on the screen during visual backtest.
DEMO 2.18.6

LIVE 2.17.28

Attachment:
Backtester_Bug_Strategy.java [15.6 KiB]
Downloaded 396 times