Imroved Indicator interface, draws two indicators now

This commit is contained in:
2017-11-25 09:28:01 +01:00
parent ff0e8bc4b9
commit f6eab6b6a2
7 changed files with 95 additions and 33 deletions

View File

@ -138,6 +138,7 @@ public class Globals {
}
static AutoTraderLoader tloader;
static IndicatorLoader iloader;
static void initGlobals() {
ArrayList default_pathlist = new ArrayList<>();
@ -149,11 +150,14 @@ public class Globals {
default_pathlist.add(default_path);
tloader = new AutoTraderLoader(default_pathlist);
iloader = new IndicatorLoader(default_pathlist);
SeSimClassLoader<Indicator> il = new SeSimClassLoader<>(Indicator.class);
il.setDefaultPathList(default_pathlist);
ArrayList<Class<Indicator>>ires = il.getInstalledClasses();
iloader.getNames();
// SeSimClassLoader<Indicator> il = new SeSimClassLoader<>(Indicator.class);
// il.setDefaultPathList(default_pathlist);
// ArrayList<Class<Indicator>> ires = il.getInstalledClasses();
}
static public final Logger LOGGER = Logger.getLogger("com.cauwersin.sesim");