API Support wrote:
Please see the disclaimer at the top of the converted java file. For custom indicator calls in jforex strategies see:
https://www.dukascopy.com/wiki/#Use_cust ... strategiesThank you for your answer. But it does not solve my problem.
The disclaimer is like following:
package jforex.converted;
import java.awt.Color;
import com.dukascopy.api.*;
import com.dukascopy.connector.engine.*;
/** Disclaimer: The folllowing source code is to be used for troubleshooting purposes only.
* Please don't use it for strategy/indicator compilation.
*/
public class H1ABC_Dukascopy_V25 extends MQL4ConnectorStrategy
{
protected void initProperties()
{
if (properties == null)
{
properties = new Properties();
}
properties.setProperty("link","http:");
properties.setProperty("copyright","Copyright 2012.06.24, Felix zhang");
}
And I do not found any OnStart() function for the registration of customer indicator because it is converted from MQL4.
Would you please give me more clear and simple instruction regarding registraion and use following sentence:
ATRUp1=toDouble(iCustom(toInstrument(null),toPeriod(0),toString("ATRStops"),ATRLength,ATRPeriod,ATRKv,0,1));
The customer indicator ATRStops is converted and running well. It has three parameters: ATRLength,ATRPeriod,ATRKv