I want to create a button from button.mqh with text in 2 lines but the \n is ignored in myButton.Text("Line \nNew Line");
The Mt4 platform cannot be registered any more. When will the Mt4 platform be completely removed to trade on Mt5
void OnTick() { double ADX = iADX(NULL, 120,14,PRICE_CLOSE,MODE_MAIN,0); Print("ADX : ", ADX); } I just want to get the ADX of 2 hours timeframe but it always return zero. I think this is a bug from MQL4 because I researched the web and many people have the same problem with no one solving the
Hello, MQL5 Community Please assist with the following code function: "check operator precedence for possible error; use parentheses to clarify precedence". I have attached an image and snippet of code showing where I get the warning "⚠". Despite my best efforts, I have not been able to resolve this
//+------------------------------------------------------------------+ //| Cambio.mq4 | //| Desarrollado por William Miranda | //| Telegram:@wmirandamor |
Is there a way to add Absolute Drawdown column in the Strategy Tester Report so that it shows the Absolute Drawdown for each order? If we can't do it in MT4, anyone knows a tool, app, or website that can do this
Today I have new update for MT4, but I didn't find any news about it. Why is there no news at all from metaquotes regarding the MT4 update
Hi can some make this indicator arrows to be visible in data window ? Thanks
hello, I need a custom code for mql4 following this plan of martingale: 1-a trade is opened using lots 0,01 for example. 2-a trade closes lets say ends with -10.00 usd of loss. 3-the next trade opened will be 0.02 as soon it reaches the 10.00 usd it will close the trade and wait for the next
Hi everyone, Can anyone help me sort it out. Say I have the following open orders (excluding pending orders) for EURUSD 1) buy 0.02 2) buy 0.05 3) sell 0.03 Outcome should read "0.04 sell" Thank's a lot
I use One click trading when i hit the buy button the entry line is like 20 pips higher than the first candle it should be even with it I need to find out how to fix that . If i do a sell the the entry line works good it is just the entry line on the buy button. The stop lose and Take Profit they
I tried to become a meta5 white label broker. but I heard, for the time being, you don't accept any white label? Right? And so, when is it possible
I just noticed Startegy Tester tells me this: 2022.11 . 11 10 : 44 : 03.678 TestGenerator: actual tick file "{installation folder}\tester\history\EURUSD60_0.fxt" found I tried to open that file, but I can't. Is there some way to convert or extract the data in it
My EA is set to close a trade when the 5 ma with a 1 shift crosses the 5 ma with 0 shift. in the data window in my screenshot, the top value for the MA's is the one with the shift. The bottom value has no shift. When in a buy position, it should close a trade when the MA with a 1 shift is greater
Hello, I am trying to activate a purchased indicator on my laptop. (2nd activation) But MT4 keeps shutting down when I try to access the purchased indicator tab. I have reinstalled MT4 multiple time but the problem still persists. Under the community tab, i have entered the details of my MQL account
Helle, in older days, the order expire was a function of Seconds, now it use the datetime and this is a miracle for me since i use MQL4. can someone help me, how do program on a pending order, that the expiration is after 30 minutes? OrderSend(Symbol(),OP_SELLSTOP,Lots,Price_Sell,Slip,SL,TP...
I want to collect some historical data: TF = 60 ; NumberOfBars = 1000 ; datetime When = iTime ( _Symbol , TF, NumberOfBars); void Collect() { Date = IntegerToString (TimeYear(When)) + "-" + IntegerToString (TimeMonth(When)) + "-" + IntegerToString (TimeDay(When)); LogText = NumberOfBars + "
Hi All, I have confusing experiences when using the Strategy Tester, in that with some brokers it will only download a few months of data whereas other brokers will download a year's worth, and another is downloading almost 2 year's worth. I have even had the experience where, when I create a new
Is there a simple way to make and EA lanuch a moving average indicator, include it in the chart (on same chart where the EA is running) and also create an additional window runnig and RSI oscillator. So basically the EA source code should be enough to call some indicator charting (using user inputs
This EA must Open 1 Market Order upon Initialization, and the fill a grid with Pending Orders. SO now, upon Initiation, it opens multiple Market orders, and no Pendings. I get no error when I compile but it just does not do what I want. I am new to coding, if someone can just point to my mistake, I
Hi, I want to compile this MQL4 but have 3 error on line 143, I'm new here, would you please help me to clear this issue //+------------------------------------------------------------------+ //| VQ.mq4 | //|
In the last few days, I cannot use an Indicator Purchased or download free via the MT4 Terminal Market. The indicator(s) still show in the Navigator Market Folder, but I cannot load them, and they are "greyed out". I have review all my MT4 settings and contacted one of the main Indicator's Author
hello i use vps for run forex (Germany , Singapore , Japan) now have problem all mt4 3 broker -eightcap in japan and singapore vps -exness and xm on Germany can't connect to datacenter i no understand why??? but internet no problem i use 3 broker have problem all (in vps 3 location) but i login on
Looking for a simple way to change the time zone and print it on a chart. So rather tha having TimeCurrent() or TimeGmt() I would like to specify for example GMT-5. So something like TimeGMT-5. I wonder if there is a function built in for this already, offsetting just for the hours to adjust to any
programatically, In buy and sell orders, breakeven is sometimes used as part of order management strategy ea . Is there a possiblity that breakeven can used more than once in same strategy . Thank you
hello i see bug MT4 build 1363 it's can't connect to Broker Datacenter! price no update and chart not working (all brokers) But i try Downgrade to MT4 build 1361 it's normally I don't know where to report. So I posted in here Hope you solve the problem as soon as possible
I purchased an EA and it isn't in my MT4 Purchased tab. I am logged into my MQL5 community account in MT4, and have tried exiting and re-logging in - nothing works. Any advice
Hello, I had tried to use #import function long time ago, but it's like a bit difference now? What means by? 32-bit system here? I think this is the only thing i need to fix. //--- For the 32-bit system //In Libraries ABC.ex4: #property library #property copyright "Copyright 2022, MetaQuotes
SO I get this error, I am learning coding, nowhere can I find the CAUSE, I have looked and my parenthesis looks fine but error persists. Followed a tutorial and triple-checked my code. //+------------------------------------------------------------------+ //|

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.