Essam Daoud
Essam Daoud
  • Information
6+ 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 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
Essam Daoud
Added topic Effecent use of memory
Hi This code uses uChar instead of int  to save on memory. I get compiler warning " possible loss of data due to type convesion. Since I am not expecting the number to go above 30, why use int and waste memory? Any suggestion to turn off this
Essam Daoud
Added topic Calling constructor of the super class
Hi Can someone please explain what this part of the code mean as found in the file   panelDialog.mqh   downloadable from the link below? I mean this part of the constructor. : m_red(blah...), What is this convention called so I can