[Deleted]
I have check several forum but i did not get any solution to my problem. i am trying to build an EA which can only take 10 trade maximum or an other number of trade i want and it should wait for the closing of the rest trade. So can anyone help me regarding this problem.And also can anyone tell me
Hello, When I run my code at backtest for optimization, even skip useless result option is unchecked I can not see any negative results. Also there are 400 combination of my parameters but I just see at most 180 passes. as I said "skip useless result" is unchecked. why could this be happened ?...
I am having an interesting issue where I call the Comment() function each time I get a new tick and instead of clearing the existing comment prior to writing the new comment it will simply write the new comment below the old comments. Sooner or later the comments have filled the entire screen and...
Hello, Been using MT4 on Windows. Now want use Ubuntu to run several EAs simultaneously to test. Have copied folder from Windows and created three folders in Ubuntu. Folder 1: existing EA (still running on Windows XP laptop) Folder 2: new EA Folder 3: new EA All three terminals are running, logged...
Hey Guys, I'm actually writting my own Expert Advisor and want to draw something in the chart. Is there any option to do that, like in the picture below? I know, that there is the possibility to draw a channel in the chart. But I think, this channel doesn't looks so good like the channel in the...
Hello there, I'm trying to run my MT4 terminals automatically on Windows startup through Services and Task Scheduler on my Windows Server 2012 dedicated server with no success. Looks like it is not possible to run MT4 as a service because it uses specific, user dir, so that user needs to be logged...
staff need help with the script that I leave here to download Hello. This script is the type OCO (Order cancels other) I am very grateful if anyone can help me with what I need. The script has just about everything you need to operate news, but the changes you need are the following. In...
[Deleted]
Hi! I am beginner in MQL4. How can get some info from an added indicator? For example, the indicator color and value. G.
I've had a long hiatus from MT4 so am re-learning the environment again... I've written my methods to output my required results from each optimiser pass to an external file using OnTester(). I'd like to add a little finesse in the form of a "header" row in the file; from everything I've tried,...
is an easy question,it is possible???to make moneywith scalping if we pay de spread(we cannot place limit order inside the bid ask spread) without martingale??? many years of trading behind me and i dont think is possible! thanks
[Deleted]
Trying to write a script to scroll a chart continuously. Beginning with a pause of 5 seconds. Not sure if this is the right direction. Could someone tell me if this code is the right way to accomplish this? Thanks! //+------------------------------------------------------------------+//| Script...
When i log into mql5 site, i can see my subscription and when i look at history i see i missed a trade and no trade shows on my account any idea how i can cancel the subscription cause it doesnt work or 2. fix it? or 3 why im not getting any signals copied?? and any help with back testing would be...
[Deleted]
Hey Guys, I've been using an indicator called ZUP for harmonics, but I just hate how convoluted it makes the charts. There are so many extra text bits and lines that I find completely useless. I would go in and edit the code, but its 8000 lines and looks hideous. So I figured I'd just build my own...
I am trying to find an object based on a wildcard search using ObjectFind only on the current bar. I know that if I know the exact name of the object I can use: ObjectFind("label"+Time[0]); However, what if I wanted to find label2 or label3 or whatever number is at the end?...
My indicator fires alerts perfectly in realtime but while using the strategy tester it does no give me one alert. Originally it is based off of Bid or Ask prices but I realized that wouldn't work in the Strategy Tester because obviously the market it closed. I changed Bid to Low[0] and Ask to...
This is the indicator: http://codepaste.net/yohneb and what im trying to do is when the histogram changed color from red to blue or viceversa it will enter a trade iCustom(NULL,0,"SLOPE HISTO~",80,3,0, 0,1)>0 &&iCustom(NULL,0,"SLOPE HISTO",80,3,0, 1,2)==0; //--- iCustom(NULL,0,"SLOPE...
[Deleted]
Is there a way to scroll multiple charts at the same time, from the same point, on each chart? Thanks!
I am not sure if this post is an acceptable subject of this forum, but I know of no other platform to raise this matter. We all know that Metatrader is the most popular trading platform in the world. MetaQuotes is spending a lot of energy, time and money in developing MT5, which until now has had...
Hi I get 2 errors on this function #property strict#import "stdlib.ex4"#importvoid CloseLongTicket() { for(int i=OrdersTotal()-1;i>=0;i--) if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES) == true) { if(OrderType() == OP_BUY) bool...
Hi coders, if I have opened 20 charts I only want some calculations done on the chart I am currently watching. So it might be useful for an indicator to check if a chart is currently active. I found a solution here: https://forum.mql4.com/30084#276651 but this posting is from 2010 and I wanted to...
[Deleted]
Hi guys, i loathe to ask this, as i'm sure it's going to be something very simple, but I've exhausted all the avenues i (knowingly) can explore. I''m receiving an out of range error message, located at (according to the info provided in the terminal experts tab) Ln 222, Col 25. This is the line...
Is there any way to change the strategy tester speed to something between 31 and 32 in visual mode? 31 is a bit slow, 32 is too fast.
please have tried to make the arrow appear after the close of the signal candle in other to avoid repainting but all to no avail. please help me out , below is the code. <Decompiled code removed>
I want to add line in specific range OBJ_HLine Draw line in Complete Window i just want to draw line in specific range
Hi, I am having another application which is writing values in a csv-File. This application is done from another programmer and I can do nothing on it. Now I was reading the data for a while and it worked fine. Now - I don't know what happenend I can't open this file anymore... I thought perhaps it...
My alert() function accumulates messages each time it triggers. I want it to output the messages only once and not to accumulate it in several lines. Somebody may help please. See picture below for perusal. The required message is the one above while the unwanted messages have been highlighted in...
I'm trying to group some common functions into a library of my own and for some silly reason can't get things to work. In my rlib.h file (located under "...\MQL4\Include" I do the following): #property copyright "xxx" #property link "xxx" #import "rlib.ex4" int subGetMagicNumber(int...
what is the best way to make a flag using the ObjectCreate function or bufferI can not seem to distinguish between the two I find indicators with 0 buffer and others with buffers please can any one explain to me tje difference thank you
Hello, I have a problem to assign values to different local variable, I have 5 position open at different prices but my script gives the same value to 5 different variables Where is the problem??? thank you for any help

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.