MQL4 and MetaTrader 4 - page 99

To post a new topic, please log in or register
This is what happened. I switched brokers and I just took my indicator files and moved them to the new broker MT4, I justed dragged and drop. Just trying to save on downloads. Well now that my indicators have updates to them. I log in to MQL5 from the new MT4 that I moved the files to, just to...
Hi, how are you ? A few days ago I published this subject, but I did not get answers that would help me. Then I made a script that gets the highest price all day and also the lowest, showing the information in message boxes. But I also want to get the opening price of the 0 hours and the closing...
Try to download Metatrader 4 for Windows, and it seems to install an MT5 version... Cannot login to any IC Markets accounts as it does not allow the servers to be entered when logging in Is there a fix for this?
I think they are the same, right?
#property version   "1.00"#property strict#property indicator_chart_window#property indicator_buffers 2#property indicator_color1 clrRed#property indicator_style1 STYLE_SOLID#property indicator_width1 2#property indicator_color2 clrBlue#property indicator_style2 STYLE_SOLID#property indicator_width2...
Hi, I have spent hours trying to fix this. I have Created a .tpl file which when I apply to a chart doesnt seem to apply correctly. I have narrowed the problem down to the Format Type of the file itself I beleive. Although it is saved as a .tpl file and is clearly so in window explorer, when I apply...
I started this thread to post all news/signals indicators and EAs we have now and will have in the future.
Mt4 all the sudden do not start it says (Not Responding). Any suggestion rather then install again the program which I do not want to do because I do not want loose all the configurations. Thanks
Is there a way to add the PC Zigzag indicator to Metatrader 4 on an Android Phone?
When I open an expert adviser in strategy tester or even open an EA on a chart the whole platform freezes. When I say freezes the open trades still receive ticks but all buttons become un-functionable. THe only way I can close the program is Ctlr Alt Del. I have run a virus/malware checker,...
How can I make the writing / font on the charts be more bold or clearer. It is small, thin and you need to squint to read it. I checked on a second pc and found the same, so its not my own settings. But if you know of a setting therein, please advise urgently. Tx    screenshot attached
can any one help me change the code so I can permanently modify the colours thanks  //+------------------------------------------------------------------+//|                                         Heiken Ashi Smoothed.mq4...
Hello Please check attached pivot indicator . What is different between adding indicator manually or by tester.tpl and directly select in strategy tester? When this indicator tested by tester.tpl  or added manually to strategy tester, it is not working !!! ( the problem is buffers not updating ) ....
Hi for example we have different strings: 1- "abcd abcde efg" 2- "abcd 123 efg jkl" 3- "abcd 456 tuv 567" .... .. . I want to remove last 4 characters . There is no useful function here https://docs.mql4.com/strings . and can't use "StringReplace" because the last 4 character  are not fixed. how...
  MT4 (6)
Hello, I just realized that on some currencies you could see info on entry price, take profit and stop loss information.  Is there a way I can set an alert on my choice of currency to know when that information is available for time to enter market and the tp and sl information? Thanks,
Hi all, I have some questions related to multi timeframe EAs. First, when backtesting, is it possible to display both timeframes, as in mt5? If it isn't possible, does this means that the backtesting is not meaningful? On the other hand, I noticed that when using the EA it changes from timeframe A...
Hello i want  a code that open opposite order for lossing one after 30 pips from reversing  In the attached image there is a crossing between Moving Average 20 (blue) and MA 10(red) and that was a buy order but it reversed so i want to open new opposite order after 20 -30 pips can any body help me...
Hi all, I want to change color of custom indicator dynamically based on close price. Below is the code snippet. #property indicator_chart_window#property indicator_buffers 4#property indicator_color1 Red#property indicator_color2 Green//--- input parametersextern int       Period=5;//---...
Hello, Is there an Free EA to make OCO orders? For example: I wish to take two orders with limits. Order 1 - Sell GBPUSD at 1.3185 Order 2 - Buy GBPUSD 1.3100. If order executes, this automatically cancels order 2. Thanks for your help.
Hello, i newly have the problem, that my expert which runs in debug mode, is closed. The uninit reason is 4 -> Chart removed. No error else in the expert log. The chart in fact has been removed.  This happens, when there is a pending oder, i right click on the pending order, then i select "Modify or...
I am having the above problem. I have coded iHigh(Symbol(),PERIOD_D1,0) in order to have todays highest price.  But instead the display on the chart of the result of code shows it is giving the highest close. This could be an empty 4 problem
So i have this indicator which I have found to be very good at identifying trending periods, to stay out of the market. However, it does not have any alerts which makes tracking it hard. It would be much appreciated if someone could help me to add a push alert when the purple line goes above the top...
Hi at all, can i use this ---> OrderSelect([int ticket], SELECT_BY_TICKET, MODE_HISTORY)   ? In the execution this method run, but the return is unexpected for me. USE CASE: i have open a buy order, ticket of this order = 97936536 run my EA, and test it (order ticket 97936536. it still open):...
Hi, what if i set a BUYSTOP at 1.100 with a SL on 1.099 and TP on 1.101 And then during open, slippage occur and move the actual buy open price to  1.102 witch is above the desired TP. Will the trade server response be error 130 invalid TP/SL or will it go thru and close the order directly?
Hello How to add time filter for an indicator ? Can anyone help me.  For example begin time: 23:00 , end time: 03:00. between 23:00 and 03:00 indicator should not work. Can't use TimeCurrent() like Expert advisers and have to user Time[] array instead. But cant use StrToTime too because it always...
Is it possible to copy signals from a live account to a demo account?
  Order Close (1)
Hey guys, Sorry to bump in here, I'm trying to set up my first robot, woohoo. So far i succeeded in defining inputs for the indicators which do display! Orders are being opened as well but I'm a bit struggling with defining code to close them. At this moment I would just like to close the trades...
Trying to install MT4 platform but cannot load charts. Every attempt to load the first chart causes the same error message: Failed to create empty document Have done many MT4 installations over period of 3 years, but not seen this before. Already uninstalled and reinstalled several times,...
  OrderModify (4)
When I want to modify only the stop loss of an opened order, should I use zeros for price, takeprofit and expiration parameters as shown in the following? OrderModify(OrderTicket(), 0, newStop, 0, 0)
I would like to build a homepage where i can display important data from all my MT4 accounts like: MT4 account number Order number (open trades) closed trades Profit Margin The clue is to get at first sight a overview every account at one view, without login in every MT4 account with MT4 App...