I ran an EA and had an interesting result. Not very good, but interesting curves. I have to study it more. Then I ran a second EA, two timeframes. It was worse. Then I ran third EA, two timeframes. Also worse. So I thought about something I should have paid attention to in first EA and ran it again
Hi guys, the command OtherBarZeroTime = iTime ( ChartSymbol (ID), ENUM_TIMEFRAMES (timeframe), 0 ); does not update at all when I loop around charts (30 charts). The time of the Zero bar is too early for non current bars. Sometimes it gives me the time of bar one of the chart. Any solution please
I don’t usually have access to MT4 on my desktop. Would that be possible to open a new trade on MT4 via C# or JavaScript over the web? My broker, ICMarkets, doesn’t provide an API. Thanks
Hello, Are there any problems with MT4 on Windows 11? I bought an indicator that I can't install on the MT4 software because the "market" tab doesn't appear at all. I don't have this problem on another PC with windows 10. Do you have any solutions? Thanks
Hey guys, can anyone please help me just edit this simple MQ4 indicator to send notifications to my phone when the size of the candle exceeds the set value. I will really appreciate it in advance
I want to put a cap on losses before I turn off the EA to avoid further damage on a clear bad day. Do you think this is the correct way to do it? starting up: double TodaysEquity = AccountEquity(); double InitialEquity = AccountEquity(); double TodaysLoss; double WorstLoss; int Today; int
I am not sure whats going on but does mt4 strategy tester cache previous backtests ? because I am seeing something strange in backtesting , I set parameters and run backtest on last 12 years , and it shows net return of let say 200$ , So I slightly change the input settings but it still shows 200$
Hi there, I'm running into problems creating an EA that runs through history, fetches a bunch of trade data and then exports that to Excel. The EA works fine except that I seem to be getting inaccurate data when I go back to around Nov 2021 in history on the M1 chart. I have setup MT4 to show max
Hello, please, I need complete this code. Any suggestion? thanks //+------------------------------------------------------------------+ //| fFractalSegmentSeriesAnalysis.mqh | //| Copyright 2019, Korotchenko Roman | //| https://www.mql5.com |
Hello, Possible to change the font size in MT4? The font in the chart are too smal. I use MT4 with WIn10 in a laptop with screen 15". Still not easy to read it. Thank you for your help
/ void OnStart () { //--- incorrect file opening method string terminal_data_path= TerminalInfoString ( TERMINAL_DATA_PATH ); string filename=terminal_data_path+ "\\MQL4\\Files\\" + "fractals.csv" ; int filehandle= FileOpen (filename, FILE_WRITE | FILE_CSV ); if (filehandle< 0 ) {
[Deleted]
Hi all, I have a custom indicator and I build an EA from it. I would like to know is there any chance to put the indicator into the EA so I would be able to sell it via the market? Iam not talking about the iCustum function, I already use this to use it with my terminal, but nobody would be able to...
Hi all, Need your help, I have create a EA, but stuck on "Put limit / One Trade Only per Condition".... My target is, if a Condition meet EA will make order until take profit or stop loss, then wait until next condition meet. Hopefully you all can help me to resolve my stuck on this script.... Thank
EA Autoscale Compounding Lots. Hi , I want to share My Codes to everybody. This is very powerfull algotrade to compound your account. You can modify and match with your trading style. Compounding lots is complicated. I made structure using percentage balance account. If you having good result with
Question regarding MT4. Do Close All position EA's/Scripts send a single order for the total size of the open positions? Or do they ust replicate the manual process of closing orders 1 by 1? or are both possible, but depends on the code? ie if I have 10 seperate 0.1 lot orders open in EURUSD and use
Hi all, I have a simple question! I just want to know whether it is possible to use chart index as chart ID in an expert advisor when I call the function ChartSetInteger to change chart's properties such as color? I have tried to use index assuming 0 is the current chart which is not closed yet and
Hi, Can we view magic number in Trade list tab in Terminal Window (marked in attached image) window in MT4.. Or where we can check trades magic number
Has anyone developed a Macd line that would go in the main chart... ? Thanks
Hi my EA open 1 order and several order stop. I tried to delete the order stop if the open order is closed or get stopped out. void DeletePendOrder() { for ( int i= OrdersTotal ()- 1 ; i >= 0 ; i--) { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES) && OrderSymbol() == Symbol ()
hi guys, im having problems to build a volume profile in my mt4 experts, iVolume and Volume[] just returns the candle volume, can someone explain me how to do this? thanks
I already have it, but I need it in a new machine. I went to this page and downloaded the file that is clearly identified as MetaTrader 4 for Desktop, Windows. I received a file named mt4setup.exe. I already had mt5setup.exe stored in the first machine, the same one I used to do the download, and
I'm not sure how to ask this question. Is there such a thing as a mostly common practice to extend the return=true even after the initial trigger is no longer true ? bool up_fib() { { //Print(A_low()," ",B_high()," up_fib"); if (A_low() && B_high()) {
Hi there, I would like to download a dynamic trailing stop to use instead of the one that come pre configured on MT4. Does anyone know where I can download one to use with the platform? Thank you, Chris
Hi all. I am trying to submit an EA for validation. And here's the error report. But after some search, I still can't find the related documentation or posts. The EA can only be used to trade gold. And how do I ask the validation program to check the EA only in 5min or 1min? Or do I have to fill
[Deleted]
when i start mt4 and open a new chart it sais \\profiles\default\chart01.chr was not found. i have tried re installing mt4, making a new account, switching profiles. I have just recently moved to a new computer, everything was working fine on old computer.
I am working on updating a bunch of MQL4 code for someone that was last compiled by its original author with a pre build 600 compiler. The code involves working with long-term cyclic patterns which means it does lots of manipulations of 32-bit timestamps which it frequently treats as integers when
Hi everyone I'm new to mql4 and I tried someway to get high and low price but I couldn't make it. I want to get previous high and low between datetime '2022-09-01 : 18:00' to '2022-09-02 : 18:00' , then I will check every tick between '2022-09-02 : 18:00' to '2022-09-03 : 18:00' to check if my
I have an issue with the MT4 client in general. I tried many MT4 clients and none of them work for me. Whenever I open any MT4, it always crashes inmediately without loading/showing any data. This is the exception that causes the problem, it is from the crash log file: Exception
Can anyone please help me to get the live macd value in mql4 ? Thanks
Hello, Looking for a way to find the closing time of the latest position I have created the following functions : int FindIndexOfLastClosedPosition() { int index ; datetime LastPosition = 0 ; for ( int i = 0 ; i <= OrdersHistoryTotal() ; i ++ ) { if ( OrderSelect

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.