MQL4 and MetaTrader 4 - page 6

Hi All, Hopefully a quick question.  How do I create a line of comments in the Input Tap of the Property Windows for the input variables. For example if I want to indicate that input variables below a certain line should be changed just in special market conditions? Thanks, MG
Hello,     I'm working on it fibonacci retracement and i want to give names to the horizontal lines with label. How can do that?   Thank you for helping.    
In MetaEditor, "Edit" menu, "Advanced" option, there are 'Comment' and 'Uncomment' options. They work for me, but only from that menu. Can I use those tools from the keyboard? Next to the 'Comment' option, there is an indication of key combination Ctrl+'. I am not sure what character is that. Is it
Hi Gurus, Can I get a chart event, when I click on mouse button (BEFORE I release the button)? As I experienced, the event occurs when I release the button. Thanks
Hello my friends, I want to build an indicator that show the close for the last X numberof candles only. Therefore, I wrote the attached indicator. //+------------------------------------------------------------------+//|                              Close Oscillator I.mq4...
I am used to Tradingview where dragging the mouse moves the chart horizontally, and the mouse wheel scrolls in/out. I am considering using MT4 for strategy automation but I can't get over this little hiccup. To make matters worse, the mousewheel is even inverted. Why is there no option in the
Hi coders, please advise how to get the iTime automatically for other respective timeframe's datetime ? datetime iTm= iTime (sym, PERIOD_M1 , 15 ); // Shift=15 Print (TimeToStr(iTm)); // Output : 2025.02.14 18:57 Note that the above example of "PERIOD_M1" is not fixed, I may use
Good morning, on the mt4 platform I have an expert and an indicator attached to a chart (both without source code). My expert shows two buttons on the chart, one buy and one sell, which are activated and deactivated with a mouse click. I would like to understand if it is possible to simulate an
[Deleted]
Hi, I'm trying to get the number of decimal digits from a number. for example 0.1234 ---> 4 0.465 ---> 3 0.51 ---> 2   So far, I can only a similar function from this function MarketInfo(Symbol(),MODE_DIGITS); But that doesn't really help me. I need to get the number of decimal digits which I get...
hello MQL5 team, as my EA code using iCustom() for importing indi buffers, I want to clear my doubt : every Ontick events, ea re-calculate the indi buffer by iCustom() from the beginning of whole time series , I want to know if I place the indi on chart, whether it reducing the amount of computation
Hi, I set up email in option of metatrader4 , but it is not work. Know everyone what can do
I can't isolate the reason why the values that a custom indicator that is called from my EA gives when I try to backtest the EA, are different from the values this indicator shows when I attach it to a chart. I have tried to find info about the internal processes of the tester, but I didn't have...
Hey all I have a very strange behaviour in MT4. Since toay all event sounds are not working anymore. Yesterday everything was still fine. Of course I checked my computer's audio settings - all fine, can listen to music, volume is up etc. Of course I enabled all event sounds under Options -> Events
I am using MT4 and I have used mql5 marketplace from it. It was working well three months ago. Today when I am trying login I am getting the following message "MQL5.community authorization failed". The MT4 version I am using is download from "Octafx" broker website. Please help me solve this
[Deleted]
Hi, How can I find market Open or Close? dunction GetLastError()? What value return function? Or other function/way? Other solution? Thank you.
  Technical issues  (3)
Please admin or anyone in the forum could you help me resolve this issue. I can't seem to be able to login my account on mt4 on my android mobile phone. It keeps giving me AUTHORISATION FAILED but my demo account logs in normal but the real account doesn't. Please help. Thanks!
  Download MT4  (1)
Hello, can we download MT4 from mql5 website as we can download mt5, so that I don't need to download the mt4 from the broker company website I can use one mt4 for all brokers same as I can do it for mt5? Please help if anyone knows about it
Hello, Is it possible to set a hotkey to Fibo Retracement tool in MT4 platform
Should be able to delete a URL in the Allowed URL list just by selecting/highlighting it and hitting the Delete button, but for some reason the URL's will not delete at all. Have tried on several MT4's on VPS, and again on MT4 locally on my laptop, same across the board - cannot delete a URL once
[Deleted]
Hi all, i need help. I want add to my EA this: If bar is closing (each bar), close position. (EXIT BUY / EXIT SELL), thank you //Close //+------------------------------------------------------------------+ //| Signal Begin(Exit Buy)...
Hi I noticed that I could open 100 charts at the same time now, it was 99, was there the update on the newest MT4 version
  zigzag+ fibo ea  (10)
Hello. I've been making the same profit for a long time. Introduction: fibo 23,6 Snow: fibo 38,2 stoploss: fibo 0 rollback: fibo 0 martingel damage. can you make this system ea?
I cant associate .ex4 file with terminal.exe of current broker. It always point to the previous deleted broker terminal. Tried everything , from deleted bak, ex4 files association in reg editor, cmd... still nothing. P;ease hep! Do not just advice apps default
Hi, Is there a way to easily look at all MT4 account specific date Profit and lost in 1 place ? If having 5 to 10 account and go to account or trade history will be much hassle. So i am curious will it an easier way to run a profit report from all account at once? Thank you
  Heikin Ashi (better formula)  (105   1 2 3 4 5 ... 10 11)
Can someone do this program? From an article made by BNP-Paribas it seems that we can have better representation with Heikin Ashi if we made the following modified Heikin-Ashi candlesticks as follows: a. haOpen, haHigh and haLow according to Dan Valcu formulas. b. haClose is calculated first
Hi all: having trouble when trying to allow web requests for EAs. Under "Tools/Options/Expert Advisors", I expect to be able to set up a list as in the first attached picture . Instead, after I press the "+" button in the box and enter the desired URL then press Enter, the URL I entered is cleared
I have developed several libraries which are used by different EAs, indicators and scripts. But during a debug session it is not possible to debug a library function step by step. A breakpoint is set in a function in an library but the debugger is not stepping into the function. Only when I include
Hi, Hope all is well! I am trying to test a strategy on Renkobars in MT4. The tester and everything wokrs fine, however the entries on certain trades are wrong. For example, when we get a bearish candle which trigger a sell order, followed by a bullish candle, the tester places the sell order above
  Leverage for each symbol  (40   1 2 3 4)
I know it isn't a new problem but with new ESMA rules (about leverages) it became "interesting" for me. Generally now we have a different leverage for each symbol. But I know only the function AccountLeverage() (or with the same result AccountInfoInteger(ACCOUNT_LEVERAGE) ) that provides something...
When looking at the OrderSend function documentation, i notice that it will return an int with the order number. But I'm actually curious to how this is done. When you send an order no order id is known initially, how does the function know what ID is being corresponded to the function call