Hello, is it possible to get the values of candle Where two pairs cross? I have a overlay indicator, but i would like the intersection between them. Thanks, Danilo
Hello friends I have written a code in mql4 everything is right but I am unable to add the lot and tp increment function into the EA. I request anyone with the knowledge to assist me in writing the code of this ne function. Here is the logic of the function and also keep in mind after the trade hits
I have a MT4 indicator, which gives me buy and sell signal. I am not sure how it works and what calculation it uses. What's the best way to figure it out
Hello I have written this piece of code into my EA but it's not working kindly help me correct the bug and make it function well: Below are the the conditions under which the function should follow: Every time a multiple of "n_op" successive loss-making operations is reached, the EA increases both
Hello. Is there a way to modify arrow anchor when it is a buffer in custom indicator
Hi all guys, I have a problem in mql4. I create objects (labels and buttons) to display on a graph by specifying anchoring and coordinates in pixels. Unfortunately, however, in some MT4s the position of the object is not correct, it overlaps with other objects, while in other MT4s you see everything
Hi everyone, it's like one year that I'm studying trading and automated trading. I'm trying to figure out different trading strategies in MQL4 using Metatrader4, manly focusing on forex scalping. I have a limitation on every algorithm that I create, the trade are open some pips too late, probably
If I insert a trendline in a daily chart, although it is set to 'Visible in all timeframes' it is not appearing on my hourly chart or 5 minute chart etc. Any suggestions to correct this?
Hello, Is it possible to add in color transparency to an object? Eg. I want to take a rectangle and instead of making it while #ffffff i wanted to make it transparent. I was wondering if anyone can show me some example code to do this? Thank you
Hello Everybody, when i set rectangle objects that overlay, their color mixes up like they are transparent. However, how can i change that, so the color stays the color i set up for the rectangle? really annoying ... thanks for any help!
Hello Frends >>>>>>>>>> pleasae i need help in this code i just want to close all sell and buy orders in the profit target >=10 this codes below close only sell orders or only buy orders if the profit target >=10 ...... i need to close all orders when the all orders be >= 10 in profit target i
Hey guys, I'm looking for an MT4 EA that allows me to devide one limit order into several smaller orders all with the same risk %. Example: I want to enter a trade on this parameters: Limit: 5 $ SL: 4,5 $ Total risk 5 % Number of "sub-orders": 5 And the result would theoretically be: Trade #1
i am getting a Sell/buy Failed with Error #4051 Invalid lots amount for OrderSend function . i am still very new to coding and i am trying to fix these errors, but the ea places the buy&sell trades just fine. so i dont know what is wrong with the Ordersend line. could someone please give me some
Hello! How to write the code to detect the floor and ceiling in the market
Hello all, I just downloaded MT4 on my PC running Windows 10 - Version 10.0.16299 - Build 16299. I'm trying the basic task of adding expert indicators, which requires that I go to File > Open Data Folder. However, when doing so, I get an error stating "This App Can't Run on Your PC" with a...
[Deleted]
I was wondering what the change in the buffers is when you scroll back and load older data. I am guessing the pre existing indexes are unchanged and the new data is added to the back. However what is the maximum size the buffer can get? Is an event created? Does the event cause the start() function...
Hi everyone, Ex: I have 2 order limit ( Buy Limit GOLD 1920 and Sell Limit 1925 ) When the price goes down to match the buy order, is there any way to check if it has matched the order to get information (opening direction) and delete the remaining sell limit order? Thank you
Hey, the new 1045 build has issues.....does anyone have build 1030 or one lower for upload?
Since VPS does not accept global variables, do they accept files or not? I need a variable that will be retained even when I shut down MT4/5 and not just a variable that will be remembered within function calls. And I think file processing can handle this efficiently. Also my EA is meant to be
I need to draw a circle object after a text label, how can i do ? Could you please give me an example
Have anybody experienced difficulties when trying to login to MQL community via MetaTrader and if so did anyone manage to solve that problem? I use MetaTrader4 and i cannot login to MQL. It tells me that either my login or my password is incorrect. I can login via any web browser with no problem
Hi please after last update everytime i fail to install mt4 or mt5 upon clicking the exe file it always gives me this blue screen error: this app can't run on your pc error !!!???? I have tried three different pc with three different windows operating systems 8, 10, 11 with no success so now i cant
[Deleted]
Hello to all professors I want a distance of 10 pips on the last position That is, when the last position is taken, if it goes to profit, no new position will be opened for another 10 pips And if the last position goes to the loss, the new position will not open in the same way for another 10 pips
Hello guys, may I ask you a little question: Is it possible to send a webrequest to a specific port? (MQL4) And how can I set up metatrader 4 to communicate with a localhost? Is it possible to send a request to a "http://localhost:10000/" ?
WebRequest returns ERR_WEBREQUEST_INVALID_ADDRESS and I'm...
These indicators are all based on a 2004 April issue of Technical Analysis of Stocks & Commodities article by David Sepiashvili. Originally there were only 2 versions developed by the author, but there were some possibilities that were not explored in that article which lead to developing some more...
[Deleted]
Hello, I've tried without success to let the user choose wether the indicator will spawn on a separate chart window or on the chart window. Someone has any idea on how to achieve it
hi my code work correctly in live market but in backtest it opens too much positions at the same time what is the problem
Hi, I was hoping someone could show me how to achieve this in code thanks
There's a newly added feature in the mql4 wizard which is python script. How do I add the python script to an mql4 expert advisor? I am only aware that it is possible to add include files into the expert advisor
Hello Everyone, Please I am trying to create a bot that takes a buy stop and sell stop order simultaneously at a a particular time but it seems there's a trade order error. Code attach below

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.