MQL4 and MetaTrader 4 - page 29

Hi guys, could anyone please assist me with this. I keep getting a "No Connection" error when I log into my MT4 account on my phone. Please help me
The Problem, When coding in MQL4 with setting "Auto list names" enabled MQL4 will reverse the caps lock settings.  For Example, If normally characters are typed in lowercase when caps lock is off and uppercase when caps lock is on it will be reversed to typing uppercase characters when capslock is...
Help: In a code for chart window indicator, is possible to change the size of an arrow ?
Where is the best place to put this code? Now I put in the OnTick() function but if disconnected(internet) calling OnTick() does not occur! Which function mql4 call every 1 second? if(!IsConnected(){     Print("No connection!");}
Hi all, I had to restore MT4 from a Time Machine backup however it is missing all my expert advisors. As far as I know, MT4 runs under Wine on a Mac. Do you have any idea where these file may be or perhaps they are lost forever…? Thank you for your help
Steps to recreate crash: 1- file > open an account > scan servers > will crash while scanning, if I click 'next' it will go to the login screen without crash 2- file > open an account > next > open a demo account > fill out form > crashes while load bar is increasing 3- click bottom taskbar > login
[Deleted]
Hi, How can I find market Open or Close? dunction GetLastError()? What value return function? Or other function/way? Other solution? Thank you.
Just added an ea and clicked auto trade but when I check the journal tab, its just a wall of placed and cancelled trades. Says it can't open file , any fixes for this? Any help is appreciated, thanks in advance
Am trying to convert an mt4 indicator to pine script but am having issue understanding the interpretation of this code. double ArrayClose[][ 240 ]; double ArrayHi[][ 240 ]; double ArrayLo[][ 240 ]; ArrayClose[i][cnt] = iClose ( NULL , TF1, j); if (ModeHL)
Halo guys pls help my english is not too good but i new to trading and to code. i want to make simple code like this but i get invalid price inside the error int start() { double price1= Bid()-Ask(); // An price value // Attempt to open a pending order int ticket = OrderSend ( Symbol
Hello, this message is translated by AI. I hope my communication makes you understand. A month ago, I encountered a problem. When I opened MT4, without running any EA or anything else, the Desktop Manager Service of Windows used an unusually high CPU. However, when I minimized MT4, the CPU usage of
I have a bool code Can i use a single operator like this Bool a >b && b<a && c>d && d<c; Will this work? Thanks in advance
Hi, I have the following code.. orderS = OrderSelect (buyTicket,SELECT_BY_TICKET); bCount++; // B2 bPrice[bCount] = OrderOpenPrice(); // bPrice[2] bTicket[bCount] = buyTicket; // bTicket[2] buyAvgPrice = (bPrice[ 1 ] + bPrice[ 2 ]) / 2 ; orderM =
Hi try to create a dll and import it , i store the dll inside a folderlibrary , the dll i have created with visualbasic.net and i call it with this code //+------------------------------------------------------------------+ //| da_cancellare.mq4 | //|
Hello, can someone enlighten me about the difference with the following: 1. Period () vs _Period Digits () vs _Digits etc 2. If I used this code: Correct me with this one please ExampleBB = iBands ( Symbol (), PERIOD_M15 , 25 , 1.618 , 0 , PRICE_TYPICAL ,MODE_MAIN, 1 ); //Do I get the values of the
Hi, I create this simple script i notice in some cross return many decimal and if i normalize double not normalize nothing how is possible?? i do some error ?? return 2023.09.09 11:11:35.465 da_cancellare AUDCAD,H1: FirstPriceVCFirstPriceVCFirstPriceVCFirstPriceVCFirstPriceVC---> 86.52200000000001
I have downloaded MT4 platform on my new laptop and when I try to install it asks for "Please specify the proxy server options". OS:- Windows 10 Please let me know how to resolve this issue
I'm reading through some of the threads here and on other forums. Some things sound astonishingly promising, other things sound totally discouraging. I see that Newdigital has posted a fantastic amount of data here. Must spend much time, very appreciated. Looking at the EA results, some fantastic...
Hello everyone, Every time I try to backtest a strategy with already downloaded history data, or trying to download history data of a new Index, an error message is popping up: Anyone could help? Thanks
Hi, I am unable to install broker provided MT4 on windows 11 and getting error " The application was unable to start correctly(0xc0000017)." i have tried every fix provided here on MQL5 website and over internet, youtube but still the problem remains unresolved. if anyone can help, please provide
I having a problem bringing up my acc balance info on the mt4 platform. When I login to my acc/platform, my acc balance is not shown. How do I have my funds transfered back to my Forex.com Acc?
I have the VPS ordered from my MT4 platform. I have a desktop computer and a laptop. I have the VPS on both, but when I make changes to the platform on my desktop it does not show up on my laptop. Is this right? Is there something I need to do to sync them up
I want to add a maximal limit to the code, so if account balance is bigger than that maximal size then my EA will stop trading and a comment will pop-up and also will be written in the log: "Account balance is higher than allowed"
Hello, I'm new to this forum so hello to all!! I was hoping to get some help with my MT4 platform - I have 2 computer screens and a while back my Dad decided to remove one without asking me first. After struggling to revert to one screen I reconnected a different screen and started up the MT4
Hi, I am new to using Signals and have a problem with connection to my signal. Message: Signal - connect to ... :443 through proxy failed How to resolve it? Please help. Thank you in advance. AK
Hi all, I hired a developer to code an EA for me. He added trade continuation. However the EA does not have any trade continuation. I know a little bit of mql4 language but when I checked the source code, it does not make sense to me. below is the code for trade continuation. if ( Continuation ) {
for (i = total - 1 ; i >= 0 ; i--) { if (! OrderSelect (i, SELECT_BY_POS, MODE_TRADES)) continue ; if (OrderCloseTime() != 0 ) continue ; if (OrderSymbol() != _Symbol ) continue ; if (OrderType() != 0 && OrderType() != 1 ) continue ; if (OrderProfit() > 0 ) { bool closedOK
Hi, it's an old problem but still not really solved. Recently I was in trouble with a new broker and its Gold-price: 1234.340! For a 5-digit-broker 1 Gold-pip should be 0.1 = 10 Points now here 1 Gold-pip is 100 Point - sigh!! So I thought to calculate a pip (and digits) from the value of the...
[Deleted]
Hi, I'm not a good programmer. Please help me for this indicator. 1) Highest high of N period - N2 2)Lowest low of N period + N2 so inputs are two values: N for the highest high and the other N (N2) many many thanks in advance
I have a few EA's installed on MT4. When loading them on a chart they visually are small and button are on top of each other. The EA shows a sad face so I am not sure if this is a config issue or what