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"
|