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
  #1 (permalink)  
Old 11-27-2006, 11:42 PM
Junior Member
 
Join Date: Nov 2006
Posts: 6
FibzY is on a distinguished road
Need help making an EA

I have found a system that would work well as an EA but i have absolutely no knowledge of programming so could someone please help me out?

This is the outline of the system im using:

30min Chart
A RSI that is set to 45, with a line of 50(the standard is 70 and 30)
A 5 Period SMA.

When the RSI line crosses above 50 and reaches 52 AND the price is 5 pips or more above the moving average I buy. To close the position the RSI line has to cross below 50 and reach 48 AND the price must be 5 pips below the moving average. Visa versa for a sell position. Basically when one position is closed, another is opened in the opposite direction. The EA must also only be set to have a maximium of one position open at a time.

If an EA can be made to do this and someone is willing i would very much appreciate that


FibzY.
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
  #2 (permalink)  
Old 11-28-2006, 12:21 AM
Senior Member
 
Join Date: Sep 2005
Posts: 290
aelimian is on a distinguished road
Quote:
Originally Posted by FibzY
I have found a system that would work well as an EA but i have absolutely no knowledge of programming so could someone please help me out?

This is the outline of the system im using:

30min Chart
A RSI that is set to 45, with a line of 50(the standard is 70 and 30)
A 5 Period SMA.

When the RSI line crosses above 50 and reaches 52 AND the price is 5 pips or more above the moving average I buy. To close the position the RSI line has to cross below 50 and reach 48 AND the price must be 5 pips below the moving average. Visa versa for a sell position. Basically when one position is closed, another is opened in the opposite direction. The EA must also only be set to have a maximium of one position open at a time.

If an EA can be made to do this and someone is willing i would very much appreciate that


FibzY.
Thank you. The 5 pips above or below the SMA, is that the close of the 30 min bar or prize at any time?
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
  #3 (permalink)  
Old 11-28-2006, 12:43 AM
Junior Member
 
Join Date: Nov 2006
Posts: 6
FibzY is on a distinguished road
Hi aelimian,

Its price at any time.
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
  #4 (permalink)  
Old 11-28-2006, 01:51 AM
Senior Member
 
Join Date: Nov 2005
Posts: 168
mangman is on a distinguished road
This is my attempt at coding this into and EA.

Please backtest it (including visually to check if it is ok)
Attached Files
File Type: mq4 Fibzy.mq4 (2.6 KB, 34 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
  #5 (permalink)  
Old 11-28-2006, 03:03 AM
Junior Member
 
Join Date: Nov 2006
Posts: 6
FibzY is on a distinguished road
Hi mangman,

Thanks for your efforts. I tested it and the results were not good. By looking at the graph, none of the entry and exit points matched up with the RSI criteria that my system uses, which explains the results as the RSI is my main indicator.

I tried looking at the code but that just confused me. Are you sure you set it to buy when the RSI line is at 52, and close the position when the RSI line is at 48, which will also trigger a sell position, and visa versa if it was a sell position?


Thanks again for your efforts.
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
  #6 (permalink)  
Old 11-28-2006, 06:53 AM
popok_sakti's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 108
popok_sakti is on a distinguished road
Hi,

I tried to modify the code,
but the performance seems not good,

Regs,
popok_sakti
Attached Files
File Type: mq4 Fibzy[.mq4 (2.7 KB, 21 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
  #7 (permalink)  
Old 11-28-2006, 07:04 AM
Mazoem's Avatar
Member
 
Join Date: Dec 2005
Location: Tulsa, OK USA
Posts: 59
Mazoem is on a distinguished road
Looks like the first one was set to enter at the 50 cross, but the second has been modified to 48 52 entries.
__________________
"Only those who dare to fail greatly can ever achieve greatly."
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
  #8 (permalink)  
Old 11-28-2006, 07:16 AM
popok_sakti's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 108
popok_sakti is on a distinguished road
Quote:
Originally Posted by Mazoem
Looks like the first one was set to enter at the 50 cross, but the second has been modified to 48 52 entries.
Yes, As Fib said that the system should take long position when the RSI cross from 50 to 52 and short when RSI cross from 50 to 48

Regs,
popok_sakti
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
  #9 (permalink)  
Old 11-28-2006, 07:25 AM
Junior Member
 
Join Date: Nov 2006
Posts: 6
FibzY is on a distinguished road
I tested the modified EA, and its not right either.

I backtested for a year and it only took 2 positions?
I have manually backtested this system for Jan, Feb, Mar, Jun, Aug of this year with between 20 to 30 positions per month taken and an average of 900 pips profit a month. I don't know why the EA's arn't working....


Thanks for all the efforts and I hope we get this thing right!
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
  #10 (permalink)  
Old 11-29-2006, 12:10 AM
Member
 
Join Date: Dec 2005
Posts: 59
adria is on a distinguished road
Fibzy,
what pair did you test manually?
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


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
Making a living out of FX. Possible? Diam0nd General Discussion 33 04-25-2007 04:04 AM
Help in making indicator Big Joe Indicators - Metatrader 4 3 04-12-2007 06:03 PM
Making an indicator to an EA YupYup Expert Advisors - Metatrader 4 2 10-19-2006 05:06 AM
Can someone please help me making EA for... babarmughal Expert Advisors - Metatrader 4 1 09-12-2006 04:02 PM


All times are GMT. The time now is 04:34 AM.



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