| / | Forum |
|
alkhataat
2008.10.15 13:10
Hello every one Appreciate your assistance as I am not a programmer I have been looking at the EMA_CROSS_2 EA but seem it does not work properly, It suppose to sell if the Short EMA cross below the Long EMA and Buy when the Short EMA cross above the Long EMA, it is doing the reverse, it is buying when the short EMA cross below the Long EMA and shelling when the short EMA cross above the long EMA, Can some one kindly correct this code? Couple of more points if possible. 1- Is it possible to make the EA to take the long or short position after the lines cross and the bar close. 2 - Also can it makes auto reverse without waiting for the stop loss, means if the short EMA cross above the long EMA the EA will take a long position, but it could cross below the long EMA after couple of bars, So the EA will close the long position and establish a short position automatically. Thanks in advance for your help Best wishes Alkhataat |
|
Winners of the Automated Trading Championship 2006 On the 23rd of December 2006, the first annual Automated Trading Championship 2006 was over. 258 developers had competed for the prize of totally 80 000 dollars for 12 weeks. Three developers came out on top of the competition. |
|
Gero.Gero
2009.07.29 07:04
alkhataat wrote >>
Hello every one Appreciate your assistance as I am not a programmer I have been looking at the EMA_CROSS_2 EA but seem it does not work properly, It suppose to sell if the Short EMA cross below the Long EMA and Buy when the Short EMA cross above the Long EMA, it is doing the reverse, it is buying when the short EMA cross below the Long EMA and shelling when the short EMA cross above the long EMA, Can some one kindly correct this code? Couple of more points if possible. 1- Is it possible to make the EA to take the long or short position after the lines cross and the bar close. 2 - Also can it makes auto reverse without waiting for the stop loss, means if the short EMA cross above the long EMA the EA will take a long position, but it could cross below the long EMA after couple of bars, So the EA will close the long position and establish a short position automatically. Thanks in advance for your help Best wishes Alkhataat See if my msg here about crossing can help: 'Inverse Bollinger Bands - Mike Need simple Help !' []´s, Gero. |