Hello support! I checked that similar problems arise in the simplest example
https://www.dukascopy.com/wiki/files/9b3d27d020edff568a99b15876a8b673.txtin wiki topic
Simple custom indicatorhttps://www.dukascopy.com/wiki/en/development/strategy-api/indicators/use-custom-indicator-in-strategies.
Before code
//calculating startIndex taking into account lookback value
if (startIndex - getLookback() < 0) {
startIndex -= startIndex - getLookback();
}
value startIndex ==0 in JForex2 and startIndex ==getLookback in Jforex3.
Also indicator levels are not preserved when passing from JForex2 a to JForex3, and vice versa.