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 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
Essam Daoud
Added topic Create a separate folder under Indicators
Hi https://www.mql5.com/en/articles/345  says " In the indicators directory (MQL5\Indicators), create a separate folder MyIndicators and a subfolder MyPanel. The process of creating folders will not be dealt with here as it is well described in
Essam Daoud
Added topic Delete News Flags at bottom of chart
Hi What is the best way to delete all the news flags at the bottom of the chart. This code works but I have to change the time frame few times so that the code runs in the Oninit function then it deletes few of the news flags at a each time. any
Essam Daoud
Added topic Trend line to the right boarder
Hi This code needs to create a trend line and extend it to the right chart boarder regardless of the shift button action. it works but not an elegant solution, Any suggestions?  Thanks    datetime start = TimeCurrent ();   
Essam Daoud
Added topic Make the bars vanish
Hi In mal5, who can I make the bars vanish so that I have all the room to put buttons, text boxes and labels? It needs to be in such a way so that dragging the chart or price does not change the appearance. I remember in mt4, some settings with chart
Essam Daoud
Added topic More than one code on one chart
Hi A chart has a label which was created by a custom indicator . When I drag this indicator on the chart which already has an EA running, a pop up asking to choose one or the other but not both. The label text changes onTimer and the EA has it's own
Essam Daoud
Added topic Get the line Description in the chart drag event
Hi In mql5; Is there a way to get the Description property of a Horizontal Line in the drag event? How? Thanks void OnChartEvent ( const int id
Essam Daoud
Added topic close all profitable deals in mql5
Hi deals that are initiated on the desktop terminal. Can mql5 EA code close them? or they have to be opened by the EA? I am thinking to loop over all deals and find which one is profitable and close it, here is a getting started effort... but the
Essam Daoud
Added topic New bar arrived
Hi mql5 EA Will this code do well in checking if a new bar arrives? Thanks datetime currBarTime; int OnInit () {    currBarTime = SeriesInfoInteger ( _Symbol , _Period , SERIES_LASTBAR_DATE ); } void OnTick ()   {
Essam Daoud
Added topic ObjectGetDouble for trend line with ray to right
Hi I have a trend line on the chart, This mql5 code failed to get the price of the line at the current bar. How can I do it? I could not find docs for ObjectGetValueByShift either. Thanks ObjectGetDouble ( 0 , trendLineName, OBJPROP_PRICE ); //
Essam Daoud
Added topic FileClose - The process cannot access the file because it is being used by another process. 5004
The process cannot access the file because it is being used by another process. This is the message I get from Window 10 when I try to open a file by double clicking its name in Windows Explorer after this mql5 code opened and closed the same file
Essam Daoud
Added topic Regex - check if pattern found
Hi This code is expected to test a string to find if a regex pattern matches. I am not able to pull it together. Please help.  Thanks    #include <RegularExpressions\Regex.mqh>    string pattern= "\d*\\|\event\b" ; //
Essam Daoud
Added topic FileIsExist un expected return
Hi This code is expected to print "found" since the file being searched for "2018822.txt" is located in the terminal Common/Files, but instead it is printing "not found". Any idea why and how to find if the file exists?    string fileName;
Essam Daoud
Added topic StringConcatenate does not preserve the string_var in for loop
Hi Please see the comment in the code below,  the Print(dt) in the second time suppose to print the date and time, but it only prints the time even though the dt variable has not be re initialized. Why the dt variable did not keep its value
Essam Daoud
Added topic Notification test makes Andriod phone sound twice
When I place a limit order, my mobile phone makes the tone twice but I expected it once. Changing the town on the phone does not have any effect (tone change expected). Turning the phone of and on did not fix it. Any idea how to fix this? My MT4
Essam Daoud
Added topic event future time in mql5
Hi Is there a way to get the time for future news events in the code? I can see the event flags at the bottom of the screen and would  like to get their time and other info relate to those flags in the code. Thanks
Essam Daoud
Added topic ObjectMove the ChartRedraw object does not change size
Hi This part code modifies the rectangle so that its lower edge (price) changes accordingly, But when the code is fired, the rectangle does not move its lower edge to reflect the lower price than the current rectangle lower edge. How do I go about
Essam Daoud
Added topic Array Invalid Index Value
This mql5 code is giving error as shown. Why and how to fix it? "[" invalid index value Thanks template < typename T> uint arrayUnshift(T &arr[], T val){    uint newSize = ArraySize (arr) + 1 ;   T
Essam Daoud
Added topic ArrayResize declaration without type
This code's error is 'declaration without type', Any idea why and how to fix it? Thanks input int        days= 3 ; Session *session[]; ArrayResize (session, days); //<<<< ERROR <<< declaration