• Information
7+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
I trade Forex and write about it since 2005. I also code in MQL4 since 2006 and in MQL5 since 2009.
Andriy Moraru
Left feedback to developer for job Multi-feature Donchian channel indicator for MT4 and MT5
Andriy Moraru
Added topic CopyTicks() Inconsistent Behavior
Hello all! I can't make sense of why the CopyTicks() returns what it returns. I use this code:      MqlTick ticks_array[];      int n = CopyTicks ( Symbol (), ticks_array, COPY_TICKS_ALL , 0 , N);
Andriy Moraru
Added topic A call to MessageBox() make subsequent calls to TerminalInfoInteger(TERMINAL_KEYSTATE_*) return incorrect result?
It looks like a call to MessageBox() breaks something in the ability of MetaTrader to detect key presses correctly. Consider for example this sample EA code: void OnChartEvent ( const int id
Andriy Moraru
Added topic Negative HEX numbers no longer working in latest builds?
In MT5 Build 3091, the result of executing this line: Print (- 0xFF ); is this: 4294967041 In MT4, it is still the same as before: - 255 Why the change? Will it hold in later builds
Andriy Moraru
Added topic Bug in CreateInstanceId() - Standard Library (\Include\Controls\Dialog.mqh)
There is an issue in the following method of the CAppDialog class: //+------------------------------------------------------------------+ //| Create unique prefix for object
Andriy Moraru
Added topic Bug in Standard Library (\Include\Controls\Dialog.mqh)
The implementation of bool CAppDialog ::CreateIndicator(const int x1,const int y1,const int x2,const int y2) method has the following two lines:    int total= ChartIndicatorsTotal (m_chart.ChartId(),m_subwin);    m_indicator_name=
Andriy Moraru
Added topic MQL5.com Accounts/Products Transfer/Merging
Hello all! I am looking to acquire a business that lists their products for sale MQL5.com Market, and I would like to understand whether it is possible to merge that business' MQL5.com account into mine, because keeping two separate MQL5.com accounts
Andriy Moraru
Added topic SMTP connection fails
I am trying to switch my MT5 to a new mail server and I am getting weird errors when I test the email settings. I had no problem connecting to this mail server and sending emails via SMTP from several other applications, so I am pretty sure it works
Andriy Moraru
Added topic Minor bug in MQL5 documentation (OnCalculate)
For some reason, the documentation syntax uses curled brackets instead of the square ones for the time array
Andriy Moraru
Added topic Updating indicator display when market is closed
I have an indicator that needs to gather data from several trading instruments before calculating. It uses OnTimer event to make sure everything is updated. However, if the market is closed and the indicator failed to update all the necessary data
Andriy Moraru
Added topic Disable Autotrading Globally from MQL5 Code Without DLLs
I know how to disable autotrading from MQL code using DLL calls, but is it possible to do the same without DLLs? I do not need enabling autotrading, only disabling
Andriy Moraru
Added topic MetaTrader Email + Amazon SES
Hi all! I am currently trying to make my MT5 send me email alerts via Amazon SES SMTP, but it does not work. MT5 works well with my other SMTP server while my Amazon SES service works fine with everything else. But MT5 + Amazon SES how some problems
Andriy Moraru
Added topic Get Commission before sending order?
Is there any way to get commission for a planned order volume and trading instrument in MQL5 before executing that order
Andriy Moraru
Added topic Calculating Margin Used by Existing Position from Indicator's Code
Hello all! How can one get or calculate the exact value of margin used by a particular position from the indicator's code? I know how to do that if the position is the only one, but when two or more positions are open, it seems like an impossible
Andriy Moraru
Added topic Expiration Not Working?
I get this response when sending a pending order with ORDER_TIME_SPECIFIED expiration: 2013.03.18 00:26:10 - Error Sending Buy Stop: 4756 (invalid expiration) 2013.03.18 00:26:10 - Volume = 0.04 Entry = 1.30655 SL = 1.29068 TP = 1.32036 Bid/Ask =
Andriy Moraru
Added topic Change Input Parameters During Runtime
Hi all! Is there any way to change the value of the input parameters from within the code of EA/indicator, so that when the EA/indicator is reloaded, the updated values are used
Andriy Moraru
Added topic ERR_INVALID_TRADE_PARAMETERS
Why do I often get OrderModify Error 3 (ERR_INVALID_TRADE_PARAMETERS) in such cases? 2013.02.11 01:39:53 - StopLevel = 0.00020000 2013.02.11 01:39:53 - FreezeLevel = 0.00000000 2013.02.11 01:39:53 - Error Modifying Sell Stop: 3 2013.02.11 01:39:53 -
Andriy Moraru
Added topic Get Values of Channel's Second Line
I can use ObjectGetValueByShift() to get the values of the channel's main line . But how do I get values of the second line? Is it possible at all? Calculating using linear equation formula based on time yields incorrect results due to non-linear
Andriy Moraru
Added topic Dynamic version of indicator_levelN
Is there a run-time function of indicator_levelN property? My indicator needs level set only if one of the input parameters is set to a specific value. Is there any way to add or remove a separate window level during run-time? Or is there any
Andriy Moraru
Added topic One indicator for chart window and separate window?
Is it possible to have one indicator draw simultaneously in chart window and in separate window
123