fx_maddin / Publications
Forum
Problems with string in DLL and WinHttpClient
Hi, i try to send a string from mql to dll and work with them... Code in MQL: #import "myDLL.dll" bool SetString( string foo); #import //+-------------------------------------------------------+ int start() { string foo = "bar" ; SetString(foo); }[/CODE] Code in DLL (taken from
Problems reading DT-ZigZag-Lauer with iCustom
Hi, i try to write an EA and get the values from DT-ZigZag-Lauer indicator with following code: int depth = 5; int GrossPeriod = 240; double Lauer_BUY = iCustom(NULL,0,'DT-ZigZag-Lauer',depth,GrossPeriod,0,1); double Lauer_SELL = iCustom(NULL,0,'DT-ZigZag-Lauer',depth,GrossPeriod,1,1); if (Lauer_BUY