Heiken Ashi - buy when long and sell when short
-
Hello, I need some help to create an EA with 2 indicators: Heiken Ashi and Stochastic
The EA should open a buy position when the indicator "Heiken Ashi" draws a long candle and the signal line of stochastic oscillator is above the main line.
The EA should close and reverse to short when the Heiken Ashi draws a short candle and the signal line of stochastic oscillator is under the main line.
I really don't know how to write that, please can someone help me?
Thanks -
-
Thank you for your help. It was very useful