I created a simple EA based on 15 minutes chart..The sistem is the seguent:
- when Stochastic cross over its Moving Average then buy a lot
- when Stochastic cross under its Moving Average then close the long position
- when Stochastic cross under its Moving Average then sell short a lot
- when Stochastic cross over its Movinga Average then close the short position
But I saw that when it close a position, it attend the next bar to open a contrary position...It's possibile to make that it close the position and AT THE SAME MOMENT it open a contrary position? (Stop and Reverse)
Sorry for the question, but I very newbye..I've attached the file with my EA.
Can any expert help me?
- when Stochastic cross over its Moving Average then buy a lot
- when Stochastic cross under its Moving Average then close the long position
- when Stochastic cross under its Moving Average then sell short a lot
- when Stochastic cross over its Movinga Average then close the short position
But I saw that when it close a position, it attend the next bar to open a contrary position...It's possibile to make that it close the position and AT THE SAME MOMENT it open a contrary position? (Stop and Reverse)
Sorry for the question, but I very newbye..I've attached the file with my EA.
Can any expert help me?
Attached File(s)
EA1.mq4
10 KB
|
631 downloads