Download MetaTrader 5

MQL4 and MetaTrader 4 - page 427

To post a new topic, please log in or register
Hi guys, is any change in format symbol.sel? My old code no function...? Symbol "GBPUSD.." is visible on Market Watch window... #import "user32.dll"   int GetAncestor(int hWnd, int gaFlags);   int GetDlgItem(int hDlg, int nIDDlgItem);   int PostMessageA(int hWnd, int Msg, int wParam, int...
The scenario is: There are two or more EURUSD charts opened with a same EA, which EA need some variable initialized in the init(); If I load the EA with set1 on EURUSD chart 1, then load the EA with set2 on EURUSD chart 2, there is no problem . The same EA worked on the both charts . But if I...
Any help with getting the email working on the new version 604 would be greatly appreciated. This version also is not recognizing an EA when I try and add it to the list of EA's on the platform. Version 509 was working great, and now problems.
Hi With the parabolic sar I would like to make an indicator I have more precise. When the Isar changes on a 1 hourly bar chart how do you calculate the price where it changed the isar from long to short?
After the MT4 upgrade, re-compiled the indicator source file, the DRAW_HISTOGRAM don't show again. Why? Thanks a lot. #property strict#property indicator_chart_window#property indicator_buffers 1#property indicator_color1 Bluedouble...
Hi i have created an indicator which makes Red dot for lower low candle and Blue dot for Higher high candles can some one help me to create a line which connects Lows of red dot and highs of blue dot Thanks for your help This is my code...
ricoFX
hi I would like to code a simple expert advisor but i have all the indicators but i have some difficulties. If you can help i will be very pleased Thanks
Greetings I emailed auto-chartist technical support but I also wanted to post my problem here so that I could see if anyone could help. Here is the problem: I am using Ubuntu Linux as my operating system 13.1 and loaded both Wine and Virtual Box on my machine. They both work well. MT4 platform...
Hello everyone, I was running one expert advisor with trading comments. After the MT4 upgrade to the latest version the comments stopped appearing. I would like to know if other trading capabilities will also stop work and what changes we need to make to the source code. Regards.
Hello I'm looking for someone who could cahnge my EAs because of the new update. I'm not a coder so it is quite complicated. so pls conect me if you could do it for me. regards chris
How can I go back to build 509? My application does not work correctly on Build 600. I have many customers using my application and they are experiencing problems. I have no idea how long it is going to take me to debug the application on Build 600, and in the meantime my customers are stuck. I...
hello I'm not sure if there is solution for this situation or it is a bug, but when I open new window in MetaEditor for the same code, then both windows are scrolled up/down in the same time, and when I switch between this windows then they are all the time exactly in the same place. Do you have any...
Hi everyone first post. There's a bug in strategy tester where it flat out refuses to test the date range you've selected and goes with just a small portion of it. No doubt we've all experienced it - is there a fix? I understand why it happens when there's a chart problem ie not enough bars in...
Hi, I struggle for hours with this simple problem that was no problem before: I read the terminal symbol names and descriptions from the symbols.raw file. string sSymbol=FileReadString(handle, 12); string desc=FileReadString(handle, 75); Print("symbol#",i,"/",n_pairs,": ", sSymbol...
I upgraded to the new build 600 over the weekend. Unfortunately I cannot log into my live account anymore because the only server that is available is the demo server. Is there any way around this?
when EA succeeds to send an order, a small red line for stop loss will be shown on chart, just as below picture; shall I make it not be shown when the order has been done with a stop loss?
Now I have made an EA which is written by MQL4 on MetaEditor 5.00 build 883 and compile it to get an ex4. file. Now I want to give others to test within some time, so is there any good method to avoid it to be decompiled? I heard that almost all ex4. file can be decompiled, yes? whatever shall I...
Hi all, I just came across this problem in coding an EA and need know help/pointers as to how to go about it. Need know when MACD "Signal Line" returns a negative or positive value so i tried the following: if (macdSignal > 0) macdTrend = "Up"; if (macdSignal < 0) macdTrend = "Down"; if (macdSignal...
Hi, I would like to compare Open[0] and Open[1]. My broker uses 5 decimal. So, I would like to compare them as 5 decimal number. In Data window, I can see Open price with 5 decimals. However, when I do Print() it, it appears only with 4 decimals. ex) On data window, Open[0] = 0.89594 However, it...
I recently started developing EAs, and I encountered an issue. No matter what I try, I can't get anything working for a stable long period of time (2008-2009 are clear examples of that as shown on this image http://i.imgur.com/aBfheCB.gif)....
  forex lines (2)
did you know this indicator works on which formula?
Here is the link to the VirusTotal.com analysis of the latest metaeditor.exe: http://bit.ly/1g4q7O6 Trend Micro and Ikarus report virus. Can somebody at the MetaQuotes raise this issue with the antivirus makers to resolve this issue? It makes me problems because I have enterprise Trend Micro...
Hi, I found similar topics on Forum, but they sounded not quite same as my case, and decided to post this one. I have following source code. double SpanA_Buffer[], SpanB_Buffer[]; //These arrays are re-sized and also initialized as follow. ArrayResize(SpanA_Buffer, a_begin-1);...
Hello, This is the code I have in Amibroker. Is this something that can be converted intoMQL?. VolRatio_6_100 = StDev(log(C/Ref(C,-1)),6) / StDev(log(C/Ref(C,-1)),100); I see in documentation mathlog but don't see anything for standard deviation. How can this be done?. Appreciate any help....
I wrote this code but don't know why is the Historical Volatility Value coming incorrect when using istdevonarray Can someone help ================================================== #property indicator_separate_window#property indicator_buffers 2double HV[];double RoC[];int...
I've copied my expert in MQL4-->>Expert folder,but when i run Meta Trader i can't see my expert in Expert advisors folder and i can't drag expert to chart,while my expert has been coppied correctly in this folder please help me...!!!!!!
Hello, Has anyone come across "Historical Volatility" indicator. I've seen thisindicator on MetaStock however never seen discussed for MT4. Can someone pleaselet me know where I can find it. Thanks The_One
Hello! I'm stojan, and am a trader since 2009. Finally I found a good strategy, which brings me perfect results, but the problem is that I haven't got soo much free time to follow the graphics and indicators. Can I please someone to make EA based on my strategy? Please write me PM Regards, Stojan!
Got the following code for reading a URL. However, there seems to be some sort of bug with string memory in both v600 and v602. The first time I run this script after starting MT4, the string return value is corrupted. On all subsequent runs, the script works correctly. A log of what's happening...
I have been running an EA successfully on build 600 since Feb. 3. I have been doing some diagnosing and testing of a totally different EA down below in the strategy tester area. Whenever I compile an EA down there, totally unrelated to the EA that is on the chart, the EA on the chart goes beserk,...