MQL4 and MetaTrader 4 - page 44

I had this situation recently in which I was trading among two different brokers. I’d send an order to each broker at the same time, to open, and the same would be if i’m closing. The closing must be on the same time. What I had struggled with is when one broker would accept the order while the
I am just starting to test my EA on VPS but I have one concern, I synchronized everything do I have to keep the Auto Trading button on and do I have to keep my device on too or can I just use it from phone while the VPS runs everything
Hey mql5 community. I am looking for a solution to simplify coding using concepts like "auto" in c++. If anyone has a solution like macros or vscode extensions or scripts that textreplace "auto" in the preprocessor step by the return type of the called function i would be more than happy. I have
  Dialog  (28   1 2 3)
Does anyone know how to establish a connection between input and the output? For example, user types in the input box "hello" and on the output the hello appears along with the response from the program like this. User: Hello! Program: Hi
Hello, I am new to alerts but I need an alert that lets me know my Emma’s cross. I am trying the 13, 21, 55 Ema 8 strategy. Strategy: When 55 is on top/bottom enter trade and hold until 55 is on bottom/top Is there a way to make an alert to alert me when the 55 is above or below all 3 of the other
I need help from moderator to confirm that this EA is function or not. Because i hire some developer. But this EA is not function at all. i told him to make EA just to be ONE file .mt4 and .mt5 .. He as developer click demo to give testing EA. I already test no function. I add EA file into experts
Hello everybody, for a couple of days my terminal window is an external, really small window, when I open it. I can't see much on it and want to reset it (bottom of the window - full length from the bottom left to the bottom right corner) somehow. I tried already a lot of things in the settings but
Hello, is there a way to reset variables automatically after disabling AutoTrading (or after enabling it)? Example: variable = 0 and then it's equal to 1 because of the code. I decide to disable AutoTrading and after one hour I decide to enable AutoTrading. I want the variable to be equal to 0
Hello everybody, I hope you are doing great. ***Dear admins, please check this message. I really need your attention.*** Recently I received an Indicator and a template. When I attached the indicator on my chart, the Windows Defender alerts for a treat. I double checked and re attached the indicator
Hi everyone, I am playing around with buttons on the chart and I thought it would be good to have a button that moves the stoploss to breakeven. What I want to do: I want to make an indicator that plots a button on my chart. When I push the button it triggers a script that moves my stop to break...
Hi guys, is it somehow possible to change the default creation of an OBJ_FIBO with only 38/50/61 levels? I tried to delete one level by using OBJPROP_LEVELS but this value is always zero after creating an OBJ_FIBO. Any ideas? Maybe I can change the original code from Metaquotes in the library...
Hello, I am trying to solve this puzzle: how to test EA on several pairs same time? EA opens orders on each pair standalone, checks profit/loss every second, finds most negative order on certain pair and closes it with profits from other pairs. No platform, MT4 orMT5, covers single EA working on...
Hello. I want always have rates of daily timeframe in an array to use it in my custom indicator. I write it in this way to copy all daily rates in first run, and update only last day's rate in every next OnCalculate() call. But it seems this is not the correct way. Can anyone help me
hi I want to delete all indicators from my chart by running a piece of code in my expert or script but it doesnot work properly . some times delete one from 5 indicators, some times 2 . and also it has delay!!! please help me what can I do to insure the proper answer from metetrader void OnStart()
Hi, does anyone know how I can have my MT4 platform on windows to send push notifications to my iphone when an alert is generated from my EA
Hello, I have encountered an issue with installing MT4 on a VPS again. The symptom is that it freezes for an extended period of time without any errors. I can't close the installation program and have to shut it down using the task manager. I have verified that this issue only occurs with Windows
am trying to disallow multiple running of EAs in one terminal and am finding alittle bit hard.. i have try to use this code but it rather terminate my current EA name on the chart .. #include <WinUser32.mqh> int hndl = WindowHandle( Symbol (), Period ()); if (WindowExpertName() == "niceprofit" )
I have 100 index buffers. I only want to draw 8 lines. The rest are there for calculation. How to I only draw 8. I have the ones I want to draw set to the first 8 indexes (0-7) I dont know how to stop the rest from drawing other than opening up the indicator settings window and setting the color to...
I have news enabled in Options on MT4 but no news is showing up and not sure what I might be missing. Please advise
  MT4 platform not working  (11   1 2)
My MT4 platform doesn't seem to be connecting. I have logged into in it many times, but no change. It is not trading my EAs. I know that it is NOT connecting or working because when you look at "account history" it shows last weeks activity. Please help
This is the second time this happened to me in a few days, It never happened before. We have two VPSs, both from the same company. We have two real MT4 accounts , both were running on both VPSs (one VPS runs the EA). I also have one MT5 demo account on one of them. On september 15th for the first
I am trying to register a VPS for RoboForex-ECN but it keeps showing red message no server available for RoboForex-ECN. I tried with other brokers and its the same thing. How can i fix this
According to the description of the IndicatorCounted() function in the manual: ...To avoid indicator calculation errors in such situations, the IndicatorCounted() function returns the count of bars minus one. The above is clear, then after this a code example follows: //---- the last counted bar...
Dear, Since the 15th of August my VPS within MT4 isn't working anymore. Does anyone knows how to fix this issue
  Total Newbie  (3)
Is there any information on how to do Auto trading once I link to a broker I am really starting to pull my hair out. I have downloaded the MT4 and will it not work if what I think is the problem a signal from somewhere Any help to this platform will be greatly appreciated
When the condition (buy/sell) is met, order 1 (Buy/Sell) will be jumped with tp= 30 pips and sl = 30 and order 2 will be set with tp=30pips, sl = 30pips, order 3 with tp=30pips, sl = 30pips (same direction as order 1) and 20pips and 40pips away from order 1 respectively. If order 1 is closed with
Hello, My broker changed the name of all the symbols in the list of available instruments. I am on MT4. Since that change, I cannot download any data from Metaquote simply using the botton "Download". This is really inconvenient for backtesting since I need to use an external software to get data
Hi; I wrote this code (see below) that will draw in predefined levels in the window where the CCI indicator is loaded (subwindow 1). Everything works except that the zero level (which must always be draw in) won't draw in unless I have at least one other level defined. Any suggestions why this is
In the Volume Indicator with MT4, in the properties you can set "levels" which would draw visual lines on the volume chart at a specific volume quantity. Is there any way you can retrieve on an EA the volume quantity at which these 'level' lines are set at the present time, when you possibly move
I want to loop through hedge orders but with this function it's not the correct way. If you know the correct way to loop or how to assemble hedge/hedging again and again please assist. #property strict int MagicNumber= 834856 ; double Filter= 0 ; int BuyTrade= 0 ; int SellTrade= 0 ;