I am not able to make web request to an API using WebRequest from a script, I always get back an error 5203. This is the code, that I think is as simple as it can get. I am using MT4 build 765. #property copyright "just a test"#property link ""#property version "1.00"#property strictvoid...
Hi, I'm posting a https request in my EA but the WebRequest returns -1 with error 5203 ERR_WEBREQUEST_REQUEST_FAILED. What do you think the problem is? Thanks, Ala
Ok so I had my MT4 account set up and sending signals to my telegram account just fine and it stopped last night and now I'm getting a EA error code 5203? can anyone help me
Hi, i'm trying to create an EA that enters a trade depending on whether the signal line is above or below the main line on the stochastic indicator. I would like it to close the current order when the lines cross but I do not know how to do it. I am using an optimal lot size calcultor so each trade
Ok I have had it with the error coming up in my EA. I am getting 'invalid pointer access' here is the what happening.. 1. before i use any obbject is use if (CheckPointer(obj)==POINTER_DYNAMIC)||(CheckPointer(obj)==POINTER_AUTOMATIC) the conditions passes and then I proceed to get the 'invalid...
Hi, i have an expert advisor that works, but sometimes i just recieve this error, can someone help me out on how to fix it
Hey guys, basically ive downloaded the supertrend indicator and it works on the charts however I was to get the value of it to use in an EA but I'm struggling to returns any value. Heres my code atm: double supertrend0 = iCustom(NULL,0,"MQLTA MT4 Supertrend Line.mq4","SPRTRND",1.0,10,1000,0,0); I
Hello all new here , could anyone help me with regards to connecting python to metatrader for backtesting purposes so code written in python can be backtested on metatrader without having to code it in mql4. I am aware that there is functionality with regards to connecting python to MetaTrader for
hi guys i restart my pc , by abnomally power surge , and i lost my account and server , is possible recover it ?? thanks
Hi. I am trying to change the colors of an object, but the OBJPROP_BORDER_COLOR not chages... If i try to change the Background color, works: ObjectSetInteger( 0, "my_rect_label", OBJPROP_BGCOLOR, clrGreen); But, when try to change the Border Color... not works : ObjectSetInteger( 0,...
Hello there super coder, I am hitting my head to a wall for not understanding what's going on wrong in a code I am debugging: for my last EA I am working on a daily chart, and I need to check values of several assets when the new candle is formed (on my broker it's at 23.00 CEST), accessing candle
I need help please. My my mt4 terminal is not working. I tried to reboot my computer. I also installed and uninstalled the terminal many time already but still doesn't open. I already contacted my broker but nothing much they can do to fix. All other broker's terminal are functioning except the
Does anyone know why i cant search/find any server in my terminal? I did search by “open an account” but the only server that listed is only broker’s server, i used to manage to find another broker yesterday, but today i try again with many kind mt4 terminal’s broker and cant find anything
Hi All, I am currently new to MT4 and I want to compute for the pips with minimal hard coding. When coding for currency AUDCHF , I get the following info from MarketInfo(): 1. Lot Size = 100000 2. Tick Value = 1.089... 3. Tick Size = 1e-05 What I want to do is that I have an integer pip value that I
Suddenly my MT4 can not load EAs and Indicators. I restart the computer and MT4 many times but still same. Please let me know how to fix this issue. 2020.12.28 11:24:26.640 cannot load 'C:\Users\diet2\AppData\Roaming\MetaQuotes\Terminal\1DAFD9A7C67DC84FE37EAA1FC1E5CF75\MQL4\Experts\Market\Shepherd
Hello , I want to know how can have indicator on chart when I am running expert on strategy tester in mt4? as I see indicator showed when strategy test finish
void OnTick() { if [(PRICE_CLOSE > PRICE_CLOSE[1]) & (PRICE_WEIGHTED > PRICE_OPEN[1])] { OrderSelect(0,SELECT_BY_POS); OrderClose(OrderTicket(),1,Bid,100,clrBlack); OrderSend(Symbol(),OP_BUY,1,Ask,100,0,0,NULL,0,0,clrAliceBlue); } if ((PRICE_CLOSE < PRICE_CLOSE [1]) & (PRICE_WEIGHTED <
Please I really dont know how to get listed on MT4 as a trading server. I really need help on this
when trading crypto, some of them are like 900 points from open to BE and others are only 200, as well as the difference between forex and for example natural gas or oil, the pip values are drastically different, as well as my broker has stop levels set, which sometimes (if your unfamiliar with the
Hi friends, working on this EA, it is suposed to close all trades if some conditions are met, but it keeps giving this error, any ideas? thanks in advance for the help.. i am not really a programer, just taking bits of code and adding some things but this one i cant make it work... if
Good morning companions. I wanted to make a small information box to monitor an Expert Advisor, using the Testing Statistics (https://www.mql5.com/en/docs/constants/environment_state/statistics) I was wondering if it is possible to use these variables to get the trading results statistics from a
I'd like to create a RadioGroup with some RadioButtons: With the "AddItem" function i can add radiobuttons into the RadioGroup. I use the mql4 controls classes. I know there is already an existing Radiogroup file but It's not for my use and I need to create my own. So, if I udnerstand right, I need
Hi, I have problems with OrderModify error 130 and 'OrderModify 1, but I don't understand why, this is the code from where I modify it void OpenTrade( string sym, int tmode, double tsize){ int err = 0 , ticket = 0 ; double TP = 0 , SL = 0 ; if (!IsTradeAllowed()){ while ( true ){
Need to close order when price reaches to certain level. its simple but I couldn't make it. I am a newbie, appreciate your help. example below. double Ticket, Openprice, Lot, Tp=150; Symb= Symbol (); // Security name for ( int i= 1 ; i>= OrdersTotal (); i++)
[Deleted]
Hi seniors, In the MetaTrader Trade Terminal, I see the following figures (and my understanding of their meaning -:)) - Balance: the amount before orders are placed - Equity: balance + gain/loss not yet realized of open orders - Margin: this figure is set to be different from dealers to dealers. For...
Hi, Lately when I open my MT4 platform, there is a gap in data(candles) on the chart (attached chart with missing data - the blue area). I think it is because an indicator I attached to other chart. The data(candles) isn't fill even when I right click and "refresh chart". I only succeed to fill the
Hi! i found a indicator script on the net which suit for me . this indicator draw and alert when crossing specific above and below line. But one lack of function is when break out line it alert but there is no limit bar . i want to set 5 bars so if i set 5 bars i want to receive alert in 5 bars
Hello, I am using an EA within MT4. I want to do specific things without changing the EA's code. 1. Is it possible to limit the push notifications to my phone? For example I want to receive alerts for TP, SL, margin call,open order etc., but not for changes regarding editing the TP or SL. 2. Is it
Hi, I'm unable to install the MT4 platform on my Mac (macOS Mojave). Is the problem the older mac operating system? I'm reluctant to upgrade my OS since I then experience power shutdown problems. Any suggestions
hello i have a indicator which check break out price line. here we can see Red line is sell line and Blue is buy line. when price break Red sell line i want to get alert vice versa Blue buy line. but i want to wait upto 2 bars until Red or Blue signal bar break out signal bar. for instance, below

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.