Hi and welcome I'm copying someone but all the time he opens some pairs it causes a drop in my account and always close on negative! Is there any way i can delete this pair so when he opens it it doesn't reflect on my account If i deleted this pair from the market watch on MT4, it can fix my problem
[Deleted]
Hello everyone, I have this indicator: //OBJ_LABEL prefix+"close" already created during OnInit //OBJ_LABEL prefix+"mkt_open" already created during OnInit //int mkt_time = 1 int OnCalculate ( const int rates_total, const int prev_calculated, const datetime &time[]
I've been trying codes for two days and nothing is working. I want to make an indicator that draws a dashed line from the daily open price to maybe 15 bars past the current price just showing a line where the daily open is but I want the line to start at the actual open price. I came across a thread
Hi I need to open a .EX4 file but there's no app or program to open it. Additionally, I even checked on the mt4 but don't know how to open it there. Please help
Hi guys I'm developing a simple EA which is based on two Moving Averages (50 and 150). I made the code already for the MA break but now i need another condition, where the EA should only open a trade when the FMA gets retested. Does anyone have an idea how I can code this? I uploaded a picture when
Hello there. I have been unable to install MT4 on my HP laptop. There is no error message not even error code just text on install window "Sorry, something went wrong: Try again later!" Going trough posts I did not find any that would match my problem. Has anyone else been experiencing these sorta
I’d like some feedback on a problem I’m seeing with an EA with delayed execution trading on the MT4 VPS The EA has very simple entry rules: - The EA should place a “market order” at the open of the 17:00 (NY 10:00) 1 hour candle, if the RSI condition is met - The RSI indicator, length 15, condition
'&&' - illegal operation use once per bar expert.mq4 3115 39
void TrailingPositionBuy ( int idTrailingStoploss, int idMagic, int idTicket) { int TS = idTrailingStoploss; for ( int TS= 0 ; TS< OrdersTotal (); TS++) { if ( OrderSelect (idTicket, SELECT_BY_TICKET)) { if (OrderSymbol()== Symbol ()) { if
Hi I wish to display certain chart stats on my chart. In general chart properties I have "chart in foreground" unchecked. I use the following code to display the stats but the chart (bars) still move over the text, instead of behind it. // second column stats // flag categories
If I use indicator buffers, they are always displayed on the chart. How can I NOT display them and still have their values calculated? I need only the values, but not the visible part, but I want still to use the indicator buffers because their size is handled automatically by MT4. For example, the...
Hello, I create text object with Wingdings Wingdings. Ex: CharToStr(233). Strange is some time arrow have black border. Code to create Text Obj: bool TextCreate( const long chart_ID= 0 , // chart's ID const string name= "Text" , //
hi , i just wrote a code to multiply the lot size after every loss because of the high win rate of my ea, as far as i am i got no errors just some signals to check again orderclose and ordersend the problem is that i don't know why it doesn't apply the stop loss so i can't make it work can someone
void OnStart () { // la valeur actuelle des bandes de Bollinger double upperBand = iBands ( "EURUSD" , PERIOD_M15 , 20 , 1.0 , 0 , PRICE_CLOSE , MODE_SMA , 2 ); double lowerBand = iBands ( "EURUSD" , PERIOD_M15 , 20 , 1.0 , 0 , PRICE_CLOSE , MODE_SMA , 0 ); double middleBand =
Using File Functions MQL4 instead of kernel32 .dll Hello everyone, how can you write the following code without using kernel32.dll and using File Functions MQL4? Source code removed by moderator because it is only useful for scammers and not for proper EA code development
... Improperly formatted code removed by moderator. Please EDIT your post and use the CODE button (Alt-S) when inserting code. Hover your mouse over your post and select " edit " ... ... Here is my code which i have been using for Trailing Stop on Sell orders, When the Sell order are generated the
double redMa = iMA ( _Symbol ,indicatorTimeFrameRed,maPeriodRed, 0 ,maMethodRed,appliedPriceRed,redMaShift); redMa= NormalizeDouble (redMa, _Digits ); double blueMa = iMA ( _Symbol ,indicatorTimeFrameBlue,maPeriodBlue, 0 ,maMethodBlue,appliedPriceBlue,blueMaShift); blueMa= NormalizeDouble
Hi, I use web requests to validate my EAs. I noticed that on Windows Server 2012 and older Web Requests always give error 5203, and do not work at all. This problem is not encountered in Windows Server 2016 or 2019. It seems like there is a sort of firewall blocking Mt4 Web requests. Do you know if
I am creating a radio button group in a separate indicator window on my charts but having difficulty with some of the settings. My code so far: #property indicator_chart_window #include <stderror.mqh> #include <stdlib.mqh> #include <Controls\Dialog.mqh> #include <Controls\RadioButton.mqh> #include
Hello coders I was able to modify a dashboard indicator to display CCI values accross pairs and timeframes. I am struggling to add alert when a +/- 100 level is crossed Can anyone help. Thank you Gerald
Hi! I am logged into MT4 desktop version, and want to set an investor password. I follow the instructions: Tools/Options/change password - and fill in main-password for confirmation + choose an investor password that contains 2small letters 2big letters 2 numbers, I also try to add other signs that
Hello everyone! I'm currently making an EA to feed a MySQL database with trading data. My current issue is when pointing out to an external database. //=====Connection To Database string host = ""; int port = ""; string socket = ""; string user = ""; string
Could someone please provide more information about the " license failed " error message? This is a free indicator downloaded from the MT4 market, and I am the developer of the indicator. I did not intentionally add this type error messages to the application. When my user change the time frame
How to toggle or make a blinking Object or to oscillate colors or something ? Is this possible or does the code just read so fast that it wouldn't be noticed ? I can see doing a counter of some type but I don't want to hold up reading of the rest of the code either. Is there such a thing ? Or has
Good evening everyone. I have a question to ask about sending the e-mail from Metatrader4. I installed the Metatrader4 application on my pc; I opened a demo account; I opened charts of currencies on which I am interested in operating; I downloaded a free robot trading which I then applied to each...
please help me with this warning.. i've tried so hard to fix it but still no use.. the warning is expression on the global scope not allowed... :-( also 1 more question what are: *unbalanced left or right parentheses? *end program/unbalanced parentheses? *unbalanced parentheses? if(OrderSelect(0...
i have battled with the below code to send a screenshot and a message on the fulfillment of certain conditions from mt4 to telegram. i was able to send just a message but the screenshot has not worked as i keep having numerous and countless errors. some errors INVALID ARRAY ACCESS , STRUCTURE TYPE
Does MT4 DESKTOP version run on AMD processor ? For example: AMD Ryzen 7 5700U On Windows 11 ? Thanks for your answer. After my search here below, i assume yes, MT4 runs on AMD processors on Windows11
Background I am current trying to use MQL4's AlgLib library made by MetaQuotes, albeit with some slight edits. I am making some changes to the CMatrixDouble Class to in the matrix.mqh file to make the CMatrixDouble class easier to use. Current Changes to class declaration
I would like the req.body to be formatted as key value pairs like so: req.body: { emailAddress: exampleemail@gmail.com, accessKey: 123456789 , accountNumber: 12345 } Improperly formatted code removed by moderator. ... I'm used to javascript and axios where you can just pass an object as the payload

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.