ADE implementation

Questions about MultiCharts and user contributed studies.
waveslider
Posts: 206
Joined: 16 Oct 2011
Has thanked: 63 times
Been thanked: 20 times

ADE implementation

Postby waveslider » 26 Jul 2018

I am trying to reduce the number of symbols charted by using ADE.
Here is an example. I am attempting to collect OHLC data on Advancing Issues on one chart (it happens to be in data3):

Code: Select all

var:
ADVo(MapSN.New),
ADVh(MapSN.New),
ADVl(MapSN.New),
ADVc(MapSN.New);
var:
classO("AdvanceO"),
classH("AdvanceH"),
classL("AdvanceL"),
classC("AdvanceC");

value1=MapSN.Put(ADVo,"AdvanceO",o data3);
value2=MapSN.Put(ADVh,"AdvanceH",h data3);
value3=MapSN.Put(ADVl,"AdvanceL",l data3);
value4=MapSN.Put(ADVc,"AdvanceC",c data3);

value1=ADE.PutBarInfo(ClassO,Getsymbolname data3,ADE.BarInterval,ADE.barid,ADVo);
value2=ADE.PutBarInfo(ClassH,Getsymbolname data3,ADE.BarInterval,ADE.barid,ADVh);
value3=ADE.PutBarInfo(ClassL,Getsymbolname data3,ADE.BarInterval,ADE.barid,ADVl);
value4=ADE.PutBarInfo(ClassC,Getsymbolname data3,ADE.BarInterval,ADE.barid,ADVc);


I then go to another chart and attempt to plot it using this code:

Code: Select all

inputs:interval(1);
vars:classO("AdvanceO");
vars:classH("AdvanceH");
vars:classL("AdvanceL");
vars:classC("AdvanceC");
var:
ADVo(MapSN.New),
ADVh(MapSN.New),
ADVl(MapSN.New),
ADVc(MapSN.New);

value1=ADE.GetBarInfo(ClassO,Getsymbolname,Interval,ADE.barid,ADVo);
value2=ADE.GetBarInfo(ClassH,Getsymbolname,Interval,ADE.barid,ADVh);
value3=ADE.GetBarInfo(ClassL,Getsymbolname,Interval,ADE.barid,ADVl);
value4=ADE.GetBarInfo(ClassC,Getsymbolname,Interval,ADE.barid,ADVc);

Value5=MapSN.Get(ADVo,"AdvanceO");
Value6=MapSN.Get(ADVh,"AdvanceH");
Value7=MapSN.Get(ADVl,"AdvanceL");
Value8=MapSN.Get(ADVc,"AdvanceC");


The error I am getting is "Can't find dll "elcollections2.dll"", although I have checked each of the above functions and cannot see any reference to elcollections2.dll.

Thanks for any assistance

User avatar
ABC
Posts: 626
Joined: 16 Dec 2006
Has thanked: 119 times
Been thanked: 354 times
Contact:

Re: ADE implementation

Postby ABC » 27 Jul 2018

Hi waveslider,

ELCollections2 is a 32bit TS DLL and I am not sure it would even work with Multicharts 32bit. You should make sure to use the code and DLL you can obtain in the forum here (in case you are running MC 32bit you will need to use the 32bit version of the ELCollections.DLL):

viewtopic.php?t=10094#p48320
viewtopic.php?t=9870

Make sure to overwrite the code on import, as there is most likely a call to ELCollections2 somewhere within the code you are using.

Regards,

ABC


Return to “MultiCharts”