Thread: MQL4 Learning
View Single Post
  #746 (permalink)  
Old 07-13-2009, 12:00 PM
Smith23 Smith23 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 4
Smith23 is on a distinguished road
open/close position on EMA's

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 !
Attached Files
File Type: mq4 My_First_EA.mq4 (3.8 KB, 6 views)
Reply With Quote