MQL4 and MetaTrader 4 - page 249

[Deleted]
  check account type  (17   1 2)
Hi I have a question, how to check account type(standard, mini, micro)
Hello Members, I am new to the Panel. I tried the documentation but failed to find reference to make it work. Here I am trying to add an icon to the caption area before Dialogue box name with bitmap image control . But failed to move it above the clientback area. How to get access to that area
Hi guys I've installed on a single mt4 platform more than 20 accounts. I've checked how to set a proxy to use its ip to connect to the brokers..its easy. What i've not understood if i can set a different proxy for every broker linked to this mt4 istance.... My intention is: When i log on broker 1 =
HI, How can I fix this erroe message on MT4 ? ERROR - TOO SMALL HISTORY, RETURN NOW! Thank you
So, I want to loop through candlesticks and see if they meet my conditions and if they do then I want to draw a line but my problem is with the looping. For example, int counter = 10 ; for ( int i = 0 ; i<counter; i++){ // some other condiitons for example if (High[ 0 ] > High[i] ) { //draw line }
Guys, I am trying to write a simple EA to create an alert based on Heiken Ashi candles and MAs. If Last 3 candles were red (Open > Close) Current candle (candle [0] ) is green Current candle has no lower wick (Low [0] = Open [0]) Current candle has to be above EMA50 and EMA200 I found a function on
It's time to appeal to smarter programmers than myself. I have been working on this ADR (Average Daily Range) indicator, which draws lines at the upper and lower levels of the daily range. I've been running it on 5-minute charts and although it paints the lines just fine when first dropped on the
Hello I first downloaded the data I wanted from the Tickstory software. Then I imported the same data in MetaTrader 4 from icm broker and Alpari broker. Then I started taking back tests (timeframe 5 minutes) from both MetaTrader 4. But I got different results from each, while all the settings and
Hello all, I have tried searching for this answer, but could not find the answer I am looking for. I would like my OBJ_HLINE to update every tick to be at the current bid price. To test if OnTick or OnTimer were working I used these: void OnTick () { Print ( "onTickworking" ); } void OnTimer () {
Hello all, i have found a rather interesting config for a EA but before i whack it on i was wondering if any one knows if the tester takes into account the commissions and swaps etc on the results tab when it shows profit and losses in term currency
Hi! Id like to set up the FTP functionality in MT4, but all I get from the test funtion is "FTP: PORT command failed" and " Publisher: failed ". The address and login works fine in a browser or FileZilla, so it seems to be something in MT4. Anyone have a solution for this (the FTP server is on MS
I would like to obtain a unique ID in indicator code, to ensure that indicators on a chart do not interfere with each other. Originally, I used the MathRand() function , which unfortunately does not return unique numbers as I expected. Probably the random generator runs in every indicator
Hi I have o problem with my EA. It doesn't open BUYSTOP orders. I copied the code to SELLSTOP which works perfectly. Can someone check what's wrong? #property copyright "xxx" #property link "https://www.mql5.com" #property version "1.00" #property strict double OpenPrice; double
Hello, I Have a high-low dashboard indicator that skews to the side and cuts off some of the information from the dashboard. There appear to be no settings to be able to edit this in the dashboard setting. Could someone please help me in fixing this? Have added a screenshot Thanks
Hi everyone, I've been developing an EA that makes use of manually created trendlines and it seemed to work perfectly on my vps since its completion, even though I have like 40 charts opened at the same time with that same EA attached. However, it didn't have any OrderSend() functions in it until
Good day All May someone please assist me with this warning? Check the forum but could not find anything that worked fixing this warning Here is the code that is giving the warning Sorry i do not have the SRC button to post the code correctly. Thank you void OpenPending() { int Ticket1= 0
Hello there How can I fix bugs. Thanks //+------------------------------------------------------------------+ //| My_First_EA.mq4 | //| //| | //+------------------------------------------------------------------+ #property copyright "" #property link "" //---- input parameters extern double
Hi, The problem is only in my real account (not in my demo account) and from any one EA different to "Moving average.mq4" or "MACD sample.mq4". I opened a demo account with Alpari (UK) seven month ago and all well: Strategy Tester works in it. But I opened a real account with Alpari (UK) one month...
I would like to ask can EA get the user input from chart? For example, when user draw a square on the chart, the EA will know the position of the square and knows the first bar time and the last bar time. Thanks
  Boing sound  (3)
Where are the sound settings for MetaTrader? It keeps making this boing sound every so often and I have no idea what it is for...
hi....am trying to read some values from a CSV file into mt4 using a simple code my CSV file is at \MQL4\Files directory and containe one line of data 298 ,305 ,132 ,146 ,341 ,376 ,209 ,227 my code only read the first tow value 298 305 and show them on print or comment (either i want to use). how
Hi guys, I'm using a 2 line MACD in my strategy. My code is like this: Global Variable and Custom Function double MACDFast( int shift = 0 ) { double result = iCustom ( Symbol (), PERIOD_CURRENT , "MACD 2Line" , 0 ,shift); return result; } // double MACDSlow( int shift = 0 ) { double
Hi, I'm using a DLL to make HTTP requests, and noticed that after using this DLL, everytime I remove the EA MT4 freezes up and I have to close the process. I'm using this wrapper to make the HTTP requests: https://github.com/sergeylukin/mql4-http The requests are made to localhost. I even tried to
why my arrow wingdings cover my candle stick even I put it in High[] and Low[] predefined varialbles. this is my code ObjectCreate(Symbol(), StringConcatenate("BuyEntry-", "sd"), OBJ_ARROW, 0, Time[1], High[1]); ObjectSet(StringConcatenate("BuyEntry-", "sd"), OBJPROP_STYLE, STYLE_SOLID);
Good evening, could anyone answer me with certainty on what is the total number of steps mt4 optimization possible without using the genetic algorithm ? I need to use simple search and I can't understand how far I can go. 1 million combinations? more? less? Obviously what I try to understand is
Have been trying to subscribe to a signal from my iPad for 3 days..... HELP
in the below code `if(sma5_after > sma18_after)` never is true while this condition is repeated many times in the chart I use Mql4 in meta trader4 void OnTick () { if ( iVolume ( _Symbol , _Period , 0 )<= 1 ) { sma5_befor = iMA ( _Symbol , _Period , 5 , 0 , MODE_SMA
Hi staff, I create two custom indicator on only MT4 prorgram. Can I draw these indicators in two separate subcharts? thank you for all help
Hell All, Unfortunately when making personal chart markings (horizontal, vertical lines, etc.) they don't reflect on all the other timeframes. Yes, I've looked at the properties of the markings and they all are set to show in all time frames by default. Even if I uncheck that and manually indicate
Hi, I am not able to get the buffer value from icustom ..can someone help me to check the codes: //2 Moving Average Signal indicator inputs input int ExtPeriodFastMA =7; // Fast MA Period input int ExtPeriodSlowMA =20; // Slow MA Period input int ExtModeFastMA =1; input int ExtModeSlowMA