Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-30-2007, 03:39 PM
Member
 
Join Date: Jul 2007
Location: Frisco, Tx
Posts: 69
cochran1 is on a distinguished road
Need Help w/Expert Advisor

Hi Traders, I am trying to create an Expert Advisor that will close a trade when the RSI 13 crosses the EMA 6. I pan to manually open the trade but would like it closed with this expert advisor. Can I get one of you programmers to help me or point me to someone who can ? I am new to MT4 and have started reading through the user guide but I am far from being able to write this. thank you,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-30-2007, 04:56 PM
Senior Member
 
Join Date: Nov 2006
Location: Ukraine
Posts: 491
Shinigami is on a distinguished road
How do you make them cross?
__________________
MQL4 programming is easy ^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-30-2007, 06:32 PM
Member
 
Join Date: Jul 2007
Location: Frisco, Tx
Posts: 69
cochran1 is on a distinguished road
Need Help w/Expert Advisor

I have the RSI and EMA plotted below the main chart. When the price breaks out of my the price channel and the RSI crosses the EMA, I open a trade. My exit is when the RSI comes back and crosses the EMA. I have a chart attached with some trades last week. I am at work so I do not have this in MT4 and I do not have the price channel. thanks
Attached Files
File Type: doc RSI EMA.doc (66.5 KB, 28 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-30-2007, 09:51 PM
Senior Member
 
Join Date: Nov 2006
Location: Ukraine
Posts: 491
Shinigami is on a distinguished road
Thats the first time I see EMA of RSI
Sorry, can't help. That charting package is not MT4 by the way. It would require a new indicator for that.
Or it would require someone who can add a EMA into the RSI and make RSI EMA indicator. I can make an EA that will close the trade after the cross but it will work with closed bars only.
__________________
MQL4 programming is easy ^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-31-2007, 12:57 PM
Member
 
Join Date: Jul 2007
Location: Frisco, Tx
Posts: 69
cochran1 is on a distinguished road
Need Help w/Expert Advisor

Thanks Shinigami. I have a second choice. How about an EA that will close a trade when 2 MAs cross ? I have an attachment that shows the details(you may need to view with print preview). The close will be when the EMA (2 period set to the close price) crosses the SMA (3 period set to the open price). Thank you very much, really appreciate your help.
Attached Files
File Type: doc EMA SMA.doc (116.0 KB, 11 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-31-2007, 01:15 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Just for information:
http://www.forex-tsd.com/setup-quest...indicator.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-31-2007, 01:30 PM
Member
 
Join Date: Jul 2007
Location: Frisco, Tx
Posts: 69
cochran1 is on a distinguished road
Thank you..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-31-2007, 02:34 PM
mobdeep386's Avatar
Junior Member
 
Join Date: Sep 2006
Posts: 14
mobdeep386 is on a distinguished road
EMA of RSI ? that's very easy to do ,just set up RSI as buffer and use the function iMAonArray with MODE_EMA .

you can also have ema of rsi on chart with the option "first indicator data" .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-31-2007, 02:59 PM
Member
 
Join Date: Jul 2007
Location: Frisco, Tx
Posts: 69
cochran1 is on a distinguished road
Thanks mobdeep386.. I tried to get MA on RSI last night and could not do it. Can you explain how to get to "first indicator data" ? thx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-31-2007, 03:09 PM
mobdeep386's Avatar
Junior Member
 
Join Date: Sep 2006
Posts: 14
mobdeep386 is on a distinguished road
open MT4 chart

Ctrl+ N

Indicators

drag and drop RSI on the chart

a window appears

ok

drag and drop MA

a window appears

select exponential mod

also select first indicator's data instead of close in the winwow

Done
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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
help with my expert advisor daniel.tiru Expert Advisors - Metatrader 4 4 07-24-2007 04:23 PM
50-34 Expert advisor geisebhum Suggestions for Trading Systems 4 12-20-2006 05:45 PM
CCI Expert Advisor rodrigokaus Expert Advisors - Metatrader 4 10 09-29-2006 06:31 PM
expert advisor ? swirly Expert Advisors - Metatrader 4 3 08-30-2006 07:04 AM
What Expert Advisor are they using? fikko Expert Advisors - Metatrader 4 4 07-01-2006 08:47 AM


All times are GMT. The time now is 06:47 PM.



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