Hi all, I just recently activate my Email Alert in MT4. I set up the smtp using online service by GMX.com. Everything works great. Alert got sent to my email, etc. I am wondering whether this email alert thing works just like EA; that it will remain active as long as the Computer running the MT4 is...
Hi. I am trying to derive the formula used by OrderSwap(). Is it like so: Orderswap = (MarketInfo(currentsymbol,MODE_TICKVALUE)/MarketInfo(currentsymbol,MODE_TICKSIZE))* MarketInfo(currentsymbol,MODE_POINT) * OrderLots(); ?
Hi all, i'm trying to add alert to an indicator, but only on certain levels: if (Extend_Line) { for (i = 0 ; i < Maxbar; i++) { if (UpBuffer[i] > 0 ) { level = UpBuffer[i]; for (c = i; c > 0 ; c--) { if ((Open[c] > level && Close[c] < level)){
Hi, I am trying to backtest but I am unable to download sufficient data into MT4. Oanda says you are the owner of the data. I am looking to backtest 2016 data for the following pairs. EURCHF AUDCHF CADCHF USDCHF EURUSD AUDUSD NZDUSD NZDCHF How can I get more historical data into MT4? Thank you,...
Hi everyone, am creating an indicator for MT4 and I need to be able to dynamically change the line colors when certain conditions are met. Unfortunately, once I specify property indicator_type1 DRAW_COLORLINE the lines disappears entirely and are no longer visible. However if I change...
Hello Coder If anyone have idea or advice for an issue I am facing, it would be very appreciated. When I place buy trade, I use previous candle open price. To ensure Buy Limit order is triggered. I need to use Open Price + Spread when placing Buy Limit order. I have coded below to place buy limit...
[Deleted]
Hi guys, I want to count the total number & separate new line from the multiple of label (string) that have same value. Example: Sun Opposition with Mercury & Venus Opposition with Mars. At the moment, my code use OBJPROP_YDISTANCE & plus the range to separate the lines. So how to separate the same...
Hi all, I need to use the fractals indicator , but I need it to use 3 bar config - lower high, higher high, lower high and higher low, lower low, higher low. Is it possible be used this way, and if not, is there any way to achieve that ? 10x
[Deleted]
I came across this interesting EA in the archives but cannot get it to trade on backtest. Any assistance? Or is it not able to be traded on backtest? I didn't bother posting in the original thread since it is too old. Thanks
I have the MT4 and Im on the 1M GBPUSD and I downloaded the latest data but when I get backtest the last day it says the data for that period isnt available.
I have 2 accounts in MT4 with 2 different EAs. But it seems I can only enabled 1 at a time, as it disables the other when I switch accounts. Please help!!
Important Update for MetaTrader 4 build 1080 The MetaTrader 4 platform update will be released on May 12, 2017. We strongly recommend that you install this update. A month ago, Microsoft released a major update of their operating system Windows 10 Creators Update (version 1703). After installing...
[Deleted]
Hello to all, for about two months I discovered the world of binary operations. I downloaded MT4 and I tried to understand the workings of the candles. I noticed that often after a candle long the trend will change within 15-20 minutes. Taking a currency as an example, this happens at a rate of...
[Deleted]
Hello, I have installed MT4 from metaquotes.net and cannot create an account. When I launch the program, it opens and the pop up "Open an Account" window comes up immediately, with my wife's information already entered into the fields as she traded from this PC previously. However, after filling...
Hello friends please to close the profit with profit protection not clearing the account. . Period M5 or M1 . ECN Account . Starting balance $ 100 or $ 500. And set to become profitable? Thank you. <Decompiled code removed>
Hi all, I am trying to do my own programming in this indicator. I took the default RSI code from MT4 and made some modifications. However, I add in the moving average of the RSI code, the compiler seems ok but when I apply to the chart, there is only an RSI line. The moving average of the RSI is
[Deleted]
I'm trying to write a custom indicator usually i press F5 and it compiles and I see the changes immediately on the live chart except for any changes in init() I'm using arrows which are sized in init() like so int init() int size = 4; SetIndexBuffer(2, signalUP); SetIndexStyle(2,DRAW_ARROW...
Hi. This post is a continuation, of sorts, to the thread started here: https://www.mql5.com/en/forum/218952 . It was titled "Swap Calculation issues..." by BoredMember but the thread was hijacked by the "rules", so many of us never got to see a solution. I am approaching the issue in a different...
Hi, as the title says I am trying to do a spread check and if ea loses 3 times in a row the ea stop working. I dont know why it is not workinnng. Any help will be much appreciated. I will be using my ea just for forex. extern string _tmp1_ = " --- Trade params ---" ; extern bool QuotesExtraDigit =
HI, I have a 2 part expert which runs perfectly on the strategy tester and real account, but when merging them together there is some errors as following: 1. stop orders does not open on the range for example if I had ordered to open sell stops between 1.11 and bid price in EURUSD it starts from 1...
I am following a trader on MT4. Is it possible to receive an SMS as soon as a position is open related to the trader to which I am subscribed. Conversely, I do not want to receive SMS from my expert advisor who is on the same account as my signal subscribers. Is all this possible and how to do ?
Hello, I just bought an Expert Advisor on the market here for MT4. However when I click on `Install on the terminal'. I see this message in MT4: `MQL4 Market: failed to get of info product [404]` I am running BDSwiss Global MetaTrader4 on a Mac. Hope someone can help me, if you need more info, just...
Hi! For background info, my MT4 build is Version:4.00 Build 1170 (20 Dec 2018) across all my PC devices. I have a problem equipping EA on one of my PC. It keeps saying 'EA' is not expert and cannot be executed. I was using this EA since long ago and this problem seemed started after 31 March.. But...
Hi, I know that there is a mql4 function of: SignalUnsubscribe() My understanding of this function is that it actually cancels the subscription entirely; so, if you wanted to start the same signal back up 1 day later you'd have to pay the full month's subscription fee a second time. Is this...
Hi All, While I'm not entirely new to coding I'm no pro either. I'm trying to code an EA that trades based on a basic Donchian Channel strategy, where I place a buy order when the price closes above the upper band, and closes that order when it touches the middle band. The short will open when the...
Hi, I import all currencies live price data from MT4 to Excel. Despite The other currencies show price, no problem, but EURJPY currency show me as "N/A" value. I try this formula in Excel to import prices; ='MT4'|BID!EURUSD . This formula work all currencies but EURJPY not. What can be problem...
I have a few EA and indicators that depend on several libraries and include files. Is there a way to make a sort of batch build file to compile all of them instead of manually build within MetaEditor?
Is it possible? If possible, what is the shortcut key (It is not "Shift + F12" as said in some topics)? Thanks.
Hello, I left a stop loss on over the weekend, the starting price when the market reopened was well above my stop loss. Rather than go I g me my stop loss price at cash out I was given the very high price that the market reopened at. My friend on the same trade was given his stop loss price though....
Hello Guys. :) I found an ea that's working nice, it has option open pending order (buy stop and sell stop) before news in time I set it, and cancel a pending order that was not trigger. The problem is, when the order is trigger there is no option to close automatically an opened order, and I would...

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.