Essam Daoud
Essam Daoud
  • Information
4 years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Friends

Add friends via their profile or user search and you will be able to see if they are online

Essam Daoud
Added topic MathRound "wrong parameters count"
Hi This mql5 code gives the compile time error for MathRound "wrong parameters count", any idea why?  Here is the link for the MathRound. https://www.mql5.com/en/docs/standardlibrary/mathematics/stat/mathsubfunctions/statmathround Thank you
Essam Daoud
Added topic plot own array values onto the chart
Hi This mql5 code failed to plote the values of myArray unto the chart, could someone please help find why? Thank you #property indicator_buffers 1 #property indicator_plots    1 #property indicator_type1    DRAW_LINE #property
Essam Daoud
Added topic Filling an indicator buffer inside a for loop gives "array out of range"
Hi This mql5 code produces a run time error " array out of range ", could some one please help to fix it? An array with double data type in "file2.mqh" needs to be ploted with each value reduced by a given number. I have done some reading as this is
Essam Daoud
Added topic Indicator property change after ChartIndicatorAdd()
In mql5, after adding an indicator to the chart in the code of an expert advisor using the function ChartIndicatorAdd(0,0,ind_handle) . Now I like to change the indicator period. is there a way to do this or I have to delete the indicator and re-add
Essam Daoud
Added topic add 1 to the smalest non zero digit
Hi I have been coding this for some time but can not get a working code, here is the input and the desired output. input string output double 1.2900 1.3 125.90 126 Thanks
Essam Daoud
Added topic struct undeclared identifier
Hi This mql5 code gives a compile time error: "abc undeclared identifier", any idea why and how to fix it? Thanks //myfile.mqh struct abc { ushort aa; double bb; string cc; }; class AB { private :   abc abcArr[ 3 ];    
Essam Daoud
Added topic if conditions evaluation
Hi The code below fails to do the second CopyBuffer and thus the rviSignalBuffer size is always zero. Is this compound condtion evaluation expression allowed? Thanks if the 1st copying is good then it should do the 2nd copying since the 1st condition
Essam Daoud
Added topic http://www.forexfactory.com/ffcal_week_this.xml chnaged?
Hi This url failed to work, can someone confirm or provide a new one please? Thank you
Essam Daoud
Added topic WebRequest username and password
Hi Where do the username and password suppose to go in the WebRequest? https://www.mql5.com/en/docs/network/webrequest Firefox put them in the Param > Form Data.  Does that mean that they go in the 
Essam Daoud
Added topic get indicator lines for RVI
Hi This code failed to copy the RVI indicator (with its 2 lines). It copies the signal line but not the rvi line. What am I doing wrong pleaes? Thanks //ea.mql5 #include <utility.mqh>
Essam Daoud
Added topic Yesterday iMA value in EA
Hi I need to get yesterday iMA value in this mql5 EA, Isn't the code below over complicated? if so, is there a simpler way? Thanks    double maValue( int days){      int handle = iMA ( NULL , PERIOD_D1 , days, 0
Essam Daoud
Added topic Invalid Pointer Access when calling a class method
Hi This mql5 code is giving a run time error " invalid pointer  access", Not sure why and how to fix it, please? Thank you
Essam Daoud
Added topic Code failed to open a position due to Invalid Price
This mql5 code failed to open a long position on the AUDJPY even though the price went below the buy price. Any idea why and how to fix it? Thank you Here is the terminal output: TradeLog: Trade request failed. Error = 4756
Essam Daoud
Added topic plot color of indicator in EA using ChartIndicatorAdd
Hi This mql5 EA code plots the indicaot fine. How canI chnage the indicator color? int OnInit () {    int maHandle = iMA ( NULL , 0 , 200 , 0 , MODE_SMA , PRICE_CLOSE );    ChartIndicatorAdd ( 0 , 0 , maHandle); Thanks  
Essam Daoud
Added topic Which time controls bar plot
Hi A mql5 code needs to know when a new bar arrives. various methods use "TimeCurrent()" which can remain fixed "not changing" for a long time till a new tick is received by the termnal from the server. How does that affect the ploting of a new price
Essam Daoud
Added topic invalid trade request
Hi This mql5 code produced error 10013 " invalid request " which I don't know why, Could some one please help? Thank you MqlTradeRequest tradeRequest; MqlTradeResult   tradeResult; int     
Essam Daoud
Added topic news text with "/" not considered OBJ_EVENT
Hi I am trying to remove the news event flags using the code below, which fails to remove object with the "/" in their text. Is this a bug? And how would you delete all the news flags at the button of the chart? Thanks void deleteNewsFlags(){
Essam Daoud
Added topic WebRequest authentication login
Hi can mql5 be used to login to a web site using username and password and download a page after the login page? In JavaScript, there is the callback "Asynchronous call" and dealing with http redicection, which library mql5 may have for this kind of
Essam Daoud
Added topic CopyRates result index
Hi This mql5 code prints the oldest bar info first.  How can I get array indexed so that the current bar on the chart is in index 0 and thus prints out first? Thanks MqlRates rates[ 20 ]; CopyRates ( _Symbol , PERIOD_D1 , 0, 19 , rates); for (
Essam Daoud
Added topic Passing parameters in the constructor
Hi Using the code in this article  https://www.mql5.com/en/articles/159  to detect the new bar arrival. In the file  lib_cisnewbar.mqh Is there a way to "using the code in the link" to detect the arrival of one day bar when the chart