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)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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