wadi2014
wadi2014
Friends

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

wadi2014
Registered at MQL5.community
wadi2014
Added topic How to modify external variable
Hello external variable like bool if i selected manually to one of 2 cases and from program inside i want to reset it as if i remove the EA and attach it again on chart external bool Run= true ; int start()   { if (!Run)   {
wadi2014
Added topic How to Disable / Enable Expert programmably ?
Hello I want to Disable / Enable Expert (Auto Trading) button programmably as if i click on it to enable or disable Expert according to condition. I am searching MQL4 code to do that but i did not find. Any help please
wadi2014
Added topic How to get Initail Deposit
Hello I want to ask how to get initial deposit of an account to calculate some values in my EA
wadi2014
Added topic comparing with greater than to take order?
Hello I am thinking on making compare current price with greater or less than fixed points to enter transaction one time. Example: int Difference= (( OrderOpenPrice ()- OrderClosePrice ())/( Point )); if (Difference== 20 ) {    OrderSend (
wadi2014
Added topic How to modify magicnumber ?
Hello i want to make EA that depends on magic number for closing a group of orders but, i want the first order to take its ticket as magic number and that order will be the master of 3 orders and the 3 orders will take the first magic number of the
wadi2014
Added topic How to increase max total orders in backtest ?
Hello when i make backtest for EA and total pending orders and orders exceeded more than 200, broker gives error in journal 148 148 mean "The amount of open and pending orders has reached the limit set by the broker." so how to avoid that
wadi2014
Added topic what is return(-1), return(-2) and return(0) mean
Hello sometimes i see some EAs have return(-1), return(-2) and return(0) as we know it returns nothing, but what about return(-1) and return(-2)? as in the article here https://www.mql5.com/en/articles/1355
wadi2014
Added topic indicator to draw short lines
Hello I am trying to make daily pivot indicator to draw short vertical lines, but i want to draw it not using objectcreat() function but using indicator functions. Precisely, i want how to draw a vertical line between 2 candles stick and the lines
wadi2014
Added topic No Error message with GetLastError()
Hello I am building simple EA for showing Error messages ans numbers as test. The following codes open 2 orders buy and sell, the buy has a big lot 150 and that is so big and when i do it manually it gives me error not enough money , but when i do it
wadi2014
Added topic Refresh rates when EA attached
Hello I made EA for trading with day range and it is working as i want. It is depending on daily range and takes the high and the low of day candle, i attached the EA on 1H TF and takes the day H&L using below instruction, but i noticed
wadi2014
Added topic initialize the EA Changing from timeframe to another
Hello I have noticed something it is weird to me. I made an EA and attached to the chart and run as good as i want, but when i change the timeframe to an other on the same chart, the EA start up its functions again. I know when the EA removed from
wadi2014
Added topic 5 Digits platforms flip up
Hello I am making an EA to put pending orders a distance from current price, if the current price for EURUSD 1.38243 and buy limit at 1.38253 as example, i see the price on the platform flip very fast and passes the 1.38253 and does not activate the
wadi2014
Added topic Sleep () when to use ?
Hello i want to know when to use sleep() instruction or at what condition, because mostly i do not use it but some EAs i noticed used in the codes
wadi2014
Added topic Number of indicators on chart?
Hello I want to count how many indicators on window 0 (not sub window), i searched for an instruction to show that, but i did not find. So any help to count no. of indicators on the main chart? Thanks
wadi2014
Added topic Help with this problem (Passing Price)
Hello When i am making a EA and back tested i found some times the condition not executed . example let us make simple EA if (Ask== 1.3097 ) { Comment ( "The Ask got the price" ); } So, when i backtested with Insta broker from 1/1/2013 until July