Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1030

To post a new topic, please log in or register
Here is my gift to all. It is not much, but please accept it. FOREX RULES: 1. Do MANUAL optimization, analysis and research on weekends. 2. Weekdays are set for automatic trading. 3. Monitor system randomly, i.e, every 5 hours, just to be sure system did not go haywire. 4. If system...
Can someone please tell me where I can find a list of Error Codes and their meanings when using the GetLastError() function? - thanks
Is there a way to get MT4 to show 26 periods to the right of the chart like the indicator is supposed to?
I would like to have an indicator that I can leave open on the daily chart but it monitors all timeframes below it. How can I get the close of a timeframe with set period? if (Period() == PERIOD_D1 || Period() == PERIOD_H4 || Period() == PERIOD_H1){      if (Period() == PERIOD_D1) {         if...
Hi, When backtesting my EA I noticed that my E.A ignores most of buy or sell signals despite all conditions are exactly met.(almost half) I confirmed this on charts visualy after every test.This happens both working on "Open Prices only" and "Every Tick" modes.And sometimes my E.A opens trades for...
I'm trying to set rectangles for the chart background but seem to be getting the same colour no matter what, which is orange????? Seems like it's laying the colours over each other regardless of the timeframe ObjectCreate("D1_Rectangle", OBJ_RECTANGLE, PERIOD_D1, Time[2],Low[2],Time[1]...
Hi folks! I was wondering if anyone can help with this simple problem. I set my EAs to run on the 1 hr timeframe, but I want all positions to close after 24 hours.. I've attached my code below and am still having a hard time transitioning from VBA.. Any help would be greatly appreciated. =) Thanks!...
#property indicator_separate_window#property indicator_buffers 7#property indicator_color1 Red#property indicator_color2 Red#property indicator_color3 Red#property indicator_color4 Red#property indicator_color5 Blue#property indicator_color6 Blue#property indicator_color7 Blue#property...
Hello Experts! Who could repair this script?? thanks pansa
Hi Can someone tell me where I can find documentation for the complete list of avaliable "common functions" for the MQL4 language set? thanks
someone explane please! I entered NZDCHF short at X and had my stop-lose at 0,7349. After my entrence the NZDCHF got to 0,7342 (the highest). My NZDCHF operation was taken out with the 0,7349 stop-lose signal. How can it be if the pair nether got that high? Can any body explane or it's a broker's...
Can someone tell me how the DLLl file works in terms of protecting an EA form reverse engineering ?? In other words, can the DLL file be reverse engineered, because when you open a DLL file up you can see a lot of code, or is some of it hidden from veiw ??
Hello there, I really have tried to design this system, read the book and searched the code base, but i couldn't, so please guys, anyone can help me about it.... I want to make a system that Buy lot 0.01 when RSI 14 Smoothed cross over 30 close the position with 10pips or when RSI 14 Smoothed cross...
Topic basically says it all. I have a pal in another city and he is trading manually and getting very good results. I doubt he has much of a trading plan, non the less he is almost doubling his account every week. If I could take his history and show the trades on the chart I'd get a better idea of...
I once found a generic flow chat for EAs on this website but I can no longer find it. Does anybody knows where it is? Thank you,
Hello everyone, greetings from Brazil. I´m a experienced trader, and I´m programming my own EA. Well before of my ea to be complete, I have wrote a program to read a special cvs files, with the entries points, and exit points marked. Well I can compile the text file, with no problem. But when I run...
Hi, i'd like to make an ea with this indicator : perkyasctrend, (thanks collector !!), but the ea seems to miss some dot .... but not all of them ?!? here is my code : double perk_up = iCustom(NULL, 0, "PerkyAsctrend",4,250,0,1); double perk_down = iCustom(NULL, 0, "PerkyAsctrend",4,250...
I've been trying to figure this out for a while. I've boiled the code down to the following snippet. From what I can tell no matter what you change the value in the buffer to the "Average" stays the same. #property indicator_chart_windowdouble Buffer[];int init(){       SetIndexBuffer( 0,...
Hi, I am searching some code in order to use some concept from the Discrete Fourier Transformation ! If you have code on C++, Python or MetaTrader 4, it will be great !!! Best Regards UKALGO
First of all(for Cloudbreaker), I have tried to search the forum and found nothing on this topic. I thought it would be interesting if you could change the background color of the chart based on a buy/sell indication. Is this possible within the constructs of using an indicator or EA, or does that...
Welcome my friends Today I offer you a new expert for sale only $ 200 To connect expert.fx @ hotmail.com
Hello, is it possible to view 2 charts in one Window or to compare two charts with an indicator. Differenz between Gold and USDX for example. Thanks a lot if you can help. Zwongo
Each time I try to overlay the MA to MACD by dragging and dropping on the MACD it goes to the main chart. Any ideas?
Getting 138 orderclose messages only with sell orders, Any ideas why ?
  iMA problem (2)
Hi With ima crosses, why do they not work ? With one EA, it draws the ima's in the window, but in the other you can see no ima's Why is this ?
Hello, Does anyone, or has anyone, already written a scrip which calculates the highest and lowest price within a specified time range (for example between 10-11am) and give the values of those highest point?! I am new to coding and have limited coding skills. Just on the of chance.... Thanks
Is there a way we could calculate the percentage of a candle outside a bollinger band? For example, an upper bollinger band is at 1.5000 and a candle moves outside of this value to a high of 1.5020 and the low was 1.4990. Do we just calculate the height of the candle and how much of this is above...
How to display in a MessageBox the Open Price?? I use this but with no help : MessageBox(MODE_OPEN) I want to view the Price ex: 1.65656 in a message box... in MT4
As a new EA coding trainee, I use VPS to backtest few ideas I am working on. But I have this problem after testing few options, the computer will show; "YOU HAVE VERY LOW MEMORY IN DISK C". And the VPS has over 2GB memory. I guess the result of previous tests is what is causing this problem, but I...
WHAT PARAMETER CAN BE PASSED INTO FUNCTION Period() e.g is it possible to pass this parameter period(period_H1).or any other way of passing a parameter into it.