Amy Liu
Amy Liu
Winehouse
Amy Liu
Added topic Can I get the properties from code?
Steps: 1. Define the property like this: #property version "1.00" 2. How can I get version from code? Like Print("Current version: "+property.version)
Marius Ovidiu Sunzuiana
Marius Ovidiu Sunzuiana 2019.05.30
I have never tried but try to compile and see results ? Did you try to run this line of code you post ?:)
Amy Liu
Added topic How to check if an account login from client terminal become Invalid Account?
Steps: 1. Login an account from an MT client terminal successfully; 2. Run an EA; 3. Change master password; 4. Invalid account come. But how to check invalid account from an EA? The AccountNumber() is still correct, the IsConnected() is still true
Amy Liu
Added topic Can we call a script from an EA?
Can we call a script from an EA? Thanks
Amy Liu
Added topic OnTick() and OnTimer() event handler stop working when MT4 terminal minimized.... ?
It seems that OnTick() and OnTimer() event handler used to work before, but recently I found they stop working when I minimize MT4 terminal, and they will come back to work when I un-minimize MT4 terminal. Does anyone found this issue? Test of
Amy Liu
Added topic Does anybody use kernel32::FormatMessage?
Ref:  https://docs.microsoft.com/en-us/windows/desktop/api/WinBase/nf-winbase-formatmessage Below code is the syntax: DWORD FormatMessage(   DWORD   dwFlags,   LPCVOID lpSource,   DWORD  
Amy Liu
Added topic Cannot load dll on windows server?
Hi, I wrote a DLL and it works fine on my desktops(Windows 8.1/10). But when I put it on a widows server where I have some MT4 running, there will be an "2019.03.18 11:50:01.646 Cannot load
Amy Liu
Added topic X_Size of CChartObjectLabel will be zero(0) after Description, is there any solutiuons?
m_LabelInfo is object of CChartObjectLabel    m_LabelInfo.Color(clrRed);    m_LabelInfo.FontSize(28);    m_LabelInfo.Description("Information");    Print(m_LabelInfo.X_Size()); // The value is 0, why
Amy Liu
Added topic It seems that the official CButton class in Controls\Button.mqh doesn't adapt BASE CORNER?
The CButton class is derived from CWndObj, and CWndObj is derived from CWnd. All the classes don't have an interface to set BASE CORNER. If you set BASE CORNER by ObjectSetInteger OBJPROP_CORNER, then the coordinates is
Amy Liu
Added topic Bug report: SymbolInfoInteger(Symbol,SYMBOL_TRADE_MODE) returns SYMBOL_TRADE_MODE_DISABLED while symbol description "Trade" is "Full access"
MetaTrader 5 Version: 5.00 build 1881 09 Jul 2018 Server: GenesisMarketsLP-Demo Symbol description "Trade" is "Full access" But SymbolInfoInteger(Symbol,SYMBOL_TRADE_MODE) returns SYMBOL_TRADE_MODE_DISABLED
Amy Liu
Added topic Can I modify position comment?
The position comment is set by OrderSend as a parameter. When the order dealt and there's a corresponding position, can I modify the position comment? Thank you very much
Amy Liu
Added topic How to write multi-dimention array as a function parameter in MQL5
In MQL4, I can write: void StringFunc(string &ArrayRes[][]) and it's no compile error, but in MQL5, StringFunc(string &ArrayRes[][]) has this compile error: '[' - invalid index value. How to write multi-dimention array as a function parameter
Amy Liu
Added topic How to get better performance when lots of MT4 clients run
My server has this configuration: 1. 4 cores with 8G mem 2. SSD 60G, more than half free 3. Bandwidth 3M 4. Windows 2012 On this server, there are 14 MT4 clients running with EA. Every trading day during GMT 15:00 +/- 5 hours, MT4
Amy Liu
Added topic Multi-EA issue
In MT4, EAs identify orders by magic number. But in MT5, one symbol has only one position at one time, and it has only one magic number at one time. EA can find deals by POSITION_ID. But if positions reverse , POSITION_ID changes. So after positions
Amy Liu
Added topic MT5 setup fail like this
I try to download MT5 but always fail like this. I have tried and waited for whole day.........  
Amy Liu
Added topic Slippage doesn't work on pending orders?
I wrote an EA to send pending orders . But I found slippage doesn't work when my pending orders come to be a market order. This makes my trade prices have a big gap to my pending orders' prices. It this defined by MT4 or brokers
Amy Liu
Added topic What's the difference between XAUUSD and XAUUSDm in LMAX?
What's the difference between XAUUSD and XAUUSDm in LMAX? Both symbols have the same minimal lots of 0.1. Thanks
Amy Liu
Added topic Will operation of OrderSend and OrderClose successfully done but return false due to bad network in MT4?
In MT4, OrderSend() and OrderClose() send instructions to server, the server do the trade instructions and return a response. But, if the server do the trade instructions successfully but the response come back to client lost due to bad network
Amy Liu
Added topic What are all values of Order Type?
It's said that OrderType has the following values: But I find there will be value 6, what does it mean? And will there be any more values hidden
Amy Liu
Added topic How to load account history to all history by program in terminal?
OrdersHistoryTotal() r eturns the number of closed orders in the account history loaded into the terminal. How can I load account history to all history by program in terminal? Thank you very much
12