Hi,
Thanks a lot for this EA. I am testing it now, but I don't seem to get the same entry and exit points, as compared to my manual testing. Like I said, BUY trades seems to be doing better than the SELL trade, so let's try to discuss this first.
April 2007 manual test results:
BUY 4/4 (00H) - 1.3335 (+34)
CLOSE 4/5 (02H) - 1.3369
BUY 4/9 (07h) - 1.3365 (+42)
4/10 (00h) - 1.3378 (+29)
CLOSE 4/10 (07H) - 1.3407
BUY 4/23 (14H) - 1.3565 (+61)
4/24 (05H) - 1.3566 (+60)
CLOSE 4/25 (00H) - 1.3626
BUY 4/26 (17H) - 1.3604 (+19)
4/27 (00H) - 1.3597 (+26)
4/27 (07H) - 1.3598 (+25)
CLOSE 4/27 (15H) - 1.3623
A total of +296 pips, subtract 16 pips (8 trades x 2 pips), for a
net of +280 pips!
The reason why there are multiple open trades, is because RSI-14 did not reach 60 level, and the market ranges up and down, and then up again.
Kindly put in a STOPLOSS option of 20 pips please.
Quote:
|
Originally Posted by Shinigami
RSI crossover:
1. buy when
RSI-14 < 40
RSI-14 of this bar is higher than RSI-14 of the previous bar
RSI-5 is at least 5 points higher than RSI-14
|
... and, RSI-5 of this bar is lower than RSI-5 of the previous bar
Like what happened on Apr 4 (0H), when the value of RSI-5 is 44, and RSI-14 is 37 (difference of at least 5 points). And the previous value at Apr 3 (23H) of RSI-5 is 22, and RSI-14 is 29, to make a RSI "cross".
The value of which are taken at the close of the candle, at the candle where the cross just happened. If it happened on the next candle, we don't open any trade at all.
Take a look at Apr 9 (18H), the RSIs did cross, but the difference is only 2 points (RSI-5 is 39, and RSI-14 is 37). On the next candle at 19H, as the trend continues, and the difference of the RSIs becomes 5 points (RSI-5 is 45, and RSI-14 is 40), but we don't open a BUY trade because the RSI CROSS happened on the "next" candle already.
Quote:
2. close buy when
RSI-14 > 60
RSI-14 of this bar is lower than RSI-14 of the previous bar
RSI-5 is LOWER than RSI-14 at least 1 point
|
... and RSI-5 of this bar is higher than RSI-5 of the previous bar.
Like what happened on Apr 5 (2H), when the value of RSI-5 is 53, and RSI-14 is 60 (a difference of at least 1 point only is enough to close the trade). And the previous value at 1H of RSI-5 is 77, and RSI-14 is 65, to make a RSI "cross".
Quote:
|
3. vice-versa for sell, meaning we sell when we close buy and we buy when we close sell
|
Not neccessarily, while closing the BUY trade, we need the difference of RSI-5 and RSI-14 at 1 point only, while to be able to open a SELL trade, the difference must at least be 5 points.
Again, backtesting this using the Strategy Tester at MT4 gives me a different result, as against my manual testing. Is it possible that we test the BUY trades only first? Then test the SELL trades, or both BUY and SELL trades simulteanously later?
Thanks!
