Hello, dear friends, I have 2 codes for reading and writing a text file in meta4 but I have a problem, my file cant close and still is open and I can't read/write by another application. Please help me resolve this error ,(before this i just reading text file and i havent problem,after i writing in
Is it possible to have a MT4 EA with +700% of gain in 1 year on a live real account and when I made a backtest for the same period I obtain -3% (with the same settings)? The seller of this EA tells me: not all backtests are accurate. What is your opinion
Hi, is the margin requirement by 1:100 leverage account (10k USD) different between brokers? I see on fxcm 1600$ / lot and on fxdd is 540$ / lot (1 lot = 100.000 ). Can i somehow calculate margin requirement for 1 lot per broker?
Hello everyone, I just learned about iBarShift which returns a candle ID by date, I would like the same by price. The docs mentions ArrayBsearch would only work on sorted arrays, Im trying to sort a copy of &high[] on the code below. Im a bit lost, as im getting the same result no matter if i sort
When I click on the US30 history download button in ICMarkets broker, I encounter this error
Hello everyone, hope you are all doing great! I would love to know if theres a method to deal with multiple buffers. My thought is to use iMA() function to pull data from any symbol and any timeframe. To produce something like the image bellow: The problem becomes managing these buffers, from
Morning all, I currently have a formula which calculates the SL and the TP. It calculates the TP/SL as a percentage of the current account balance The formula is as follows: int OnInit (){ int percent = 2; //The amount to risk as a percentage of the account balance. double convert = percent /
double Lowest = 500000 ; double MovingAverage = iMA ( Symbol (), 0 , 10 , 0 , MODE_EMA , PRICE_CLOSE , 10 ); for ( int i = 0 ; i < 10 ; i++) { if (Lowest < MovingAverage) { MovingAverage = Lowest; } } Hi all
[Deleted]
Hello MQL Gurus and Investors, I need some pointers in filtering out false signals. Are there preferred indicators or methods that would do the job? Thanks
Please tell me how to install MT4 on iphne 13 pro
Hello, can I use MarketInfo (Symbol(), MODE_MARGINREQUIRED) to calculate the amount in account currency spend for the invested lots in the trade? Are there any restrictions or why some coders do complex calculations based on conversions from base currency to the account currency
Hello together, when I press F11 I get a FullScreen of my Chart and if I press F11 the Chart gets small again. Is it possible to see in mql4 whether I have Fullscreen or not. Regards Falte
So I have been making an AI with button labels the first button opens bye and the second one opens a sell I want to add another two buttons one that opens a sell limit and one that opens a buy limit far from the last trade opened accordingly and I want to be able to edit the space between them in
Does anyone know if it's possible to program my EA to pull in data from the terminal journal (not the experts log)?
I want to do this live if possible, so check the text in the journal every tick, minute or ideally when a new journal entry appears and scan the text for certain values.
I'm not sure...
I need a link to download mt4 build 1369. Please share below if you have it. Thank you in advance
When a chart ID is passed as a parameter with long type from Function 1 to Function 2, and the chart ID is used to call a ChartSymbol in Function 2, will the ChartSymbol be different from the ID's ChartSymbol in Function 1
Hi everyone I expect profit for order in dollars(account deposit currency) for example 30 dollars profit for an order with specified lot size. Im looking for a method or any formula for convert my order profit to pips My exact formula for calculate my profit is: ((equity-balance) * 100)/ balance
It just downloaded an update closed itself and installed it without any prompts Or did i just notice it and it always has been
HI, is there a possibility to have two expert advisors on one chart on MT4? Thank you
Hi guys! We know that same instrument (particularly indices) can have different names based on different brokers (or platforms). I even tried using ChartSymbol() on different brokers and I realized that the same name on the market watch is still being output by the EA and not a broker/platform
I have a very simple trading strategy that I have back tested manually & it looks very profitable. Now I need a bot to be able to back test on ALL assets & to do live trading. Can anyone help me with this
hi everybody I need to get the index of the bar when the mouse hovers over that bar. I am using MT4 Does anyone have help? Thanks
Hi guys, I have the below code for pending orders. I want it to place a buy stop X points above the highest point in the last few candles, and X amount below the lowest point in the last few candles. The orders aren't being sent at all, and I get OrderSend() 130; not sure why..? Please help....
Hi all I need a code in mql4 to put stop loss on the breakout of moving average 100 I mean when the price break the moving average up or down the stop loss will be after 20 pip of the breakout
This might seam like a strange question but one of the prop firms out there doesn't allow the use of EA's (I know crazy), is there a way to hide that you're using an EA (not a HFT EA or arbitrage, this is a normal EA more for risk management)? If I make the magic number 0 and add no comments. Would
I am working on an EA in MT4, trying to take advantage of some multi-timeframe features. In summary, my current EA runs on a PERIOD_D1 tf and I want to check the current time on PERIOD_D1 tf to manage housekeeping functionality. To isolate the problem I made the following toy EA. This is all that is
[Deleted]
Hey, is there a way to get a notification via email or push to mobile devices if the MetaTrader client running on a server goes offline (no connection bottom right corner)? This would avoid offline times and missing action form the trading signal. Thx!
Hello, by login into MetaTrader via Start Up configuration file and running script, how is it possible to receive the error Invalid Account by the code? Best Regards, Dmitry
Hello everyone! Sorry for the spelling mistakes, I'm not good enough in English :D. I need a Metatrader 4 indicator that connects the minimum and maximum values with a line in a given period in chronological order. Example: This is an M1 chart, on which the minimum and maximum values of the M5
Hi, I know how to export historical trades from AccountHistory in MT4. But how do I export type=balance (rollover, funds) from Account History in MT4? Thanks

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.