Hi, I want to broadcast a message to all the open charts. The code is already written and there was no issue, but then I noticed that sometimes one chart's OnChartEvent is not getting triggered. It's always the same. Because I am still developping, only two charts have the OnChartEvent function so
So I'm attempting to build(fxdreema) a bot(mt4) that works within a certain time frame every day. I'm using the time filter block, regardless of the settings i adjust in the block no trades engage when back testing on eurusd. I'm curious if my terminal time is off any help would be appreciated
Hi Forum, I have the following code, but for some reason when I run the strategy tester, it does not do any trades - so my results page is just blank.. (Sorry, wrong formatted code before) // Input parameters input double RiskPercentage = 1.0 ; // Risk percentage per trade input int TakeProfit = 300
Hi All, Is there any way of changing the preinstalled line (See attached Image ) on MT4 to show different colours, EG: green for line up and red for line down?, I have found the option Chart properties (f8) where the candle colours can be changed but am unable to find the options for the line
Hi, How would I amend the below code to perform an action (for example Alert new Close Price 1 and 2 only) after the opening of the subsequent bar? I will be grateful for your help. //+------------------------------------------------------------------+ //|
I have been gone for a few days and now MT4 will not open. There was a windows update just before I left but it was working fine. Now 4 days later it will not open/load
Purchased Forex Trade Manager MT4. It shows me as purchased, but doesn't appear in the Terminal, Market, Purchases, so I'm not able to install it. Any help would be appreciated
MQL4 Market: failed to load products (get header failed [12150]) blank pages in markets
(52 1 2 3 4 5 6)
hi, my mt4 terminal is running normally with build 1340, system windows server 2012 64 bit, and i can reach the mql5 market recently, but today the mt4 market is blank and i can not upgrade my products By the way, the IE is 11 and https://*.mql5.com is added to Trusted sites in IE internet options
How do I get MT4 to play a sound when an order is filled or placed? Where is the mt4 forum? Is there anyway to only be on the mt4 forum and see there market place and not have to constantly click on mt4 when viewing the market place? Thank You
Hi Sorry for this question maybe it's an easy one I use the OrderSend function to open a sell stop X distance from price OrderSend (_Symbol,OP_SELLSTOP,0.05,Ask-100*_Point,3,NULL,NULL,NULL,778,0,Red); Now I want to open a Buy Stop but only when the above Sell Stop is triggered and X points from sell
Hello everyone. I need help to solve a problem on the distance of the arrows from the candles. I have these two codes: int OnCalculate(const int rates_total, const int prev_calculated, const datetime& time[], const double& open[], const...
I'm having trouble adjusting the candle distance in this code. The arrows are too far from the candles, below is my code, if anyone can help, I appreciate it. //+------------------------------------------------------------------+ //| Italo 3.mq4 |
if ( rateChange > VelocityTrigger * Point && avgSpread <= maxSpread && totalBuyStop < 1 ) { ticket = OrderSend ( Symbol (), OP_BUYSTOP, lotSize(), Ask + ( totalBuyStop + 1.0 ) * ( Point * Offset ), Slippage, totalBuyStop-( 15 +StopLoss)* Point ,TakeProfit,TradeComment, MagicNumber
Hello, can someone, please help me to convert this divergence indicator to new MQL4 language, so I can make it to EA with eabuilder. I am new to programing in mql4 and I have made several indicators and EA's, but with this one I didn't succeeded... //---- #property indicator_separate_window
Hey dear Dev friend, I’m trying to create an MQL4 EA that can communicate with a web site I had to go through the MQL4 documentation and the only way to communicate with the outside environment is through the file functions Or should try to import a dll? I’m looking for idea, how to set this up
EA should verify all three things and how to write its code if (AccountName()!= "Shabaz Shah" && AccountNumber()!= 1234534 && AccountCompany()!= "Bank" )
How do I add a Stoploss and TakeProfit level? ticket = OrderSend ( Symbol (), OP_BUYSTOP, lotSize(), Ask + ( totalBuyStop + 1.0 ) * ( Point * Offset ), Slippage, 0 , 0 ,TradeComment, MagicNumber, 0 ); ticket = OrderSend ( Symbol (), OP_SELLSTOP, lotSize(), Bid - ( totalSellStop + 1.0 ) * ( Point
I am just learning MQL4 and trying to implement as many thing to learn many concept. So i am just playing by building an expert advisor that if a trade fail print it candle id on the journal terminal please i will be glad if anyone can help
[Deleted]
Is there any way to clear the alerts generated using Alert() function, besides restarting the platform? Can anyone help?
I am new to the MQL4 forum and I have found an interesting indicator in one of the articles that I would like to experiment with. I have downloaded this indicator and compiled it successfully, but it does not want to load onto my MT4 live system. I try to drag and drop it as I do with the other...
Hi all, I wrote the code below to support my EA. Essentially, I’m trying to add the cumulative profit until the target is reached, and then I reset the counter to zero. When the Cumulative profit is negative, I would then increase my lot size. So this would be similar to a Martingale strategy. So
Hi Does anyone know how to calculate in EA the financing fees charged by the broker? I wrote this code to calculate daily profit (see below). It works fine. Except it does not include the broker's daily financing fee. That's because the broker will list the fee under the Profit heading as a loss
Can anyone code or have any idea how to send trade details from MT4 to a Telegram channel. This is the sort of thing I am talking about. Thanks.
Hello Everyone I would like to ask how I can get a script for MT4 with the following parameters: Open multiple pending positions at the same price(to customize price), Open multiple positions at the market order at the same price(to customize price), Close all positions in one click, Stop loss with
Hello everyone! I made an indicator as a request for MT5 that works fine. And now I want to have it also on MT4. So I did it, and it works well too. When plotted on the chart or when parameters are changed, the indi "refreshes" very well. BUT, sometimes, when the timeframe period is changed (works
I have all my info. Changed my password and tried everything but I can't get into my account. It just says "No Connection" in the right corner. No pop ups or anything it feels like it doesn't register that I am loggin in or something like that
Am starting to experiment with EAs and custom indicators and would like to know if there is a fast way to 'comment-out' (//) in one go code that is selected in MetaEditor. Figure there must be, but have been unable to find the solution so far. Thanks in advance for any help.
Hi, I have 32 MT4 on one dedicated VM, it collects tick data from different brokers. CPU and memory load is <10%. During news release such as NFP, tick data is lost, it simply is not recorded, and all terminals suffer horrible lags. Does anyone has an idea why this is happening
Good day, I have entered my MetaQuotes ID on the notifications tab, under options on my MT4 Desktop. Still not getting alerts sent to my phone. Please assist: Thank you
Hello all, I'd like to know which is the exact formula (used by brokers) to calculate preventively the monetary value of a SL or a TP. I'll explain better: if I set a pending order or I send an order to the market and I put mouse over my SL or TP level, the platform says me how much (in deposit...

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.