MQL4 and MetaTrader 4 - page 52

Hi, Can anone help me? I keep getting this Zero divide error with this indicator, it will not show u anything. Much appreciated. Improperly formatted code removed by moderator
Hi It's easily possible in MT5 . I just need to uncheck ' Show Bid Price Line'. I don't see an option like this in MT4. Any other way to do that in MT4
[Deleted]
hey guys, i know there are al lot of threads about this issue but i didn`t find a solution to get 90-99% quality for GER30. can you help me in this term please? thanks in advance.
  Can you help me?  (5)
Hello, I use a system of EMAs whose periods are based on Fibonacci numbers, such as EMA 55, EMA 89, EMA 144, etc However, I realize the greatest EMA which the MT4 can display is EMA 2584 But I want it to display larger values, such as EMA 28657, EMA 121393 Would you please help me find a way to
Hi everybody! I'm new with coding in mql4 and i'm having some issues while trying to implement money managment rules in my EA. Here is the code: bool last; //last trade result bool Last() //check last trade result { for ( int i=OrdersHistoryTotal()- 1 ;i>= 0 ;i--) {
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
  array questions  (2)
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
Hi, I set up email in option of metatrader4 , but it is not work. Know everyone what can do
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