Thread: MQL4 Learning
View Single Post
  #747 (permalink)  
Old 07-13-2009, 03:59 PM
arshadFX arshadFX is offline
Senior Member
 
Join Date: Apr 2008
Location: Rawalpindi
Posts: 106
arshadFX is on a distinguished road
Quote:
Originally Posted by Smith23 View Post
Hi everyone

I'm newbie and I have another question about EA, i learned all lesson from codersguru and change a code a little bit for not using Trailing Stop, just open / close position when short EMA crosses long EMA, and I have one problem because the EA does not reverse the position. How to make code which would at the same time close Buy and open Sell ? ?

Modified code in attachment


Thanks in advance for help !
Read these articles very helpful.
MQL4 Language for Newbies. Introduction - MQL4 Articles
MQL4 Language for Newbies. Difficult Questions in Simple Phrases. - MQL4 Articles
& follow the link there are 3-4 more grate articles
Reply With Quote