hello all. I have created an EA that creates some templates in "files" and moves them into the Templates folder using Windows API (as I can't write into Templates); when I tried to publish in the market, MQL5 rejected it. Some days ago I saw a post where it was provided exactly this recommendation
//+------------------------------------------------------------------+ //| ADX_BtcUsd.mq4 | //| Expert Advisor per Trading con ADX e RSI | //+------------------------------------------------------------------+ #property
Does anyone know how mt4 calculates CHART_PRICE_MAX and CHART_PRICE_MIN ?
MetaTrader 4 Crashing on Macbook Pro M1 (OS Sonoma) Here's the problem: 1. My MT4 suddenly stopped working. It froze and I couldn't click anything, so I had to force it to close. 2. After that, I couldn't open MT4 at all. 3. I tried restarting my computer and opening MT4 again, but it still
Hi, I have been using MT4 on my Android device for weeks, but yesterday it stopped working. I cannot place any orders anymore. I have tried to re-install the app, clear memory and also have I tried to install MT5. Nothing seems to be working. What am I doing wrong? Kindest regards Peter
Hi everyone, I’m just getting started with writing MQL4 Expert Advisors, and I’m working on one that sends a notification to a local server whenever a new trade opens. I have the server running at http://127.0.0.1:80 , and I’m using the WebRequest() function to send the data. The EA compiles fine
How to change laberage in my signal acoutI was change lavarage in my acount fbs but in my signal acount not be change
Please guys look at the following code. It is meant to print numbers from 1000 down to 0. But I need to break out of the loop before it hits 0 by the press of a button. How can I achieve that? Control doesn't enter the loop. void OnInit () { ObjectCreate ( 0 , "Run" , OBJ_BUTTON , 0 , 0 , 0 );
So I've spent all day trying to figure this out, the MT4 download link from the official website gives you MT5.... Go test it out yourself and download it and check in the "about" section, it will say MT5. This is extremely problematic as I don't have MT4 on this PC and all my purchased EAs are on
Hello everybody, unfortunately I receive these errors: 'DrawLevels' - function was not declared as export FX WATER LEVELS_V0_9.mq4 50 6 'DrawLine' - function was not declared as export FX WATER LEVELS_V0_9.mq4 94 6 'CheckAlerts' - function was not declared as export FX WATER LEVELS_V0_9.mq4 121 6
If I rent a VPS from Metatrader, does any kind of support come with it if there are problems or if I have questions, etc? If so how does that work? I don't see any mention of support (or pre-sales support for that matter) on their web pages eg https://www.metatrader4.com/en/trading-platform/vps
Will Brokers Close MT4 Soon? Hello, fellow traders! I’m seeking your insights on something that has been on my mind recently. As we know, MT4 has been the go-to trading platform for years, trusted by millions of traders worldwide. However, with the increasing popularity of MT5 and brokers gradually
Hi Guys, Have just joined this forum. I have just taking the step to begin my trading journey and have completed a course on IG.com and learning from Bapybips.com as well. I have opened a Demo account and MT4 platform. Can anyone advise if I should be practicing while I am doing the course and where
I am running the MT4 app build 1425 on my Iphone and receiving a plethora of messages under Profile. All are apparently informing me that my VPSs are connecting to MQL5.com: "New MQL%.com authorization from 'xx.xxx.xxx.xxx', U.S. New York (MT5 terminal) - previous 'xx.xxx.xxx.xx', NL. How can I turn
Is there a way to use metatrader as a simulator at all? So if you wish to practice tradeing based upon past data and when the market is close on a weekend you can do so at all? I was just wondering if this could be done. Thanks Larry Liles lileslarry@yahoo.com
"Hello, I have an Expert Advisor for MetaTrader that works well, but the problem is that when running it live or in backtesting, I get an 'Array Out of Range' error at specific points and lines in the code. However, the location where the error occurs lacks any data. These errors occur randomly, and
Good morning Forum, I have an EA that currently has two variables: buyOrders and sellOrders which increase by 1 each time a new trade is made. I have a maximum number limit which is currently set at 10 buys and 10 sells simultaneously. If a trade closes, then I would like these variables to decrease
double atr1= iATR ( Symbol (), PERIOD_W1 , 5 , 1 ); double atr2= iATR ( Symbol (), PERIOD_W1 , 5 , 2 ); retun the atr1 And atr2 Value is 0 ; why? int weekly period, i can read the K-line,so ,I Have data
Hello, I can log into my profile using the MetaTrader4 app. But when I open the Desktop MT4 terminal and use the same login details, it tells me the login details are wrong. I restarted the computer and closed everything and then reopened it. What can I do? Thank you very much
Does anyone know any EA or SCRIPT which will calculate the TP and SL levels by itself and closes the orders when either the SL calculated or TP calculated would be hit.Before you ask, this would be to get around STOPLEVEL and to allow me to trade little position sizes. To understand it better it...
Hi guys, but I'm trying to download some missing currency's from the 'history data' for backtesting and it tells me there's no history data and wont let me download. Can you guys help? Thanks again
[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5.
(4316 1 2 3 4 5 ... 431 432)
(Previous part here ) Hello, Could you suggest a function in mql4, which among several open buy positions, starting from the lowest price, counts the specified number of lots (sum) and outputs the price below which this number of lots are. Orders are market orders. And the same, but for sell. To
How do you fix this issue? I have a Live account with a broker but can't place a New Order. All of the markets are showing as disabled
Hey guys, I am a bit stuck and need help. I am currently coding a semi-automatic MT4 EA for order placement and management. The idea is, that I insert these variables: 1) Order direction (buy/sell) 2) Start price (e.g. 2800) 3) End price (e.g. 2798) 4) SL (e.g. 2802) 5) TP1 (2796) 6) TP2 (2794) 7)
I need 15M 1H 4H 1D 1W for all 28 pairs for 30 periods back in my EA. I have used a very good tool in MQL5 published here but is there a way of doing this in MQl4?
Hello, I'm having an issue getting the correct signal from my indicator. Previously the line of code stated ( if x > 1) and it signalled correctly now i want it to signal if x is between 1 and 2, but the back test seem erratic, I'm using the code below if (x > 1 && x < 2) it seems as though it'll
We trade Forex using an EA (MT4). We found calculation errors in profit calculations at back test as detailed below. We would appreciate system correction because we need accuracy in back test profit and margin forecast before migrating to an real account. Please find attached sample "Results" tab
Hey guys, I've extended the basic Zigzag indicator as following: - peaks on close values (not wicks) - 4 additional arrays: valid highs & valid lows + associated wicks. They save the peaks as soon as they're not changeable anymore - after new valid high it compares with previous high wick + 20 pips

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.