Download MetaTrader 5

MQL4 and MetaTrader 4 - page 45

To post a new topic, please log in or register
hey im trying to upload some new indicators but they wont seem to show up after i restarted mt4.a few others i already had inside my custom tab also are greyed out and wont let me click them.has this happen to anyone? any suggestions? thanks in advance
Hi Mt4 is still extending features but I think in standard mode without installing extra plugins should be possible to see current profit or loss value on those lines which show order entry next to order number. [example:     #24538549 buy  +72 $ or -72 $]  because currently it's visible just in...
ArrayBsearch Searches for a specified value in a multidimensional numeric array sorted in the ascending order. The search is performed in the first dimension taking into account the AS_SERIES flag. I need to be able to individually search every each individual one of the 5 dimensions in my 5...
I'm creating a function to try and return the PriceRank of the current symbol.  By using the IV Rank calculation, I want want to calculate the Price Rank. I've used it, but some how, I'm getting higher current Closing prices than the Highest within the last 52 weeks. Can someone tell me what I'm...
Hi forum, for me it's inconvinient to disable autoscroll before I can scroll backwards. So I thought if it is possible to disable it automatically if WindowFirstVisibleBar() is above a certain number. I use chart scale 4 with a shift on the right side. So with enabled autoscroll the...
I want to get the highest point on the histogram every time it cycles above and then below the 0 line (or vice versa). Since I cannot use iHighest I do not understand how to approach the logic on this? Also, should I use static and break in order to determine movement across the 0 line?
Hello, I have this error in OrderModify fuction when run my code, can you help me? Thanks // Modifica TP per gli ordini a mercato SELL         if (OrderSelect(ticket2,SELECT_BY_TICKET)){  // verifica presenza ordine in SELL e lo seleziona           if ( EntryPointBuy > OrderTakeProfit())...
Is compile in editor followed by refresh in mt4 enough or should I always reload the whole mt4 while editing mq4 files back and forth? Both equally effective?
is there option to modify sl and tp of different pairs running in mt4?
Hi, I want to copy history folders and files from one computer to the other one. What folders and files should I copy? Regards,
Hello Members, I was backtesting "MACD sample EA" then adding an "order status indicator" which shows numbers of active open orders data on the visual chart. But in spite of having active open orders from the EA, the order status Indicator is failed to show any open orders data on the chart. So does...
Hello, Can anyone help me to write an ea that will delete pending orders if no open order exits? What i want is an ea that will delete a pending order if my open order (buy or sell) has been closed, due to taking profit achieved. Example: I have a opened buy order with tp and i also have a pending...
free417
Hello, everyone. Can't a horizon and a vertical be shown to the location of the arrow of an indicator of this MA crossing? Is there such indicator? The one devised suitably is fine for onoff and a small place. Thank you for seeing it, I have that, it was done.
Hi all, I am new to MQL4 coding. I need to write an indicator where it shows the value of previous MA 20 and 8. also if 20 is above 8 then it should be sell else if 8 is above 20 then it should be buy. cant understand how to write, My Indicators keeps coming up with problems. I am hoping for a...
Hi, i created an ea that increments the order volume after it has stopped and resets from the initial value after taking the take profit.I have to say it works, but sometimes (especially if I get more charts) goes crazy and returns to the value of initial multiplication without taking the takeprofit...
Hey everyone, I want to know how to load more historical data in the PC windows version thank u
Hi everyone. I realize that this is probably a very stupid question, but I am still learning and very much a beginner.  I have the MQL course by Forex Boat and I'm in the second lesson about integers. I keep on getting an error but cannot for the life of me figure it out. Please see screenshot...
  Decompilation (7)
Hi, I would like to have access to decompilers. I do not want to stole anyone code, I just want to look how my EA looks like when decompiled. Someone could point me the direction or this is prohibited subject here? (if it is, I will understand)
  Posting to "Service Desk" (21   1 2 3)
Previous to MT4 Build 600 the establishment of the hierarchical order of lines and labels on a chart, drawn by different indicators and regardless of the order of the indicators as listed in the chart list of indicators, was a splendidly simple and exacting task. All it took was the addition of an...
Hello We develop signals on a proprietary system built on php/SQL. We use this to send signals to Collective2.com via their API. I'm interested in sending our signals but they do not have an API and only accept signals via MT4. I'm a big fan of MT4, but dont want to have to replicate all the work...
Can I use IG Index MT4 in the UK to send signals?  Is there a list of brokers whom a person can use to send and receive signals? 
Hi, In my memory,it can work well long time ago when i use this function. but recently,i back to modify a old program, When i put var into [Add Watch], its value  always show "Expression could not  be evaluated". Whats wrong? Thanks in advance.
Hi guys, This is a screenshot of the Monster Harmonic Indicator by Paul Geirnaerdt. I have 2 questions: 1) How can i fit two textboxes beneath a candle low so they don't squeeze together when i squeeze the chart together? This happens because the text is fixed to a price coordinate and when they...
Dictionary<string,List<string>> dic = new Dictionary<string,List<string>>();            List<string> myValues1 = new List<string>();             for (int i =0; i < 50; i++)             {                myValues1.Add("KeyA" + i);             }            List<string> myValues2 = new List<string>();...
Tsz Ho Chow
  OrderOpenPrice question . (11   1 2)
I have no idea why my OrderOpenPrice() would remember the last price even in Backtesting with different pair .  for example , last OrderOpenPrice was eurusd 1.00000 , and I test on usdjpy , the OrderOpenprice will be 1.00000 also . and usdjpy was no order begin.
does anyone know how to send and receive data between brokers using quick channel? does it happen on the same channel name? or do you have 2 channels? I have an ea sending information going one direction, now I need to respond back to the 1st broker. Example: Broker 1 ea sends Broker 2 ea...
On my way to an interface-based-design I was stopped again: //--- Two Basic interfacesinterface iBase  {   double getMarketRisk(void); //...  };  interface iPosition  {   // simple and working:    double addBaseRisk(iBase &firstObject);    double getPositionAndMarketRisk(void); //...     //...
Hi All, I am new to MQL world and need some assistance. I need to find out which if price in the last 10 candles has touched my 20 Moving average. I am not sure what is the best way to write this and how to do it. Can you please help? Thanks
Is there a way to search an array and see how many times a value range happens? Example in SQL would be something like: Select count(*) From table Group By Column What I am trying to do is search last 100 bars search how many bars comes within a certain range of the highest bar for the time frame...
Hello everyone, I must be missing some steps in trying shutdown some charts currently opened. The code below works with MQL4. How do I close charts by name or chart ID? #property copyright " "#property link      " "#property version   "1.00"#property strictinput int TIMEFRAME; string charts;...