MQL4 and MetaTrader 4 - page 378

New article Connecting NeuroSolutions Neuronets is published at mql5.com: In addition to creation of neuronets, the NeuroSolutions software suite allows exporting them as DLLs. This article describes the process of creating a neuronet, generating a DLL and connecting it to an Expert Advisor for...
[Deleted]
I am using neurosolutions. But I don't have any idea for using Neurosolutions dlls in mql4. I approciate any helps or dll wrappers file from this forum members.
I've been using ForexVPS with copytrade ExpertAdvisor on MT4. So I'm using ForexVPS from ICMarkets on my account with ICMarkets. I'm guessing both: my ForexVPS and ICMarkets platform are running from the same server-room or at least connection between them is excellent. It was working just fine....
Hey i've been having some trouble getting this to work was wondering if anyone could give me some tips ? Im basically just trying to figure out how to mark two points and then find the highest or lowest bars between them. So far i have something like this for highest point. if (*insert if
Please add BUY AND SELL ALERT to TTL mt4 indicator . Thanks in advance
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...
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?
[Deleted]
#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...
  MT4 do not start  (9)
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;//---...
  Order OCO on MT4  (1)
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
  Useful features from KimIV  (1278   1 2 3 4 5 ... 127 128)
In this thread I will post the codes of my functions in MQL4, give examples of their use, and answer questions related to their use. Each function will be published in two posts. The first post will contain the function code, the second - examples of use and short explanations. Sometimes I will