MQL4 and MetaTrader 4 - page 579

To post a new topic, please log in or register
Hi all, do you know any tool to check your historical data integrity?. I am looking for something like that to check the historical data integrity i am working with.  Best. 
Hi all,  Say that an order do not open, is there a way to know if that happen due to slippage ?  Thank you in advance Luis 
Hello all, I've been grappling with an issue that I haven't been able to resolve for some time now. I am using a third party indicator which among other things draws objects to signify entries and exits. It also displays how many entries and exits it has completed on the chart. This number is based...
Hi all, I used to set labels to group extern input parameters definition. For instance: extern string ParameterSection1           = "//===== DEBUGGING ==";  If i change this string, for instance: extern string ParameterSection1           = "//===== DEBUGGING ::"; when i'm compiling the code, that...
Hello,  I am new to the development of forex services. At the moment I have two indicators.  Indicators details: Each indicator has 5 lines. The Top 2 line which would indicate a potential in a Sale, a line in the middle which represents the dynamic of the market and the bottom two lines which would...
Good day, requesting help to know how I can get my EA open trades when EMA (fast) EMA crossover (slow) but have a difference between the 2 emas of "X" number of pips away. I appreciate your help.//+------------------------------------------------------------------+//| This MQL is generated by Expert...
Hi all, What I want to get is; If last order minus 1 has its profit above or equal to 0 then close all open orders. If last order is equal to MaxOrders and if profit is less than 0.00002 then close all open orders. I already have put to the forum a quite similar issue with  the way that this...
Hi, is there a way to make a script, that wil make the grid of the chart with lines exactly 10 pips apart.?  thanks 
Hi   I need a favor, how can i write this in mq4   if fast2MA < fastMA then use Parabolic sar or if fast2MA < then use Banda bollinger??   thank you   
How to get day from price bars ? Thank you
Hi there, I often open some positions on the same stock step by step. In the chart, I can see the ticket number like #123456 buy If I do this 4 times, I have 4 lines with my 4 stop loss lines which I also add. Now, do I have a chance to rename or comment on the order somehow like # 123456 buy - this...
  i need help (4)
when i was working to make my EA , i was to compare the cods to test it and while it compare  the electric cute now i cant find the cods at EA what can i do to get back the EA before the electric cute   thank you for your assist and your time  
Hi everyone.   I've created a script that shows the record(OPEN,CLOSE,HIGH,LOW) 15 days before the present date. The problem is i dont know how to determine whether the dates falls saturday or sunday which means there is no market on that date...     thanks.... 
Hi everyone...   Is it possible to export data into excel and specifying what cell to hold a specific data. I have used the FileWrite with the delimeter ";" and "\t" in order to put data on separate cells but it failed. All data are in one single cell...     tnx.... 
Hi everyone.   Is it possible to send .csv file to an email using SENDMAIL function?   tnx    
  quickie (2)
Hello MQL4 community, What is the URL or keyword(s) for the MQL4 neighbor site providing a forum to traders seeking ideas for FOREX trading strategies, please? Thank you
I use this code to open orders , the OP_SELL works correctly , BUT the OP_BUY is always 2 pips below of the 'take_profit' level , why ? , something wrong ? OrderSend(Symbol(), OP_BUY, lots ,Ask, 3, Ask - stop_loss * Point, Bid + take_profit * Point, IDENT, MAGIC, 0, Blue); OrderSend(Symbol(),...
Hi everybody! I tried to re-write the "Hello World" genetic algorithm, originally written in java, found on this site: http://www.havnemark.dk/kim/wordpress/?p=28 I think i found a better and faster solution for the problem, but my script works very different way like the original. I am not sure...
//+------------------------------------------------------------------+//|                                                        test1.mq4 |//|                                          Copyright 2013,...
I am confused about Identifying live account in MT4 Because in my broker MT4 the Demo account also doesn't have Demo suffix after the account number in top of the terminal window.
Published new article MetaTrader 4 Expert Advisor exchanges information with the outside world: A simple, universal and reliable solution of information exchange between МetaТrader 4 Expert Advisor and the outside world. Suppliers and consumers of the information can be located on different...
Hey guys, My EA basically states, if Total Open Orders <= 1, buy/sell conditions. What I want now is for the EA to see that if it creates a buy order, it can still allow a sell order to be made but NOT another buy order. My EA states that up to 2 orders can be open at one time, but I want it to only...
System updated on Sunday with Build 451.   Mail service no longer works.   I have reset smtp on router,  25 and 587.   I deleted email.ini.   I have even set to different smtp servers.   Same error message.   Mail: Error connecting to smtp.XXXX.com.     No matter where I put it.    Any suggestions.
How can I read the value of the Median Line in the rsi window? Please note that I need to read the median value according ro the RSI Scale (0-100) not the price   Regards 
Hi. I found an EA for moving SL to PSAR. I want to this EA that move stops to PSAR on only PROFITING positions. I don't want to EA set and move Stop Loss to Parabolic SAR when the position is loosing. Can you help me to modify it?    
Hello! I need help.  I have constructed an indicator which obtains results for every tick based on 2 other indicators which I call by iCustom function. I pass the timeframe and all the necessary arguments but the problem is that it gives me different results on H4 and H1 scales but the arguments are...
  refurbished bars?? (11   1 2)
Hi, I re-wrote an indicator to make it faster. It calculates in principle EMA( EMA (Volume[i]) ) in two buffers of the Indicator and does s.th with it. So practically I do not need the intermediate EMAs to be stored and shown. Well instead of having the EMAs in buffers with iMAOnArray() for the...
Hi all,  I have one issue with trailing stop.   In code that follows when I use count down  sell trailing do not work, but if start to count up it work fine. Any clarification regarding the above ?    void Trail()    {//0                  int TrailingStop = 0.25 + StopLevel;      double BaseProfit =...
New article MQL5 Cookbook: Analyzing Position Properties in the MetaTrader 5 Strategy Tester is published at mql5.com: We will present a modified version of the Expert Advisor from the previous article "MQL5 Cookbook: Position Properties on the Custom Info Panel". Some of the issues we will address...
Program C --> abs(-5) = 5 How to use absolute in indicator code ? thank you