private void loadProperties() throws Exception {
try {
console.getOut().println("Loading properties");
//
//Populating the properties file
properties.clear();
properties.put("instrument.EURCAD","macd");
properties.put("instrument.EURCHF","macd");
properties.put("instrument.EURGBP","macd");
properties.put("instrument.EURJPY","macd");
properties.put("instrument.EURUSD","macd");
properties.put("instrument.GBPCHF","macd");
properties.put("instrument.GBPUSD","macd");
properties.put("instrument.NZDCHF","macd");
properties.put("instrument.USDCHF","macd");
// Default strategy configuration
properties.put("strategy.gebAmount","0.01");
properties.put("strategy.gebMaxOrders","1");
properties.put("strategy.gebRatGoal","60");
properties.put("strategy.gebRatStop","150");
properties.put("strategy.gebRatTrailing","0");
properties.put("strategy.gebOrderWithLimit","true");
properties.put("strategy.gebOrderToRun","false");
properties.put("strategy.gebReEnter","true");
// Default signaler and macd configuration
properties.put("signaler.gesPivotPart","3");
properties.put("signaler.gesEnterAtPR","true");
properties.put("signaler.gesSupRes","false");
properties.put("signaler.gesGoWithMainTrend","false");
properties.put("signaler.gesCountPerBreak","0");
properties.put("signaler.gesPlayInRange","false");
properties.put("signaler.macd.gemFast","12");
properties.put("signaler.macd.gemSlow","26");
properties.put("signaler.macd.gemSignal","9");
properties.put("signaler.macd.gemNumPer","5");
properties.put("signaler.macd.gemDivReg","false");
properties.put("signaler.macd.gemExitSignal","true");
properties.put("signaler.macd.gemExitWithSAR","false");
properties.put("signaler.macd.gemContinue","true");
//
properties.put("USDCHF.signaler.gesRatGoal","100");
properties.put("USDCHF.signaler.gesRatStop","100");
//
properties.put("EURCHF.signaler.gesRatGoal","60");
properties.put("EURCHF.signaler.gesRatStop","150");
//
properties.put("EURUSD.signaler.gesRatGoal","50");
properties.put("EURUSD.signaler.gesRatStop","200");
properties.put("EURUSD.signaler.gesPlayInRange","true");
//
properties.put("EURJPY.signaler.gesPlayInRange","true");
//
properties.put("USDJPY.signaler.gesRatGoal","60");
properties.put("USDJPY.signaler.gesRatStop","150");
//
properties.put("EURGBP.signaler.gesRatGoal","60");
properties.put("EURGBP.signaler.gesRatStop","100");
//
properties.put("GBPCHF.signaler.gesPlayInRange","true");
//
properties.put("NZDCHF.signaler.gesRatGoal","60");
properties.put("NZDCHF.signaler.gesRatStop","150");
properties.put("NZDCHF.signaler.gesPlayInRange","true");
//
properties.put("EURCAD.signaler.gesPlayInRange","true");
//
} catch (Exception e) {
console.getOut().println("NO properties file found");
throw e;
}
}