Forex



Go Back   Forex Trading > Trading systems > Ema Cross
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 05-23-2009, 08:40 AM
Junior Member
 
Join Date: Feb 2009
Posts: 1
alessandro.agostinet is on a distinguished road
Simple EA Based On BreakOut of EMA

Hi Community,

I am a forex newbye, I'm interested in autotrading. I'm posting my first ea to have your help to improve it.

I'm not a programmer and so a lot of code in the Ea is not mine. Sorry for that. I thank the people who have written this code very much.

But the code about the TS system is mine!

I explain the TS:

Time Frame: 1 hour (but probably good other TF like 4 hour)

EUR/USD (but probably good GPB/USD)

The idea is to find good trends with some strong signals of breakout of EMA, trying to avoid false signals as much as possible.

Main Breakout (for long, for short is the same but reversing!)

It is a price breakout (not a EMA crossover)
I look 4 bars: the first one is a bullish bar and close after EMA (23); other to bars (bullish ones) closed above EMA (23) and I take the signal when the last bar (0) open above EMA (23), too.

In order to filter some false signals I added 2 controls:
- a spread calculation with a fast EMA (8), to measure how strong is the breakout
- and I verify if the fast EMA is above the slow EMA for opening the long position (this is good for false breakout)


I close the position not with money management but with a less strong signal of the reverse breakout of slow EMA (23):
for closing is enough one bar closing above and un bar closing below.


I put here the EA and one backtest.

I've just made some optimization, but I can say that in a range of values it seems to be quite stable.

Thanks in advance for your help

Alessandro
Attached Files
File Type: mq4 EmaBreakOut.mq4 (8.2 KB, 168 views)
File Type: rar testing.rar (9.5 KB, 127 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
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
ea based on WATL (breakout strategy) giapel Expert Advisors - Metatrader 4 66 09-08-2009 02:43 AM
SIMPLE-MACD-EA : An extremely simple EA based on 2 channels of MACD. Try it! investor_me Expert Advisors - Metatrader 4 37 08-29-2009 03:57 PM
Simple breakout system (SBS) need EA ammar MetaTrader 2 01-24-2009 05:29 PM
the simple breakout strategy harold4x Suggestions for Trading Systems 117 08-09-2008 03:22 PM
Simple breakout system needs EA & further testing oneandl Suggestions for Trading Systems 7 06-30-2007 08:42 PM


All times are GMT. The time now is 04:00 PM.



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