MQL4 and MetaTrader 4 - page 161

Dear My one of client purchase a product after that he can't activate his problem, it give the error "global initialization failed" Also he losing the activation when you try to install product in same computer
Hi everyone, I got a very BAD problem. The data on my Metatrader4 app on iPhone is frozen. Absolutely nothing updates. Tried logging out, relogging, removing cache, deleting and reinstalling app, still the same problem. Anyone know the solution? This is really bad, thank you
//+------------------------------------------------------------------+ //| Test01.mq4 | //| Copyright 2021, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2021, MetaQuotes Software Corp."
I tryin to easy show/hide indicators on the chart window, better that switch templates, I think. I did the interface and the buttons for each one, this example is with easy moving averages , but I think can be used for Ichimoku, BBands, etc, please check on the screen shot. I have the buttons done
My trading capabilities are fiables, it says investor mode in the journal. How do I restore my trading capability. Thank you Laurent
Hi all, Hope you are all well. Can anyone recommend any free addon to MT4 to improve charting i.e. drawing tools etc.? I need to go back to MT4 from trading view. Thanks
Hi all. I've been using static variables but now i have problem for declaring static arrays. I want elements of array not to be change when timeframe changes. static double a[ 3 ]; static double b[]; int OnInit () { ArrayResize (b, 3 ); } int OnCalculate () { Comment (a[0]); Comment (b[0]);
[Deleted]
Hi, Putting together parameters for a buy or sell; stuck on, a parameter where the points/pip are counted when the bar is closed, then trades when a expected number of points are counted from the bar. eg, the parameters i've used are: //Buy If(Close[ 1 ]+ 0.0001 ) //Sell If(Close[ 1 ]- 0.0001 )
[Deleted]
Hi, Putting together parameters for a buy or sell; stuck on, a parameter where the points/pip are counted when the bar is closed, then trades when a expected number of points are counted from the bar. eg, the parameters i've used are: //Buy If(Close[1]+0.0001) //Sell If(Close[1]-0.0001) //there is
Greetings, Does anyone have any solution to MT4 indicators not working on high resolution screens yet? This thread https://www.mql5.com/en/forum/158168 basically says there is no solution other than the developer fixing the indicator. But does anyone else have any other solution yet? The majority of...
Hello everyone, I hope you're all doing very good... I found an issue while trying to create an array of MyPoint objects and then add it to the Vector Object but all my attempts and researches failed... This small code gives an error of "Parameter conversion not allowed" and "Invalid Access Array"
Hello, Right now I have two values for the high and open for the last bar but when trying to subtract them it gives very different results and I have trying for hours to discover why this happens with no luck :(. I'm a beginner so i know I'm missing something. HIGH OPEN 113.4999999999995
hi guys, i need to (where )parameter be 0 just for 2*5m candle closes, so i wrote this, but it seems to where be 0 after last order close, whats the problem you think? i wrote this at first of on tick, my bot worked well, before this if ( OrderSelect (OrdersHistoryTotal()- 1
I'm trying to draw a box at the same time every day. The start and end of the box will be at the same time but the top and bottom of the box will be of the highest high and lowest low during that time period, respectively. I'm still relatively new to writing code, which will probably be obvious and
Read this forum MT4 developers? Is possible contact developers via this forum? On MT4 is actually no possible login into Market to download any indicator or EA!!! If I paste the same login email and password how on web version mql5.com, it write error "incorrect password". On MT5 platform work login
  ORDER SEND !  (2)
hi guys , do u know how this could happen? i tested my strategy in strategy tester then i expected only one sell there but it open some sells and some buys, price didnt reach to the buy position even if ( where == 1 ) { if (Bid>bala_hemayat) {
Hello everyone, I have this weird issue when reconstructing a date it is showing the seconds 00. Sometimes it doesnt do that and shows it properly. I honestly have no idea why its working and not working but here is my code. datetime DateRecon= TimeLocal (); int year,day,month,hour; year =
  open orders with 10pip gap  (63   1 2 3 4 5 6 7)
please help me with handy code to open position and open another one after 10pips.thanks see what i have tried but no success with the code please help if ( ma1 > Ask + ( 10 * Point )&& CurrentTime != Time[ 1 ]) { Opn_B= true ; }
I'm getting trades as in the picture through out the backing testing of a simple candlestick pattern . I only get this error when I run backtesting on 30min or less. I'm using on every tick. Is it bad data somehow? It seems buggy. Has anyone had a similar issue
I can't seem to find info on how to set up alerts using the android tablet app. all of the info I can find either covers just the mobile app or the desktop app. Can someone clue me into how to set up alerts using my tablet
Hello, I am a bit lost with the error "Error create canvas=4025" I even don't know what a "canvas" is. Does some had the failure as well? I have no idea where to start looking for a solution in my code as the failure occures random. Thanks in advance
[Deleted]
Right, really beginning to lose my patience here, why do I keep getting the error 4200 - object already exists on the " MovingText " chart label when the chart label doesn't actually exist in the first place? The text object does not already exist, hence why I'm placing it on the chart
How do I clear these red notifications for these two tabs in the terminal? I can't seem to "find" the unclear ones in the market & the article tab I refreshed & now it's over 1K
Hi Traders, I need your expert help once again, I am trying to put together a simple code to change the timeframes, below is what I did, is working fine but I am getting the message "Do you really want to stop script?" every time I run it, it is a bit annoying. Any advise on how I can get rid of
Hi! Im new in meta Editor, I tried to make a custom Indicator that shows the commulative sum, in my case the commulative sum of mcs[]; here is my code: //+------------------------------------------------------------------+ //| Volume Momentum Cummulative.mq4 | //|
  Mql4 Function  (2)
Good morning, is there any mql4 function that restarts any of thesel, or similar: Terminal, or the connection of the terminal with the server, or the data of open orders? I have a problem regarding orders, some pending orders are activated but the terminal does not update the order, and there is an
  Semi Manual EA  (2)
Hi guys i have coded EA trade management. It automatically set my trailing stops when it reach a certain percent on gain. To activate it i need to manually open a trade, after manually opening a trade i run the EA so it can adjust my trailing stops. It works perfectly on one pair. The problem comes
Hi, I've been trying to figure out why I'm getting a OrderSend #130 error. I'm familiar with the error and have resolved similar errors in the past however I'm unable to debug this one. I could use a 2nd pair of eyes to review the code to figure out what the issue is. Below is a summary of the code
Hello, I am trying to use this indicator in a EA that I am currently building I got the indicator here : https://www.bullforyou.com/Sourcecode/Indicators/153735942715023.html My problem here is that this divergencesType always return 2147483647.0 divergencesType = iCustom ( NULL , 0
Hi, I'm trying to get ticket number after sending an order int ticket= OrderSend ( Symbol (),OP_BUY,volume,Ask, 3 ,stoploss,takeprofit,"My order", 0 , 0 , clrGreen ); if (ticket< 0 ) { Print (" OrderSend failed with error #", GetLastError ()); } else { Print (