MQL4 and MetaTrader 4 - page 10

Hi everyone, I'm starting to learn more about GUI panels using the appdialog box to add a panel to an indicator I'm writing. I have a basic understanding of how to create a panel and various buttons and labels. I just had one question about saving the location of the panel. If I move the panel on
I have downloaded a new copy of MT4 and am unable o login to the MQL5 within it to install an EA I had previously purchased. I can login to mql5.com but only in incognito. The website doesn't load properly on normal browser conditions and I have tried Brave, Opera, Edge, Chrome. I have disable a lot
I want to ask you if it is possible to close all open orders and to delete all pending orders within a unique call to a method. Without the need to iterate over Orders MODE_TRADES. Thanks!
[Deleted]
On metaeditor Test Running not opening Positions any
Can anyone help me with some code for an EA MQl4 - includes ZigZag indicator - sets LastLow and LastHigh peeks from the indicator in the ea variable - keeps it updated on changes I have been trying to get it to work for a few days now with attempting to get help from chatgpt but seem to keep going
Hello everyone, while operating with my expert advisor, I noticed that in brokers where the spread is more than 30 points (forex) the EA finds less opportunities to enter the market, compared to brokers in which the spread is less than 10 points. It can be noticed also in the strategy tester. If I
Hi I got this error in mql4 code..can someone help to recitify this? int ttcx = Time[0] + Period()*60 - TimeCurrent(); error/warning thrown... possible loss of data due to type conversion
Hi guys, i'm copy trading a trader. Now the copy trading works, but the trader has open old trades. As soon as i start the signal it opens those trades over and over, even if i close them. How can i prevent the signal from opening old trades to the current price??? I posted a screenshot and i
MetaTrader stores the experts logs under "C:\Programme\FxPro - MetaTrader\experts\logs". However there always are only the logs from the last six or seven days. Older logs are somehow deleted. Does anyone know how those log files are deleted? I'd like to keep all the logs. Thank you.
mt4 expert tab showing Error:0 while trying to load ea to EURUSD CHART. Please help me resolve the issue
Hello, Is it possible to know via a function like MarketInfo or another method the maximum of possible orders before getting the ERR_TRADE_TOO_MANY_ORDERS occurs? Of course I can count the number of opened positions when the error occurs but I'm wondering if there is a more clean way to catch the...
Hello guys, i can't connect to my MT4 accounts. I have one FTMO demo account and a live account tradenation. Both don't show open trades and trade history is empty too. It shows that it is connected on right bottom. Journal says i'm connected too. I tried uninstalling and reinstalling, that didn't
So there's lots of speculation about the future of MT4 in the USA. FTMO has completely pulled out of the USA. True Forex Funds has suspended activity in the USA, and they're specifically blaming a Metatrader licensing issue and they're looking at new platforms. But other prop firms say they're
I've noticed that prev_calculated often resets to zero, resulting in unnecessary recalculations of the entire dataset. I'm looking for a way to minimize the frequency of these resets. Could this issue be related to the 'Max bars in chart' settings? Thank you for your help and advice
I bought an EA, which shows as a purchase in MQL5, but as a demo only (and asks me to buy again) in MT4. No activation option appears anywhere. This is my first purchase of an EA, so not sure how to proceed. Any ideas on how to fix this would be very much appreciated
Hello, I have an EA that works well in trading accounts with some spread, but it does not function properly in trading accounts where the spread is zero. In a zero spread account, the limit orders automatically close instantly after being opened, and the EA continues to operate indefinitely. Upon
Dear experienced traders, It seems not possible for me... Can I test 2 EA together in same strategy tester in one terminal? Thank you in advance and best wishes, Sky
Hello I want to know where i can check if my VPS is working. Secondly i dont know which Ping is the right one? In the Journal my ping to the signal server is only 84.71 ms
I updated to the new MT4 version January 2024 and when logging back into my account I noticed the option for a trailing stop was no longer listed under the Close order and Modify order option. YES I know how to set a Trail, NO the option still doesn't appear if I goto the terminal and left click
So basically anyone trade news knows that no matter what SL you had set, the news will wipe them out with their slippage. I wonder what if I use EA to close a trade based on the the account loss? for ex: close this trade if its profit is -4. By using this way, is it better to handle high impact news
Hello, In default, all the Comments texts shown on Left side. I want to change this to Right side. void OnTick () { ChartComment(); } void ChartComment() { string buy_l = (Buy_Limit && !Close_Buy_Limit) ? "Active" : "Paused" ; string sell_l = (Sell_Limit && !Close_Sell_Limit) ? "Active"
Hello. I'm trying to resize 2d array.double array[1][1];ArrayResize(array, 100, 100);Print(array[50][10]); Could anybody help me? I'm trying it in MQL4
Has anyone experienced that MT4 has stopped working on Sonoma 14.3 ? How can it be fixed without using virtual machines and other things? I would like to get it working again
Hi everybody, I'm using "broker" account and I downloaded "broker" setup.exe from "broker" website. After installed a MT4 terminal, I loaded the Fractals indicator (the built-in indicator in MT4) onto my charts, but I cannot see the arrow signs, instead all with box signs. Anyone has the solution to
hi i have been trying to adapt this code to my ea so I have got it to find a trend line drawn by me on the chart no it not my code just my adaption of the code the function works and produces the desired result however i can figure out how to get the result out of the function that is i cant...
[Deleted]
Hi Guys, Is there a List of all Symbols/ Instruments in which i can search in for specific Set ups?
FX Bot File //+------------------------------------------------------------------+ //| Ignite FX Automated Trader Robot.mq4 | //| Gregory Delazeri | //| |
Hi. I trying to find out how to obtain the session index of the current trade day. for the function: bool SymbolInfoSessionTrade ( string name, // symbol name ENUM_DAY_OF_WEEK day_of_week, // day of the week uint session_index, //
I am curious, MT4 indicators seem to use slow algorithms. For example, Ichimoku computes the maxes and mins by just looking back at the given input look back period as opposed to having an efficient data structure do it. It also keeps many buffers that are O(n) size where n is the number of bars in
  URL Address  (31   1 2 3 4)
I get an error message saying to add the URL address to Experts, but I did add it. Why would I get the error message when I did add it already