MQL4 - automated forex trading   /  

Code Base

Code Base  Expert Advisors  10 points on EURUSD & GBPUSD To post a new code, please log in or register

This Expert Advisor is for
MetaTrader 4
Download MT 4 - 5.5 Mb

Mobile trading!
Buy a license and be mobile in your trading!

Name:
10 points on EURUSD & GBPUSD [ ru ]
Author: RomanY (2009.11.26 10:23)
Rating: 10
Downloaded: 4884
Download:
 Expert+10.mq4 (4.2 Kb) View
 Expert+10_eng.mq4 (4.1 Kb) View

Description:

The Forex Strategy "10 points on EURUSD" has a number of varieties and something similar to the Session Breakout strategy, many professional traders use it, so if you combine it with an optimal money management, you can achieve very good trading results.

The idea is the following:

The strategy is based on breakthrough of the maximum and minimum price values of the previous trading day. The most of the traders believed that if the level of the previous day has been broken, the price goes up, and vice versa for the minimum. From the other side, these two extrema are used as a stop-loss levels for the most of the traders.

Therefore, if the price has breaked the minimum of the previous day, stop-losses will be executed and further price movement will continue for some number of points.

The same is for the maximum, but only opposite direction.

So, using these facts, we will earn profits if we open buy, after the maximal price breakthrough of the previous day, and sell after the breakthrough of the previous day minimum.

But another category of FOREX traders use the same 2 points as support and resistance levels, so the price does not always move in the breakthrough direction of the maximum and minimum of the last days - therefore there it is necessary to use fixed stop-losses.


Remark:

The recommended currency pair is EURUSD.

The pending orders are valid from 00.00 (GMT) of today to 00.00 (GMT) of tommorow.

1. At 00.00 (GMT time) send 2 pending orders: one of buy at the following price: previous day high +2 points and one for sell at the following price: previous day low -2 points.

2. Set Тake profit - 10 pips.

3. Set Stop-loss - 5 pips.

4. Important feature: it is necessary to deal only at first crossing of the maximal and minimal prices during the trade day (it means that if pending orders has been closed today with SL or TP, we are not trading today any more!)


Image:



Recommendations:

For each deal the risk should be 2% -5% of the deposit.

Test it and write your proposals.

Please test is only at daily charts and all ticks (the most precise method)

Here is the test results for the period 01.01.2009 - 30.11.2009 on EURUSD DAY ALL TICKS (the most precise modelling...)




Editor's remark:

Note that it's a mirror translation of the original Russian version.

If you have any questions to the author, suggestions or comments, it's better to post them there.

If you have found this code useful for trading or educational purposes, don't forget to thank author.

21 comments: 1 2 3   To post a new comment, please log in or register

It turned 10K into 20 Million from 2008.10.01 until 2010.02.04 when risking 5% of account balance.

The only problem is that it crashes the account long before reaching 2008 when test starts in October of 1999 (on Alpari UK historical data, D1).

Any improvement ideas anyone?

05.02.2010 07:55 renegado
RomanY wrote:
amv8 wrote:
serpo wrote:

How did you get a curve like that??

I tested your EA with EURSUD from 1.1.2009-1.11.2009 and got this:

You have it on a 15 min chart. Try again on a daily chart. I get great results from about October 2008 onwards - but from Jan 2007 up until then it steadily loses - anyone any ideas why??


The given strategy works only on a day interval!!! On lower will not work in general!!!



15.01.2010 08:16 RomanY
amv8 wrote:
serpo wrote:

How did you get a curve like that??

I tested your EA with EURSUD from 1.1.2009-1.11.2009 and got this:

You have it on a 15 min chart. Try again on a daily chart. I get great results from about October 2008 onwards - but from Jan 2007 up until then it steadily loses - anyone any ideas why??


Only DAY!!!


15.01.2010 08:12 RomanY
serpo wrote:

How did you get a curve like that??

I tested your EA with EURSUD from 1.1.2009-1.11.2009 and got this:

You have it on a 15 min chart. Try again on a daily chart. I get great results from about October 2008 onwards - but from Jan 2007 up until then it steadily loses - anyone any ideas why??


31.12.2009 02:11 amv8

How did you get a curve like that??

I tested your EA with EURSUD from 1.1.2009-1.11.2009 and got this:


29.12.2009 17:59 serpo

Hi,

I am getting a error 130 everytime the EA tries to place an order. No orders are ever placed. I am on Allpari RU. Could you help please?

Your EA looks amazing and I am greatfull that you shared it. 

Thanks

Phil

26.12.2009 19:33 pdufresne
wmrazek wrote:

I added it on the daily chart and it seems to work, it sets up the buy and sell limit orders correctly. But is it allowed to then change to other timeframes, for example 5 minites, 1 hour etc? I did so just to see what is going on and in some cases it set up new buy and sell limit orders, with very much smaller spread.

Is possible to write down EA which put 2 pending orders at 00:00 GMT - but only one of them can be executed during the day and nothing more.


21.12.2009 13:51 masterkant

I added it on the daily chart and it seems to work, it sets up the buy and sell limit orders correctly. But is it allowed to then change to other timeframes, for example 5 minites, 1 hour etc? I did so just to see what is going on and in some cases it set up new buy and sell limit orders, with very much smaller spread.

20.12.2009 22:12 wmrazek

First off, this tests great on EUR/USD and is coded fantastically. One suggestion though, you may want to add the following code because of broker limitations:

if(Lot>10)
 {
 Lot=10;
 }


18.12.2009 16:57 guitarjrb
wmrazek wrote:

Thanks, very nice! Can someone please translate the inputs to english?

Editor's remark:

We have translated comments and names of the variables.

Please download Expert+10_eng.mq4

16.12.2009 10:17 Quantum