MQL4 and MetaTrader 4 - page 82

Hi All, I want to add the contents of an array to a csv file, but I want to append each value to the end on the current line, not to the next line. Here is the code which works perfectly, except for the positioning of the output in the CSV file. #property strict string _sym[] = { "AUDCAD.a"
Hello All, I have an extremely weird and frustrating problem....This problem only started recently so perhaps it's something to do with the VPS or the new MT4 platform(?) I run an EA on a VPS . A week or two ago everything was fine.... But recently when a trade is opened by my EA, a secondary ghost
Hello, I am new to this site and the MQL5 web terminal, (I've mostly used MT4 on my phone, but am trying to transition over to an actual computer) Anyways, I was just wondering... is there a way I can connect my account with an outside broker to this MLQ5 web terminal platform or am i only able to
Hi I'm getting different results running the same code on MQL4. I just ran the same code consecutively and the graphs are different, without any adjustments the code or anything else whatsoever. My initial thought is maybe that this is a result of processor load between ticks, because the processor
hi guys, Suppose i have several nested conditions which every candle is checking and when all of them is true i want to waiting and counting 5 candle. how to do that
Dear Dev's can anyone help me please ? i have a script when i run it take screenshot of chart and send it to telegram via API i want to make it EA with specific hour input to make it run on specific hour in the day and work automatic daily Regards
I have this indicator which is an ex4 file, it only has pop up alerts, is there any way i can get push notifications on this? kind regards. <ex4 file deleted>
Hi! Im running multiple Forex Pairs but i only want to close the order of the Forex Pair that the EA is installed "on". My try; void CloseOrders() { // Update the exchange rates before closing the orders. RefreshRates(); // Log in the terminal the total of orders, current and past. //
Hi, I have an indicator im trying to install on my mt4 desktop but its not showing up? I have no idea why... im doing all the correct steps. Please find the attached image and youtube link below.. ty. 1. I open Metaquotes editor 2. I drop my folder into the indicators list. 3. I close MT4 and its
Can anyone teach me how to change the source code below so that Moving Average crossover alert happens once the cross has happened instead of on a current candle? I know that this must be a simple problem for most of you probably but not for me since I am struggling with coding. Thank you in
  Buffer Query  (4)
Hello everyone! I have a question, can someone tell me? My question is about buffers and arrays and it is: Can Buffers be used in Expert Advisors or just Arrays. Thank you very much Manuel
Hello, i am using the icustom function to get values for current and lower tf but when i test it with strategy tester it is getting the value of current timeframe but i can not get value for lower time frame such as 5 min. Can someone help me to fix my problem, thanks #property strict input int
Why is my MT4 not working despite my internet connection working on all other websites
Hi, im using MQL4 and im using iMA function as below : double MAscds = iMA(NULL,0,200,0,MODE_SMA,PRICE_CLOSE,0); After executed the EA, the MA200 only able to appear after 200 Candlesticks. MY Question is how can i have the MA200 at the 1st candlestick after i run my EA ? Thanks
When placing my trendline EA, no trendlines appear on my chart. When back testing they appear, why is that? If you know the problem to this please assist. //+------------------------------------------------------------------+ //| Expert deinitialization function |
Hi all, I would like to get the source code for mt4 for the vwap indicator, but not all the ones that are on the internet, I would like the one like in trading view, applied to hlc3. The code in trading view is: // This source code is subject to the terms of the Mozilla Public License 2.0 at
Hello, I am trying to make my script runs on a certain point (past not future) but all the functions I see is current or checking cyclically for a future point. Any idea how to do so? For example if today is 25th Nov 2022 and I want my script to run in a certain time in date 20th Nov 2021
  Trading Bots  (4)
Hey Guys, can anyone help with explaining how to load a trading bot onto the MT4 Platform
It doesn't happen often, but MT5 on the same machine seems to work fine. I don't know what caused it
I have placed a couple of pending orders. Buy stop and sell stop. They are created fine but after a short time they disappear from my trade list. They appear in history but only as potential trades with no profit or loss. I am not sure what is going on. Any advice will be kindly appreciated. Paul
I am looking for a tool for mt4 that allows me to build orders so that they move according to the rate. I want to be able to double the order with a click, as well as add the desired lot quantity. Is there something like this for mt4
I have a need to use an indicator value in my EA. I know about iCustom but that requires that the parameters for the indicator be available in the EA and passed to the indicator. What I need is a way to let the user change the indicator properties independently and read the indicator value in the...
Can someone add push notifications to this indicator please!! <Ex4 file deleted>
int start() { if (AccountEquity()>AccountBalance()) CloseOrders(); so this will close all orders as soon as any there is any profit its just an example in mt4 but what i want is time resume ,,like after this closes all orders i want to resume in lets say 5 minutes how do we do that
I've downloaded MT4 and am trying to add indicators, but I only see folders for MT5 (which I previously installed and then uninstalled). Any help is appreciated
MQL4 Market: error purchasing product ' Deleted MT4' [30750] - Error occured I have an error that I can't pay even though I have deposited money Please help me
Hello, Is there a kind soul out there that can help me with getting this EA working? I found this indicator (ABC.mq4) on a forum and would like to make a EA out of it, a friend of mine tried to make one but it dosent work (ABC EA.mq4). The indicator is really simple it signals buy/sell situations...
hello, maybe my question is too basic for a lot of you guys, and for that i apologize. but this is the first time that i want to work with fibonacci lines. i have created the code to import Fibonacci retrecment lines into my EA and it works. but how can i return the value of the fibo levels? for
  Fractal  (3)
Hello guys! Trying to get the latest fractal value and I came up with this: double GetLowFractal() { double val= 0 ; for ( int i= 0 ; i< 300 ; i++) { val= iFractals ( NULL , 0 ,MODE_LOWER,i); if (val!= 0 ) break ; } return NormalizeDouble (val, _Digits ); } it
The strategy tester report used to automatically open the web browser when I do a "Save as Report". But after reinstalling MT4, it doesn't do that anymore. Is there a settings to this