To gain experience in this area, I will write 25 EAs for free for your interesting ideas and strategies 19 EAs left
I've been trying out things but i really can't seem to figure it out, i tried doing loops but i'm probably doing something wrong. What i wanted to happen is to only do a sell signal when all 10 candles is below the moving average. Here is the photo to visualize more : https://ibb.co/LtHDPhp double
I am trying to create EA(MQL4) And Critical error Array out of range in EA error appeared. In fact, I'm trying to turn an indicator into an expert. I have done this before. But in this case, I encountered an error in the title. This problem occurred after adding void FindZones (). This part of the
Hello I am looking for the Bollinger bands indicator with color change of the sup and inf bands according to their direction for MT4 like the one below version mt5 https://www.mql5.com/en/code/16489 https://c.mql5.com/18/53/BB_filled.png thanks
Hi All! I am having trouble calling the correct values from a downloaded custom indicator on MT4. The indicator is a Chandelier Stop indicator. I manage to use the iCustom function to call the value, which works when the price action is below the indicator value, however, when the price action is
Hey Everyone! I am having an issue, my EA is Working Fine in Live Market But when i run it on the Strategy tester it is not opening any trade and return Error is 138. I have tried to Fix this issue by Reading many threads And i Have tried everything that i can get my Hands on, but the issue is
Hi, I'm building a mt4 FX trading system in mql4 and python. I could connect mt4 with python using win32pipe - it's a python library that connect to other win32 languages and send data . But I wonder if it can be launch the system and others can use the system on their own mt4. I'm going to launch
hello every one. I am so new so fresh in MQL I try to learn this language by practicing in this case I try to check the chart objects( trend lines ) like this: #property version "100.002" #property strict extern string LongTrendLineDescr = "LTR"; extern string ShortTrendLineDescr = "STR"; extern
After position has been closed OrderCloseTime() returns 0, but OrderTicket() and OrderProfit() return correct values. If I call OrderSelect() before OrderCloseTime() it returns correct datetime... Sleep(1000) call does not help... Tools and account: MQL4 Alpari MT4 Version: 4.0, Build 1320, 11 Dec
hi guys i try to trade eurusd , by another chart ,the EA is placed over EURCAD and here i want trade EURUSD but if i try not work why ?? //+------------------------------------------------------------------+ //| test.mq4 | //|
Hi guys, I hope you doing well. I wrote an EA which is more complicated than this below, But as an example in the below code, I used ADX to get signals, when it's running on real time it works perfectly, But when I want to back test, It doesn't actually works, Then the strategy tester doesn't move
Is it possible to separate class definition and implementation in MetaTrader 4, as in C++ .h and .cpp files? All MetaTrader examples have class definition and implementation in the same file. I would like to give header and *.ex4 compiled files, as in C++ I would give header and lib/dllfiles.
Hi Why I see Rectangles instead of arrow or fractals in MT4 ? I put my EA in Tester and it didn't show arrows or fractals. I tested in several MT4 but the problem still exist any suggest, I appreciate. I attached an image. https://pasteboard.co/JKzTkAu.jpg
Hi i copied ea to expert folder in metatrader target folder, but don't show anything in platform navigator. i think this problem when Happened metatrader automatically updated 2 days ago. What should I do to fix problem ??
Hi Today for some reason MT 4 stopped sending trade notification to my cell phone. I have not changed anything on my computer or cell
I have an EA that I run on 2 live accounts with 2 different brokers. With the first broker the EA has been running for more than 6 months and I have perhaps seen this problem appear maybe once or twice. With the second broker which i have been using for just more than a month now the problem has
I want to get the Minimum value from the following external variables excluding the empty fields. It could be something like this: A = 1.354; B = 3.762; C = 0.0; D = 0.0 Below the external variables and the formula: extern double A = 0.0; extern double B = 0.0; extern double C = 0.0; extern
Im new to Forex on the MT4 platform so this is a demo account, the green arrow is where i placed my sell trade but it ddnt take profit when it hit the take profit line.There are two candlestick that hit my take profit twice so im very confused .Please help
Hello, when i create a bitmap if (! ObjectCreate (chart_ID,name, OBJ_BITMAP ,sub_window,time,price)) { Print ( __FUNCTION__ , ": failed to create a bitmap in the chart window! Error code = " , GetLastError ()); return ( false ); } //--- set the path to the image
I am consistently getting an OrderSend error 129 for invalid price on my EA. The same EA is running on several pairs, for most of them it works fine, but there a few pairs that consistently get errors when trying to open a trade. I am refreshing the rates before sending the order, and if the order
[Deleted]
While running my EA, I occasionally get an error #1 when trying to make a buy orsell. After which, it fails to continue trading. What does this error mean, andhow do I go about fixing it? Thanks -Shane
hi i have maked a EA, it work good, but in 2 account works differently, i loaded it in 2 account, this accounts are in 1 server, sometimes account 1 make trade, but account 2 not make trade! EA is the same in 2 account, the trade codes: if (dealNum== 1 && !enter && ReEnter)
Hi, I am making an expert advisor that runs on every tick. I am trying to find a way to end the execution of the script prematurely when a condition is met early on in the script, and then the script won't execute again until the next tick. I know I could just put the entire code after the condition
Hello I have a script I run every time I trade and so I want to make it quicker by assigning a hotkey to the attachment of that script to the focussed chart. How can I do this?
Hello I've attached an image of a test indicator applied to a live chart and to a strategy test - The same indicator stored in a template EA The image shows different results , this is the test code below Can anyone help me understand what the issue is ? #property copyright "" #property link
Hi Sergey and /or Eleni, I am using mt4 and am curious about how the spread works between mt4 and my broker. How is the mt4 spread determined? Is it a direct feed from my broker? If I change brokers will I get a different feed (hopefully with a smaller spread)? Below is the display on my mt4. Does
do { int entry_buy() { Close[0]>Main_Trend; Close[0]>Sub_Trend; Close[0]>Third_Trend; Close[0]>Fourth_Trend; Close[0]>Fifth_Trend; Close[0]>Sixth_Trend; Close[0]>Seventh_Trend; Close[0]>Eighth_Trend;
Need to code a simple MACD Cross over and U turn of MACD.......however EA is not picking the right spots for closing the trades. Sell trade opens, when MACD cross below Signal line while MACD is above zero line Close must happen when MACD Cross zero line from below, or when MACD turns down signal
Hello, I want to announce the BUG on the MetaQuotes website here: https://www.metatrader4.com/en/download The download link for MetaTrader4 is wrong, it downloads the setup file that installs MetaTrader5
I have a custom chart software made for my iMac using API trading. Now i am wondering if it is possible to use a custom MT4 indicator. I fully understand that my software need some kind of core library to even understand .ex4/.mq4 files. But to go any further, is it even possible

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.