MQL4 and MetaTrader 4 - page 133

i made this simple panel as below it have one label and two button when i press one of them the other will be hidden but when i click at place of hidden button it still work i don't know why mqh file : #include <Controls\Dialog.mqh> #include <Controls\Button.mqh> #include <Controls\Edit.mqh>
Hi all, so I am new to MQL4 and not really great at programming overall. Anyway, I am trying to learn from a tutorial (this one: https://www.cashbackforex.com/school/mql4-programming/basic-expert-advisor-example-moving-average-cross/ ) and there seems to be some stuff there that doesn't work. I
How possible to download a jpg image and for that image to be loaded into a chart? Charts only load PNG and BMP so image then must be converted somehow. Does the newer image library support image conversions?
Is it possible to use mt4 indicator to turn on and off the Autotrading button based on condition
I am developing an EA to take over when signal copying run into trouble. I need to disable the copying to do this but I keep getting error 4060 (Function not confirmed). Below are the lines I used to try it. Any help will be appreciated. long Flag =
Hi I need to get prices between one candle Body and then call if this prices is exist in Moving Average. Moving average not problem to get, but how can I get Price with Body Candles. Prices just like that: 1.22500, 1.22511, 1.22522 and then simple use with moving average if Exists price between
Hello There, OrdersHistoryTotal() always returns zero, even though there are trades on my terminal during back testing with the strategy tester, Are there any limitations of the Strategy Tester that we should know of. I am using the Latest Version of MT4
Hi Everyone,    Could someone please help, I have lost my list of currency pairs on all of my profiles it is the list that appears just above the profile name at the bottom of the screen.   Thanks in advance.   Roman  
Hi, Did everyone have the same problem with that picture of the curve of balance? The text format of the X-axis did not generate correctly! I have already tried to re-install the MT4 software, but the problem still can't solve. If you know how to fix this issue, please help me! Thanks a lot
I want to show automatically a template on the chart when I use my EA, So I used Alert(ChartApplyTemplate(0,"My_template.tpl"); When I run my EA, the Alert returns True, but my template is not applied. (I also tried without the "Alert") The template works fine when I add it manually. Any idea where
I want to build the ultimate pc/server for doing purely set file optimisations for my EA's and too run them super fast, I need your help from those who either do frequent optimisations or code EA's for a living! 1. is MT4 optimisation speed CPU dominate? 2. is MT4 optimisation speed GPU dominate? 3
Hello! I'm new to this and I'm testing my Robot inventions to make changes, etc. The problem arises when testing the Robots, is SUPER, but SUPER difficult to test them in an orderly way, since never, but I have never been able to test a robot in the range of dates that I want, always the graph does...
Hi, ive been trying to compare the current days open to yesturdays close but am a little stuck on the following. Can someone please explain to me that within the following code : //+------------------------------------------------------------------+ // Gap
can anybody who copying mql5 signals can share information regarding : what ratio of lot is been used when copying mql5 signals? for example if signal provider having and account balance of $200 and using 0.01 lot size in his routine trades and and investor who copying him is having $1000 in his
Hello I am trying to introduce a "circuit breaker" in my code to suspend EA operation if it detects unsual activity over a defined period of time, e.g. the "flash crash" of GBPUSD on Oct 6, 2016, and June 23 when the Cable fell off a cliff. Obviously with a major currency pair there will be times of...
I want to move the EA comment from left to right corner ? Ask for advice as well. Get help
[Deleted]
can anyone help me with my problem. strategy tester doesnt work due to error 130 and error 138. // Pivot now; double pivota; double s1a; double r1a; double s2a; double r2a; double higha = iHigh ( _Symbol , PERIOD_D1 , 1 ); double lowa = iLow ( _Symbol , PERIOD_D1 , 1
i am trying to get my indicator i made work but i have a lot of buffers 18 to be exact . with #property Strict everything compiles fine no errors and no warnings. but when i load into terminal i only see the first buffer i am still new to coding. #property indicator_chart_window #property
  iHigh iClose  (19   1 2)
Dear Friends I was using this codes to get todays high and yesterdays low values in MT4. double ToDayHigh=iHigh(NULL,1440,0); double YesterDayLow=iLow(NULL,1440,1); Whats the code in MQL5 for the same. Thanks Noufel
[Deleted]
Hello guys, can anyone help me with my code. It works fine while testing in demo but while testing in strategy tester it doesnot meet my entry criteris and open trades after one is closed. please help me
Hello everyone, I'm TC, a newbie here. I am currently trying out an EA called XM V2.5 on Exness MT4 real cent account. When I used this EA on MT4 demo standard account, it worked fine. But on real cent account, it doesn't open any trades and give these errors on 2 charts: EURUSD,H1: Error: 0 GBPUSD
I was once again thinking about the data that I collect from the History Center for my specific platform, and I was wondering if daylight savings times were automatically adjusted. For example, if the data I get is in GMT, does the summer time data stay in BST, or does it change to what it would be
MT4 mobile can't get MQID Does anyone experience the same thing? I have Internet connection and also I can use it for trade, but I can't get the MQID
I am increasing the lot size with each subsequent Limit transaction but my code/formula just keeps on returning my starting lot size. Here is the code to calculate the lot sizes with each subsequent limit trade that is generated: input double Start_LotSize = 0.01 input int LotMultiplier =
  PipSize  (2)
Hello! I have one doubt about computing PipSize I have This: double Pip() { // double pip = 0 ; int dig =( int )MarketInfo( _Symbol ,MODE_DIGITS); switch (dig) { case 2 : point= 0.1 ; break ; case 3 : point= 0.01 ; break ;
Strange behavior with ChartTimePriceToXY function. Please check the following code #property copyright "Copyright 2021, PuguForex." #property link "https://www.mql5.com/en/users/puguforex" #property version "1.00" #property strict #property indicator_chart_window #property indicator_buffers 0
I want to monitor the data indicators of multi currency and multi cycle. How to ensure the integrity of the data of multi cycle indicators? If I only run EA on one currency
Hi guys. Can an EA be programmed to recognize when a user manually opens or closes a trade from the chart
[Deleted]
Dear Everybody I want to cancel all of my orders on metatrader at once. and if there is an expertor program that does that at a certain profit the better. Can anybody help me inthis regard. Regards Mehdi
Hello! I have one question … lets say that I set pending order open price at 0.1234… and the price… from 0.1230 jumps to 0.1238… let’s say during High Volatility times like news or rollover or something. At what price will the pending order turn into a market order