Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 05-16-2007, 01:39 PM
Member
 
Join Date: May 2007
Posts: 39
Pinggarcia is on a distinguished road
Quote:
Originally Posted by rarango
Pingarcia,

The logic for Rsi values are set based on the rsi 14. that means that for buy: rsi 5 is above rsi 14 by a certain value (5), rsi14 is on its way up in relation with two candles before and rsi 14 is bellow the buyrsi value(40).

I think it is following the rules exactly. please check in live testing.

I can add values for rsi 5 also if you want.


Please add the value for RSI-5 too!

Can we separate and use 2 EAs, one for BUY and one for SELL. So that for the BUY EA, we will use the "SellRSI" option as CLOSE.

What's the function of "LotIncrease" and "recupfactor1" for?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #22 (permalink)  
Old 05-23-2007, 04:19 AM
Member
 
Join Date: May 2007
Posts: 39
Pinggarcia is on a distinguished road
UPDATE:

After testing the 2 EAs presented here, I regret to inform that they don't seem to satisfy the criteria set - wrong entry.

Maybe someone can make the EA for this - kindly see post #4 for the rules, and post #19 for the actual entry/exit of trades.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #23 (permalink)  
Old 05-23-2007, 07:09 PM
Member
 
Join Date: Jun 2006
Posts: 44
rarango is on a distinguished road
Hi Pingarcia,

Sorry, I am just learning to program and I can not help more. perhaps someone else would like to help.

Lotincrease: will increase or decrease lots in relation with account balance. If you use money management it should be put to false.

Recupfactor: if set to more than 1 will increase the number of lots by this number after a loosing trade. If set to 1 will do nothing


I agree that it does not seem to follow the rules completely. However, I have been forward testing at M15 timeframe with eurusd. and it is doing astonishingly well.

Please see attached statement. (note that some trades have been done with 56 lots due to my mistake in the settings of the MM which should be put to 1)

I think that it is worthwhile to continue forward testing. Back testing results are different.
Attached Files
File Type: zip pingarcia.zip (7.6 KB, 86 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #24 (permalink)  
Old 05-23-2007, 08:12 PM
mikep's Avatar
Member
 
Join Date: Jun 2006
Posts: 86
mikep is on a distinguished road
Quote:
Originally Posted by Pinggarcia
UPDATE:

After testing the 2 EAs presented here, I regret to inform that they don't seem to satisfy the criteria set - wrong entry.

Maybe someone can make the EA for this - kindly see post #4 for the rules, and post #19 for the actual entry/exit of trades.

Hi Pinggarcia - sorry buddy - I'm in the same boat and still in the early stages of learning the code. Your requirements seemed simply enough...


...still learning,
Mike
__________________
--------------------------------------------------
"Treat people as if they were what they ought to be and help them become what they are capable of being." Goethe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #25 (permalink)  
Old 05-24-2007, 03:14 AM
Member
 
Join Date: May 2007
Posts: 39
Pinggarcia is on a distinguished road
Quote:
Originally Posted by rarango
Hi Pingarcia,


I agree that it does not seem to follow the rules completely. However, I have been forward testing at M15 timeframe with eurusd. and it is doing astonishingly well.

I think that it is worthwhile to continue forward testing. Back testing results are different.

Nice to know you are getting nice results testing this one on EURUSD, too. But, are you also doing this manually, according to the rules I set out in post #4? Or are you using one of the EAs posted in this thread?

Last edited by Pinggarcia; 05-24-2007 at 03:20 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #26 (permalink)  
Old 05-24-2007, 06:40 AM
Member
 
Join Date: Jul 2006
Posts: 50
sam1 is on a distinguished road
I'm also demo trading it manually, and it profitable with some few loss trades.

But using the EA, it seems the EA don't enter at the criteria you have suggested. I hope creator of the EA or someone with programming knowledge can help us fix it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #27 (permalink)  
Old 05-24-2007, 11:21 AM
Senior Member
 
Join Date: Dec 2006
Location: Ukraine
Posts: 513
Shinigami is on a distinguished road
I'm done - take a look into another thread

actually I posted into the wrong thread 3 times in a row. Dain Bramaged...

RSI crossover:


The idea itself is interesting but again
Lets see:
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
If that is all, it can be done

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

3. vice-versa for sell, meaning we sell when we close buy and we buy when we close sell

done. no success in trading though.
Attached Files
File Type: mq4 RSI_CROSS_SHINIGAMI.mq4 (5.3 KB, 134 views)

Last edited by Shinigami; 05-24-2007 at 01:35 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #28 (permalink)  
Old 05-24-2007, 03:57 PM
Member
 
Join Date: May 2007
Posts: 39
Pinggarcia is on a distinguished road
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!
Attached Files
File Type: tpl RSI Crossover.tpl (2.7 KB, 54 views)

Last edited by Pinggarcia; 05-26-2007 at 02:03 AM. Reason: added the attachment
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #29 (permalink)  
Old 05-25-2007, 01:15 AM
Senior Member
 
Join Date: Dec 2006
Location: Ukraine
Posts: 513
Shinigami is on a distinguished road
The rules you posted change some things. I'll be back to you when I'm done re-writing some things in the code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #30 (permalink)  
Old 05-25-2007, 01:58 AM
Member
 
Join Date: May 2007
Posts: 39
Pinggarcia is on a distinguished road
Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
rsi ea


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EMA Crossover (help) easy fx Suggestions for Trading Systems 20 12-14-2007 01:41 PM
Interesting GBP/USD MA Crossover system frantacech Expert Advisors - Metatrader 4 4 02-20-2007 07:36 PM
Double CCI crossover Thruline Indicators - Metatrader 4 1 12-14-2005 09:22 AM


All times are GMT. The time now is 08:02 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.