MQL4 and MetaTrader 4 - page 69

[Deleted]
How to remove the dotted line that shows your opened buy/sell positions in the chart? It just gets too crowded on the chart when I add other lines and indicators and drawings and I can't see what's most important for me - the trend line.
Hello there, I have downloaded a program called Closing all open Orders on MT4, it was working until yesterday like a charm, now it stopped. I can't see how to fix that, any help would be much appreciated
Trying to find the cross over between the two RSI's, then the Price at the crossover. This is what I've tried to do but comes with a 0 value, i am looking for a price value. Also i need a tolerance so that the difference could be close to 0 which is good enough. int RSI() { double
  Swap Calculation issues  (12   1 2)
Hi, I know this has come up many times before but I still cannot work out a generic way to calculate the account currency swap (typically USD) for ANY symbol (whether currency, commodity, equity, etc.) See below for example code which leaves a lot of questions. Here are some: (1) why is Tick Value...
Hi all, I encountered a problem that my indicator arrow didn't show properly. When I first added indicator to chart, it showed correctly. But if I scroll to the earlier date , the position of arrow was totally a mess. Please check chart below which is normal Please check the chart below which is not
Hi i want to define some conditions to remove indicator and i want to put this check that conditions on OnCalculate() function suppose after expired time So for use ChartIndicatorDelete() function i need the name of current indicator name but __FILE__ just return compiled indicator name so if
hi , i was wondering if anyone knew the code/logic on how the MT4 creates its backtest testers 'every tick' modelling. if you compare the real life tick vs the 'every tick ' model , it can be very different. so wanted to know what the code was as used in the testers backtest. i saw the article below
Hello, Can you give me this mql4 Script? Delete the Pending Order when the Spread is high
Sometimes this indicator works, and other times it show up blank or returns 2147483647. Any ideas how to fix it? Thanks! #property indicator_separate_window #property indicator_minimum 1 #property indicator_maximum 99 #property indicator_buffers 1 #property indicator_color1 SkyBlue //---- input
How do I update the bot
Is it possible to export 1 year of 1 minute data from MT4? I checked history center but there is only 5 days of candle to download. Also is it possible to export tick data, which is more accurate than 1 minute
mt4 can't load Market Terminal
In data window we have Volume and Date that they are not double but for indicator buffer we have to define double but i want to show integer values but in data window it put 4 zero after floating point that i don't want it is it possible to show integer values without floating point and zero's
double Target; if(StringFind(AccountName(),"Smart") Target == 1; Is it possible to use the if function with the contains combination? Alternatively, I can ask for a formula correction
  50 MT4 terminals  (16   1 2)
Hello, happy Saturday! I wanted to ask you. I have a pc in which there are approximately 50 MT4 terminals. I do not use VPS in these terminals. I have noticed that from time to time some, or all of them close. I don't know what it is due to, I don't know if it's a ram problem or something. Since I
hi, I am writing an offline chart in which I get OHLC data from an API. I convert data to csv and convert the csv to MQLrates and then save it as hst. this is the first step which is working fine. now the issue is that sometimes because of network issues or latency or any unknow error there may be a
Good morning I find "Levels" particularly relevant but it cannot be superimposed on a graph! I do not understand why I managed to modify it to have Levels MN, Levels W1, etc;;; but superimposition is still impossible Thanks for your advices
Can anyone make the attached indicator appear as equal sized bars like in the picture? It appears as the slope (multicolored) line, and can even make it in a historgram look, but the bars are not all the same heigth, but some larger and some smaller. My coding is very limited, but it seemed like it
Before developing Neural Network systems for Metatrader we experimented with Volume Spread Analysis(VSA). What we've done with this trade assistant is taken the VSA trade setups that signal the largest movements in the market, simplified them for the non-VSA expert, and modified the VSA concepts...
Hello everyone, I cannot get email notifications in MT4 to work, even though it appears to be very straightforward. The journal tells me Mail: 'Test message' failed I use the newest version of MT4, v 4.00 build 1265. In MT5 it works perfectly with the same settings (see attachment). I followed the
Hello guys! I noticed today that if I put the mouse over the SL or TP of an order it shows the amount of loss or profit that would be made if achieved on a box, is there any function to return that value on MQL4? Image of the box is below: Thanks a lot:)
Hello, I would like to transfer some information to an MQTT server. Since this is not part of the standard functionality, I would like to use a library which is available as a DLL (links below). Unfortunately I don't have much experience with MQL4 or C and fail with the import block definition. I
Does anyone experience issue with MT4 notifications? For past few days I am getting below error message frequently and so some notifications are not send. It was working fine before. 2022.07.19 14:02:40.716 Notifications: 'Double Top for XAUUSD at 1714.58 in 1 M Arrow -1 OrderType 1' not sent to
Hello. I am looking for a code that will make an expert advisor work within a specific timeframe e.g. M_15 and also I need a code to make it work on only the chart I drop the EA. Currently, when I drop my EA (or scripts) on any chart in my MT4, it always attaches to AUDCAD. This happens even when
Does anyone use CMC MT4, it seems it only allow one order being placed on one tick. Is there anyway I can get around this
Do I need to use OrderStopLoss() and OrderLots() and do the math to get the profit/loss of the SL for an open trade or is there a single function that will fetch it for me? If there is I can't find it, but the fact that I can hover over the line and MT4 shows it to me has me wonder if I'm missing
Since the recent update to MT5 on IOS, the chart does no display properly when on zoomed mode on the device settings. Is there a fix
I have been all over the forum and read all the articles in Tester, but I can't seem to find much about how others may be achieving Walk Forward Analysis for their EA's with MT4. I know there is a tool by Easy expert forex, but this tool unfortunately has limitations. Essentially it only seems to...
Hello! Can anyone help me to code, how to count total number of running currency pair(s) with active order(s). In the picture, there are 4 active orders running with 3 different currency pairs. Here, I don't need to count total orders using OrdersTotal() function. Also I don't need to identify...
  Need help with coding please  (148   1 2 3 4 5 ... 14 15)
Hi i am trying to code a very simple EA but i'm not a programmer and i've never made an EA before. I took the MACD Sample from MT4 and edited some parts and deleted all the rest that i thought i don't need. I'm sure my code is really horrible I would like the EA to work like this: My custom