View Single Post
  #8 (permalink)  
Old 05-04-2007, 11:58 AM
pelele79's Avatar
pelele79 pelele79 is offline
Senior Member
 
Join Date: Mar 2006
Location: Venezuela
Posts: 315
pelele79 is on a distinguished road
Let me explain better (my english is not good), for example:

currency eur\usd

price: 1,3000

buy 1 lot 1,3000 the price goes to 1,2985 then sell 2 lot 1,2985 the price move to 1,3000 again then buy 4 lot 1,3000 the number of trades depend of the variable MAXTRADES and the pips into buy and sell depend of the variable PIPS.

i hope that anyone can change the code.

regards

Pedro Echenagucia




Quote:
Originally Posted by pghiaci
HI
here you are.I modifyed and attached the ea for you.if you want to the ea start with sell ,set "firstorder=1" and if you want the ea to start with buy ,set "firstorder=0"
Reply With Quote