Forex



Go Back   Forex Trading > Discussion Areas > Suggestions for Trading Systems
Forex Forum Register More recent 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 03-29-2006, 06:28 AM
Member
 
Join Date: Dec 2005
Posts: 52
hoosain is on a distinguished road
Looking for EA (Price crossing MA)

Hi, Can anyone point me to where I can find an EA that does the following:

When the price is under a 30 MA (30min chart) and the price crosses the 30MA from under going up and a new bar opens above the 30MA a BUY order must be opened. Order must be opened on FIRST bar that opens above or below. Vice versa for a SELL. Any input apprciated. Many 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
  #2 (permalink)  
Old 04-07-2006, 12:28 PM
dm001's Avatar
Junior Member
 
Join Date: Mar 2006
Location: Surrey, England
Posts: 9
dm001 is on a distinguished road
Hoosain: I am interested in this kind of setup and was wondering if you found an EA?
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 04-07-2006, 04:30 PM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
firedave is on a distinguished road
Some question, are you going to set a Stop Loss and Take Profit ? How about the exit criteria ? Is this going to be Stop And Reverse / Always In Play trade ? Thank you for your input
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"
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 04-10-2006, 12:43 AM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
firedave is on a distinguished road
Okay, try this one. Use on any time frame, any pair, any MA period, any MA method, any MA price. Build in stop and reverse method, time filter, and money management. Some note :
- if TrailingStop set to 0, mean no trailing stop feature
- if StopAndReverse set to true, mean it will close the trade and open new one, if signal change.
- if UseHourTrade set to false, mean no time filter.
- Lots is set to 1, but if MM set to true, mean it will adjust the Lots according to the money management risk.

I didn't try it yet nor backtest it, so please give me some input. Hope this help

ps. I updated the file, got some mistake for variable setting
Attached Files
File Type: mq4 PriceCrossMA.mq4 (10.9 KB, 247 views)
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"

Last edited by firedave; 04-10-2006 at 02:49 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
  #5 (permalink)  
Old 04-10-2006, 01:53 AM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Thumbs up

Quote:
Originally Posted by firedave
Okay, try this one. Use on any time frame, any pair, any MA period, any MA method, any MA price. Build in stop and reverse method, time filter, and money management. Some note :
- if TrailingStop set to 0, mean no trailing stop feature
- if StopAndReverse set to true, mean it will close the trade and open new one, if signal change.
- if UseHourTrade set to false, mean no time filter.
- Lots is set to 1, but if MM set to true, mean it will adjust the Lots according to the money management risk.

I didn't try it yet nor backtest it, so please give me some input. Hope this help
firedave,

Congratulations!
Very clean and tidy code. You did a great job.
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
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 04-10-2006, 02:41 AM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
firedave is on a distinguished road
Hi codersguru, it's an honor to have a compliment from the code master. I hope you don't mind that I use some of your function code, I put your name as the coder. Thank you for many of your guidance and support all this time, I've learnt a lot from you. Hope I could contribute something for the community. All the best for you
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"
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 04-10-2006, 09:52 AM
dm001's Avatar
Junior Member
 
Join Date: Mar 2006
Location: Surrey, England
Posts: 9
dm001 is on a distinguished road
Thanks for the EA firedave. I shall have a look at it later.

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
  #8 (permalink)  
Old 04-10-2006, 12:24 PM
Member
 
Join Date: Mar 2006
Posts: 77
iliaazshareef is on a distinguished road
hi,
this EA can be modified such that there is no TP and SL. The buy and sell to be dictated by the crossing of the price and the MA. Anybody can help with getting this setting.
Thx
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 04-10-2006, 12:43 PM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
firedave is on a distinguished road
Quote:
Originally Posted by iliaazshareef
hi,
this EA can be modified such that there is no TP and SL. The buy and sell to be dictated by the crossing of the price and the MA. Anybody can help with getting this setting.
Thx
To do this, just set StopLoss and TakeProfit to 0 (zero) then set StopAndReverse to true (default setting). Hope this help
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"
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 04-10-2006, 01:48 PM
Member
 
Join Date: Dec 2005
Posts: 52
hoosain is on a distinguished road
Hi Firedave, many thanks for the EA. Will test it and let u know how it goes.

Best regards
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
CROSSING EMA 5 x EMA 13 Heder Suggestions for Trading Systems 38 04-13-2007 02:50 PM
Alarm on a crossing of stochastic Imperatorfr Metatrader 3 8 04-09-2006 09:51 AM
EA SMA crossing testing improvement 100% sunwest Suggestions for Trading Systems 9 02-03-2006 12:42 PM
Crossing pivot line M5 BrunoFX Suggestions for Trading Systems 20 01-15-2006 09:04 AM
Auntie LWMA crossing Audio Metatrader 4 2 12-26-2005 01:01 AM


All times are GMT. The time now is 06:43 AM.



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