OrderSend(Symbol(),OP_BUYLIMIT,CalculateLotSize(i_stop_in_pip,1),NormalizeDouble(buy_open_price,Digits),3,NormalizeDouble(buy_stop_price,Digits),NormalizeDouble(buy_profit_price,Digits),"",0,TimeCurrent()+(Period()*60*30),Red);
- Are your books one column but two feet wide? No because that is unreadable. They are 6 inches, sometimes two columns, so you can read it easily. So should be your code. I'm not going to go scrolling (or moving my eyes) back and forth trying to read that.
- You might know why, if you had checked your return codes for errors, and reported them including GLE/LE,
your variable values and the market, we would know that at least you are calling your code.
What are Function return values ? How do I use them ? - MQL4 programming forum
Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi guys i have coded this ea and it work fine to some dgree m i been trying for the couble of days to figure out what is wrong bur i cant find it m i tried using some print statment in attempt to find the error but no luch , i dont even get ordersenf error or somthing from this sort to even start with m can you guys please help , i know probaliy it to much to ask for but i will be thankfull , the problem is i got a notfication from cheack_buy_condition but no order i order sent my only limitation is the order number and even if ther is no order opened in that symbol sime of them does not open please see attachment for more details thanks again