Hey everyone
Have programmed an EA that executes trades under the following circumstances:
Long
21EMA above 55EMA, 21EMA above 200EMA by at least X(user set) amount.
5EMA above 8 SMA
MACD(8,21,5) cross to the upside
RSI not overbought
Long exit
5/8 crosses down, MACD crosses down
Short
21EMA below 55EMA, 21EMA below 200EMA by at least X amount
5EMA below 8SMA
MACD(8,21,5) cross down
RSI not oversold
Short exit
5/8 crosses up, MACD crosses up
Using MT4's strategy tester, the results I get show that winning trades are big trades, and losing trades are small, but too many small losers are executed, resulting in an overall loss.
I want to tweak the settings just enough that the EA doesn't trigger small trades at all - sometimes what happens is that even a minute difference in the MACD and EMAs will trigger the trade.
I am attaching the EMA for those who wish to use and tweak it, although I request that you attach your modified file so others can benefit as well.
You need a custom MACD for it to work, which I am also attaching.
Cheers!
Have programmed an EA that executes trades under the following circumstances:
Long
21EMA above 55EMA, 21EMA above 200EMA by at least X(user set) amount.
5EMA above 8 SMA
MACD(8,21,5) cross to the upside
RSI not overbought
Long exit
5/8 crosses down, MACD crosses down
Short
21EMA below 55EMA, 21EMA below 200EMA by at least X amount
5EMA below 8SMA
MACD(8,21,5) cross down
RSI not oversold
Short exit
5/8 crosses up, MACD crosses up
Using MT4's strategy tester, the results I get show that winning trades are big trades, and losing trades are small, but too many small losers are executed, resulting in an overall loss.
I want to tweak the settings just enough that the EA doesn't trigger small trades at all - sometimes what happens is that even a minute difference in the MACD and EMAs will trigger the trade.
I am attaching the EMA for those who wish to use and tweak it, although I request that you attach your modified file so others can benefit as well.
You need a custom MACD for it to work, which I am also attaching.
Cheers!
Attached File(s)
Gulzaar Robot A.mq4
5 KB
|
1,259 downloads
MACD_12_26_9.mq4
3 KB
|
1,121 downloads