MQL4 and MetaTrader 4 - page 18

Hello, I encountered a problem where MT4 shows a "no connection" error and cannot find a broker, despite having found 10 VPSs, because I rent a large number of VPSs for my clients to deposit and run MT4 on. However, it keeps showing "no connection" without any apparent reason, even though the
  Mql5 login  (9)
Hello.. few days ago since I cannot login to mql5 on my mt4 platform… so I can’t purchase nor download anything… I can login on website, I can login on mt5 account but not mt4.. don’t use vps, everything else has been checked as I said same pc logins on mt5 but no mt4… Any help
I have tried to create my own EA and it is currently working (although not profitable yet in demo account) so i know that trades are opening and closing but I'm struggling with the trailing stop loss and back testing. The trailing stop loss seems to come in but its not coming in at a point where a
// Define input parameters input int ADX_Period = 14 ; input int RSI_Period = 14 ; input int RSI_Overbought = 70 ; input int RSI_Oversold = 30 ; input double Risk_Percent = 2.0 ; // Risk percentage per trade input double Max_Lot = 0.1 ; // Maximum lot size per trade input double Slippage = 3 ; //
can anyone help me with M4 IEXPOSURE please I added it to my chart and its all bunched together, any ideas please
  Need Help with my Bot  (14   1 2)
I got bot working to some extent, however it still does things awkwardly and I've been at this bot now for month and two weeks. #property strict // Define input parameters input int rsiPeriod = 14 ; // RSI period input int maPeriod = 20 ; // MA period input int bbPeriod = 20 ; // BB period input
HiI am looking for an EA/TOOL that would send the trades opened on mt4 to my discord channel Can I find one
Greetings everybody! I have been working on a meta trader 4 trading bot for a while. When tuned all the algorithms and parameters I get a impressive results as shown below in the screen capture. This is for the time period Jan 1st 2024 to Today (14 Mar 2024). It gives similar results for any time
Hello all, I'm new to coding and I'm really not finding a way to get what I'm looking for. Maybe one cool/savior programmer out there can help. I'm trying to find out the high/low for a certain period. The period is fixed. Let me explain a bit better. I'm trying to find out the highest high and the...
Hi Is it possible that when our DD reaches 20%, all our positions will be closed? If possible, friends can help
I'm wondering, is it possible to use an EA on unusual timeframes in MetaTrader4 (different than the classic H1, H4, Daily) like H8 and H12? I know it's possible to visualise them but is it possible to trade live? Do you have any solution to trade H8 and H12 timeframes? Thank's for your help
Hi, is it possible to get seconds timeframe charts on mt4? Like 15 seconds timeframe, 30 seconds timeframe and so on...?
Hi every one , I have some strategy in mt4 I want to make a automate trade system for qxbroker unfortunately this broker doesn't support mt4 It's possible to make my order and chart in mt4 and send it with python to
Hi guys, I am facing wired problem when I am trying to use WebRequest() function on Windows. Here is the simplest code which could be written: void OnStart(){   string url = "http://server.com";   string headers = "application/json";   int timeout = 5000;   char post[],result[];   string...
How can I get the value of the position, which is marked in the picture, in the EA code
When I set “Long Only” or “Short Only” in the advisor settings, the terminal sees error 4110 or 4111, how can I write a check for position allowing in the code before completing the OrderSend function
hi everyone I have indicators code in MQL4 and I want to use it in Mql5 How I can change codes into Mql5 I don't know any thing about Mql5 codes below are my indicator's code I really need it as soon as possible Best Regards Neda
  MT4 End Of Life  (66   1 2 3 4 5 6 7)
Hi all I have heard reports that MT4 is soon to become 'End of Life' with no active support or updates. Can anyone explain what the future holds for MT4 and the vast array of millions of ex4 Indicators, Scripts and EA's? Any plans to provide a port or emulator for these to help transition over to
hi, I have used this great article for mt5 to connect to a wss api. which is working fine. but the same code in mt4 does not work at the very first line long http_open_result = WinHttpOpen("mt4",WINHTTP_ACCESS_TYPE_DEFAULT_PROXY,NULL,NULL,/*reserved parameter*/0); I think sending that string is
how to write a check in the code of the mql4 advisor "Only Short" and "Only Long" so as not to get errors 4110 or 4111
  OrderSend: Error code 131  (31   1 2 3 4)
I get this error on validation my product but it is running well on backtests.
I try to create a code which will work on all instrument to calculate the right lotsize based on 1 percent risk, but my current code show me only a right lotsize for forex currencys, when i put the indicator on bitcoin chart i get to big lotsize, can you help to make a working code which will
  CumulativeDelta  (2)
Hello! Any idea how to calculate cumulative delta in mql4? There are some indicators saying that they are delta indicators , but as per definition , delta calculation involves volume_ask and volum_bid which is not available in mt4
Hi guys, I have an indicator that duplicates horizontal lines across multiple charts on different timeframes. The code to place and move the lines works fine but the code that deletes the lines does not work. #property strict #property indicator_chart_window #include <stdlib.mqh> #include
In the following function the ibandsonarray always returns 0. I have verified the array is filled with the correct values, but I always get 0 for the upper and lower bands. I searched this forum, google, and youtube for several hours, and found some people who had this problem, but they either
I just bought an EA for the MT4 platform. But when I click "Install" it doesn't work. I can't install my EA. Can you please help me
<Deleted> //----------------------------------- // Open Order pending by other pending orders //----------------------------------- int start () { ngày giờ tĩnh t; if (t == Thời gian [ 0 ]) return ( 0 ); double MyPoint = Point ; if ( Digits == 3 || Digits == 5 ) MyPoint = Point *
Hello, I am using an EA attached to 4 currency pairs in one MT4 client. I frequently encounter an error " Trade context busy ." My question is, is this error due to my computer hardware resource issue (RAM/CPU), Metatrader 4 application-related issue, or Forex broker server-side issue? If this is a
[Deleted]
Hello my entry prices are different in live trading from EA backtesting results, what might be the reason and how can I fix it? The spread used is the same as the time traded, but I get different results in entry hence affecting the results, how can I fix this. The EA is supposed to be opening
Hello there, I'm converting the working MT5 version of my EA to MT4, but I get an array out of range error not matter what I try. It's my first time working in MQL4 and I have tried many things but I can't solve the issue so hopefully someone can spot it and advice because I'm running out of idea