You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Dear Colleagues,
since few months I`m succesfully trading with Stochastic and MA on 1h/4h charts.
Few days ago I decided to automate my simple strategy, but I have some problems with opening and closing trades.
The rules of my strategy are very simple:
Open Buy trades:
- if price is above Moving Avarenge 240
- If Stochastic green line crossing upwards red line
Close Buy trade:
- If Stochastic green line crossing downwards red line (or if MA240 is crossed downwards)
Open Sell trades :
- if prices is under Moving Averange 240
- if Stochastic green line crossing downwards red line
Close Sell trade:
- if Stochastic green line crossing upwards red line (or if MA240 is crossed upwards)
EA needs to open maximum one trade for current symbol if market conditions are fit to my strategy. If Stochastic is going to be reverse, all current positions needs to be closed.
EA properly sending alerts if market conditions are fit to my requirements, but I dont know how to properly open and close (if stochastic reversing) trades.
I would like to open maximum one trade per symbol, and if Stochastic reverse, simply close it and wait for another setup.
Maybe somebody will be so kind and support me here ?
Thanks in advance
Zalezny