This is my first time coding in MQL4 I'm not sure what the error is, I was following a video of youtube, and it seems my code has multiple errors even though it was the same, could this be because it was an old video and mql4 language updated? Here is the code below...
I'm seeing this "opencl.dll not found" in MT4 journal logs. What's causing this? Where should the opencl.dll be? 2023.07.28 12:44:28.219 OpenCL cannot get OpenCL platforms (-123450, 'unknown error'), please install OpenCL drivers 2023.07.28 12:44:28.219 OpenCL opencl.dll not found, please
Hi Guys, Bit of a newbie with EAs, I am trying to figure out if an EA uses historical data. If you download from MT4's history centre would it use that data? Please help me understand
How to get ListView data (such as OrderTicket #) in mt4-terminal-trade tab
#property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Lime // Swing High color #property indicator_color2 Red // Swing Low color extern int lookbackBars = 10 ; // Number of bars to look back for swing high/low identification double swingHighBuffer[];
[Deleted]
For each currency pair I use a separate EA. To verify if an position should be opened, I test if there is no open order "if (OrdersTotal<1)" but this will block all other currency pairs to open positions and I miss opportunities. In other words: I want to open only one position per currency pair =
Hi I am contemplating converting to a MAC due to the reliability vs Windows but wonder how the MT4 Mac version behaves with the EAs. Can someone share their experiences please. Thanks
I paid £35 and am fuming it doesn't work for me
Hi, I've tried to delete an indicator from an EA, but it's taking me too long. How can I find all the chart IDs that have this indicator? I began with WindowFind( "Indicator name" ) but it returns -1
Hi there! How can i login from php to my MT4 account? Is there any API for it?
[Deleted]
Hi, does anybody knows a code formatter/beautifier for MQ4 or MQL5? It would be quite helpful to format the code as in any better development editor automatically...
Hi Dears, I code EA that sends messages and alerts to the telegram channel. I want to send Emojis with messages that send to telegram, How can I do it? I copy Emojis on telegram and paste that on the mql4 code between quotes but not worked and it showed on telegram like this "??". string
Hello! Here is a newbie in MQL. I'm coding a strategy for MT4 using a SuperTrend indicator. The MQ4 indicator was downloaded and works fine painting the result, but I need help migrating or embedding it into my EA. I need clarification on why the values of 'TrendUp' and 'TrendDown' variables are
Hi guy i try to test example script in manual for understund how work webrequest the first script for download page of gogoel finance work right , but the second script give me error autentication logn and password but i ma ssure pass and login is correct i add domain in option of metatrader 4 , i
Why do I have different results testing my EA in different MT4 platforms
How can I get the M15 Fractals prior to a specified time period on an M1 chart in MQL4? I want to get Fractals before a certain time, and below/above a certain price level. How can I achieve this? Thank you for your help. void fractal() { g_StartTime_bar = iBarShift ( NULL , PERIOD_M15
When I try to add this EA to the chart I get a message same "is not an expert and cannot be executed". Can someone shed some light on what is wrong here? // Constants (Input Parameters) input string EA_Name = "MR EA" ; input double LotSize = 0.01 ; // Starting lot size input double PipAmount = 10 ;
If I have 159.8 I want 159, not 160. MathFloor(), MathCeil() and even NormalizeDouble(number, 0) will round the number. Is there any function that will just drop the fraction and give me the integer without rounding
Hi is possible when declare array give a dimension by variable ?? like this ? string value = ReadIniValue( "correlazioni.ini" , "correlato" , "symbl6" ); int TotalLine=(CountLinesInFile( "correlazioni.ini" )- 3 ); int qttline = TotalLine/ 3 ; Comment(qttline); string
HELLO , dear friends Sorry, I ran into a problem, I hope you can help me During the backtest, I use the optimization option to test better options and see the results, but unfortunately, in the optimization results window, all values become zero and no results are shown to me. Where do you think
Hi the market products are not showing in the mt4 market tab .. please see attached pic even though the MQL balance and all the other tabs including the Signals tab seem to still be functioning normally Any help / ideas very much appreciated
Hi guys i create a dll in c++ for visual studio 2019 for read ini file i suppose is correct the code because compile and not return error , but unfortunately , when i call it, by mql4 not return nothing , i follow this tutorial https://www.mql5.com/en/blogs/post/753426#comment_48337118 , i suggest
This one I don't get. I cannot reproduce the error if I want. I just wait and it will happen eventually. The offending code is ArrayResize (file_buffer, Bars ); FileSeek (handle, 0 , SEEK_SET ); int size= 0 ; while (! FileIsEnding (handle)) { uint bytesread= FileReadStruct
i built this margintale ea that checks if theres any open trades and places an opposite trade when the open trade hits stop loss basically its stop and revers ea and the code is looking good but the ea is not doining any thing heres the code
Hi in an indicator that I have written , array out of range error occures, without removing the indicator from chart I whant to printf the index amount for my debug something like this : if( _LastError>0) printf(" i is : ", i , " during error" );//==4002 please some one guide me how is it possible
I want to send a notification to my phone whenever there is an opportunity for a trade. It seems that all I can send with the SendNotification function is just a text message - which is different from the SendMail function. I trade on 10 different pairs. Is there any way that I can send the Currency
new to download my purchased product to mt4 terminal
[Deleted]
Is there any way to takeprofit in pips? My base currency is GBP and im trading EURUSD. If I set my takeprofit as 25, it will close the order at 25GBP profit when i really want 25pip profit. ticket=OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green); Thanks for...
Hello everyone! I find this indicator on Trading view platform, and I want to convert this to MT4 indicator with same idea, indicator name is (Candle Body Size) that Plot bar size compared to SMA 50 bars back. Anyone can help me
mt4 signal not adjusting for the correct acct balance for example my acct balance is 100k. signal provider acct balance 600. SIgnal opens .04 lots on their acct. Using no more than 5% of deposit still only .04 are opened. Has affected several mt4 accts, but used to work fine Broker globalprime-demo

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.