MQL4 and MetaTrader 4 - page 24

Hi - I am trying to set up a VPS to run an EA on my MT4 with Trade Nation. It doesn't matter what payment method I try to sign up with it immediately displays error messages with all the ways to pay. Any help? See attached
  mt4 terminal  (2)
hello,how can i download mt4 terminal here
(Reposted using English in this "en" English forum; please ignore improper duplicate English-in-Russian forum https://www.mql5.com/ru/forum/474328 ) I haven't found a MT4 bug report of this issue; perhaps I missed it. (Tested MT4 b1420; This works on MT5). When I draw a Rectangle object (with Draw
in mql4, i can use iTime[1] to get bar[1] opentime ,   in mql5 , i use below sentence  CopyTime(Symbol(),PERIOD_CURRENT,1,1,from);    but i get  compile error: no one of the overloads can be applied to the function call   how to solve thanks 
My profit colour is black i want them to be blue
Greetings, Does anyone have any solution to MT4 indicators not working on high resolution screens yet? This thread https://www.mql5.com/en/forum/158168 basically says there is no solution other than the developer fixing the indicator. But does anyone else have any other solution yet? The majority of...
Hi, I wonder if this has been discussed before but I didn't find anything in google. From my research, the following 2 declarations seem to be doing the same thing. double Ticksize1 = MarketInfo(Symbol(), MODE_TICKSIZE);double Ticksize2 = SymbolInfoDouble(Symbol(), SYMBOL_TRADE_TICK_SIZE); So is...
//+------------------------------------------------------------------+ //| qjol sol for wininet.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //| https://www.mql5.com |
  Developing a stable trading robot  (170   1 2 3 4 5 ... 16 17)
I am in the process of developing a stable trading system that will combine stable profits with occasional losing trades. The system is based on a flip martingale. I should immediately mention that I understand the futility of the classical martingale, but in this system it is used in a slightly
Hi, Just wrapping up a script which sends tick data to MySQL database. Successful, but when I went to add some more variables in the string I got the compile error: '(time_posix INT UNSIGNED NOT NULL , th INT UNSIGNED NOT NULL, dow INT UNSIGNED NOT NULL, date_time VARCHAR(40) NOT NULL, date
  Balance Update  (2)
For the 2nd time this week. I've got an unknown 'Balance Update' showing on my history which is deducting money from my account. Is there anyway to find out why it is doing this. I'm currently on a practise OANDA account, but i'd like to understand if this is a charge i'd see if trading for real....
Hi I'm trying to send a webrequest, but it says "Http request failed" error code: 5203 I searched so much on the internet but i couldn't find something that resloves this. I added the "http://localhost" permission on the setting, but it's not the problem. It doesn't work neither with GET, or POST
  mql4 bmp sources  (15   1 2)
hello everyone are there any sources to download .bmp files with different sizes to use in mql4 coding ? thank you in advance
Hi, when loading an EA via Template, the EA will be "loaded successfully" but no OnInit Call will be executed. There is no chance to get code executet if the EA was loaded from a Template. The "Expert" Tab in MetaTrader will print "loaded successfully" but also missing the log line "initialized". If
I've been looking for the answer to the captioned question, but been unable to find it so far. CHARTEVENT_KEYDOWN can only pass code of a(one) pressed key by lparam. Thus it can not tell "shift + z" key input from "z" key input. Is there any way to capture a set of two key inputs, like "Ctrl + a"
Suppose I want to run a scan through all markets available with my broker to look for favourable trades. Say I want to look for any stocks that have reached a yearly minimum. Can I do that with MQL4? I note that the technical indicator functions all have a symbol parameter, so clearly they don't...
Hey Guys. I tried to run my EA and it's supposed to set two Sell Limit orders at the top. However, only one Sell Limit order is placed. I checked the error and it says "Trade Operations Not Allowed By Settings". The thing is, I already enabled automated trading button, checked the boxes that allow
  indicators issue on mt4  (17   1 2)
Hi Guys. I bought some indicators few years ago. Everything was working perfect until about 3 months ago. When my mt4 in not running for few days and when I want to open it, it freeze. I already noticed that when I delete the indicators that I bought from MQL4 then mt4 is opening with no problem. So
Hi everyone, i'm new to MQL4 and i'm working on an EA similar to an MA ribbon. I shared both the indicator and Ea versions. I had no issue with the indicator version, but i was getting "Array out of range" error in the EA version, so i added the arraypush method as a solution. However, i don't
My trading strategy is martingale that if there is deficit and next order is ready to open based on signal. I coded some functions for handling buy and sell orders seperately. Problem 1. if I change the cindition from "if (ticketBuy[position] == -1)" to "if ( orderType == OP_BUY &&
Hello, I'm preparing to call a DLL within MT4 and I've come across one construct which I can't get to work. The original C++ code is here: typedef void (TA_CC * TrialCallbackType)(uint32_t, void *); TURBOACTIVATE_API HRESULT TA_CC TA_SetTrialCallback(uint32_t handle, TrialCallbackType callback, void
I tested a trading robot on one broker's account, and the results were positive. However, when using the same robot on another broker's account, the results were negative, even though I chose the same time and currency pair. What could be the reason for this difference in results? Even though I
hi guys I'm trying to make a label on my EA that will display the possible loss amount of my current open multiple sell orders. I have a horizontal line that will give the price, the price that was given by the horizontal line is will be used as Stop Loss price on my formula that will compute my
Hi everyone, I'm facing an issue with my Expert Advisor (EA) on MetaTrader 4 , connected to a demo account with [name redacted by moderator] . When I try to place an order with a predefined Stop Loss (SLO) , I receive the Error 130 ( Invalid Stops ) , even though I've already tried the following
Hello, I've modified this indicator but somehow candles and other indicators display on top of its background. How to get the Background on top of the candles and any other indicator? I tested modifying this but it's not working: ObjectSetInteger ( 0 ,name, OBJPROP_ZORDER , 0 );
Hello everyone, First time posting on here. I created an EA but for some reason I'm not sure of, it's not trading. Can someone help me diagnose the issue? I can share you the EA file. Best, Michael
Hello, I found that MT4 Build 1422 is using an unusually high amount of CPU, even though I'm not running any EAs. The VPS I'm using has 3 CPUs and 4GB of RAM, so it's unusual for MT4 to have high CPU usage and become unresponsive. I tried hiding all currency pairs in the Market Watch menu, and it
Hello Experts, I was made one of MT4 EA, problem is normal orders working fine but Martingale orders cannot placed according to given pips value. Please help me, I am very thankful to yours. EA code already attached. Note: This is multicurrency EA, need to attached only in one chart
My patience is seriously wearing thin right now. Why am constantly getting this stupid, bloody warning despite everything being correctly initialised? Why is it only focusing on the on those variables with the second iteration, i.e. CandleBody[ 2 ] CandleOpen[ 2 ] CandleClose[ 2 ] I am seriously
Hi, Does MT4 has the same restrictions in the latest update ? Terminal: Restricted access to MQL5 trading and history functions if the account is subscribed to a signal This basically restrict using any algo trading on a signal account in mt5. https://www.mql5.com/en/forum/473035