MQL4 and MetaTrader 4 - page 396

[Deleted]
Hi, I am trying to run a batch file from EA, but it's not working. The full text is inserted below. Can anybody help? Appreciate a direct ans i/o link to another forum   #include <stdlib.mqh> #include <WinUser32.mqh> #import "shell32.dll" int ShellExecuteW(int hwnd,const string Operation,const...
Hi everyone. Noticed today that my MT4 platform syncs all my drawings to all symbols. This means that if I draw a line on eurusd at 1.0000, it appears on all other symbols (ausdusd, gbpusd etc) at the same value (1.0000). How do I remove this? Seems like such a weird feature. I have been messing
Hi all, Does anyone know if there is a possibility to calculate Trend Line values without the need to create it on the chart? Thanks,
Hello, Please see below for a sample of the code called:- double CTdiUtils::_volHigh( int shift, bool reset= false , bool force= false ) { double volHigh= NULL ; if (_volHighValue== NULL || force || reset) { volHigh= NormalizeDouble ( iCustom ( NULL
is there a difference between DoubleToStr and DoubleToString?
At the risk of pointing out the obvious and making some experts on this site cringe, I cant help but notice that indicators for MT4 usually have OnCalculate(), while EAs usually have OnTick() or OnStart(). I know, I am very wise and perceptive. A true prodigy. Bet you guys are having a hard time...
Hello I have RD-Combo.mq4 file and i want to make an EA but this language is very old so do not support the build 600. Please can any one change the update the file it is very helpfull for me. Thanks
Is it possible to create a magic number array? ex. I am going to make 5 orders and each order has an unique magic number. int ticket= OrderSend ( Symbol (),OP_BUY,LotSize,MarketInfo( Symbol (),MODE_ASK), 3 , 0 , 0 , "My EA" , 12345 , 0 , Green ) Instead of 12345, maybe OrderMagic [x][0] for each new
int OnInit()  {//---    double ticksize = MarketInfo(Symbol(), MODE_TICKSIZE);   if (ticksize == 0.00001 || ticksize == 0.001)   pips = ticksize*10;   else pips=ticksize;      Alert("Ticksize = ",ticksize," Pips = ",pips);      if(bias == false)//*****************SELL BIAS   {...
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.