I have a DLL problem see picture
what system do I have MultiCharts64 version 14.0 release (build 23013)?
What have I tried so far to get the system working:
- Copied the DLL "ELCollection" with the size 622KB from the forum page into the folder Multicharts64.
- Then I tested another DLL version size 436 KB (I attached it) which is not recognized.
Do you have a solution to solve this problem?
I would like to run this code with the DDL if maybe this question comes up
Code: Select all
{
Auth: Build Alpha
Site: BuildAlpha.com
Desc: Make strategy's position available via ADE
Vers: 1.0
}
inputs:
StrategyName("MP1") // save MarketPosition under this name
;
vars:
mp(0),
color(yellow),
interval(ADE.BarInterval), // Must be set to correct bar type
token(GetSymbolName),
intrabarpersist iMap(MapSN.New), // used to pass data to ADE
intrabarpersist writeOk(true)
;
if CurrentBar = 1 then begin
//if BarType <> 2 then RaiseRuntimeError("Must use Daily timeframe!");
//value1 = ADE.OpenMap(classTrend, token, interval{ADE.BarInterval});
end;
//CommentaryCL("This Bar: ", CurrentBar:0:0);
mp = I_MarketPosition;
// Put the information we want to store in iMap
value1 = MapSN.Put(iMap, "MP", mp);
// Tell ADE to store this info for GroupName and bar interval
Value1 = ADE.PutBarInfo(StrategyName, token, interval, ADE.BarID, iMap);
// save the data to the file on the last bar.
if writeOk and BarStatus(1) <> 1 and lastbaronchart then begin
value1 = ADE.SaveMap(StrategyName, token, interval);
writeOk = false; // prevent repeated writes on new bars
end;
if mp = +1 then color = cyan else
if mp = -1 then color = red else color = yellow;
Plot1(mp, "MP", color);