Download MetaTrader 5

Experts: Flat_001a

To add comments, please log in or register
Thousands of developers have already published their products in the Market. Join them!
MetaQuotes Software Corp.
Moderator
181109
MetaQuotes Software Corp. 2010.09.16 06:19 

Flat_001a:

EA works at the "slow" time (OpenHour_1 = 0) - North American Eastern Standard Time. EURUSD, H1

Author: Leonid Basis

MQL4 Comments
16319
MQL4 Comments 2010.09.16 14:59  
it's a crap ea, does not open any trades
Leonid Basis
21309
Leonid Basis 2010.09.16 15:16  

Dear James,

This EA designed, tested and optimised by data feed of FXDD.com
It could works better or not on the trading platforms of any other dilling centres.

Best wishes

Brian Dee - Random Trader
1759
Brian Dee - Random Trader 2010.09.16 20:23  

Works for me thanks

Maybe needs adjusting for subpip accounts - also look at trying different OpenHour_1 for different brokers

extern int     TrailingStop_1    = 60;  //subpip
extern int     DiffMin           = 180;  //subpip
extern int     DiffMax           = 280;  //subpip
//------------------------------------
extern bool    OpenTime_1        = true;
extern int     OpenHour_1        = 0;
//------------------------------------
extern int     TakeProfit        = 80; //subpip
extern bool    UseMM             = false; 
extern double  PercentMM         = 10;
extern double  lots              = 0.1;
//------------------------------------

-BB-

Leonid Basis
21309
Leonid Basis 2010.09.16 22:43  
BarrowBoy:

Works for me thanks

Maybe needs adjusting for subpip accounts - also look at trying different OpenHour_1 for different brokers

extern int     TrailingStop_1    = 60;  //subpip
extern int     DiffMin           = 180;  //subpip
extern int     DiffMax           = 280;  //subpip
//------------------------------------
extern bool    OpenTime_1        = true;
extern int     OpenHour_1        = 0;
//------------------------------------
extern int     TakeProfit        = 80; //subpip
extern bool    UseMM             = false; 
extern double  PercentMM         = 10;
extern double  lots              = 0.1;
//------------------------------------

-BB-


Thank you and good luck.

About subpip - good idea.

MQL4 Comments
16319
MQL4 Comments 2010.09.17 02:39  

will check this out for myself to see how "crap" it is james.

MQL4 Comments
16319
MQL4 Comments 2010.09.17 20:29  

hi

TakeProfit = 80;

this is TP 80 pips on 4 digits broker and TP 8 pips on 5 digits broker, which would give you error 130 resulting in not opening any trades. i havent tried your ea yet, but i think this should be the source of the problem descripbed in the first comment

Leonid Basis
21309
Leonid Basis 2010.09.18 04:19  
crashtestdummy:

hi

TakeProfit = 80;

this is TP 80 pips on 4 digits broker and TP 8 pips on 5 digits broker, which would give you error 130 resulting in not opening any trades. i havent tried your ea yet, but i think this should be the source of the problem descripbed in the first comment


This is TP = 8 pips on 4 digit broker ( TP = 80 pips on 5 digit broker).
Brian Dee - Random Trader
1759
Brian Dee - Random Trader 2010.09.18 19:47  

NB

This is very spread sensitive, so as most brokers these days increase their spread quite dramatically in 'the quiet hours', this isnt a winner

Keep in mind a backtest uses the spread thats live at that moment in the market

Try a test around 12:00 GMT and retest the same historical data around 24:00 GMT and see the difference :(

Use the Symbol Properties button to see the actual spread used for the whole of the test (backtesting uses this fixed spread throughout)

FWIW

-BB-

Leonid Basis
21309
Leonid Basis 2010.09.18 20:53  
BarrowBoy:

NB

This is very spread sensitive, so as most brokers these days increase their spread quite dramatically in 'the quiet hours', this isnt a winner

Keep in mind a backtest uses the spread thats live at that moment in the market

Try a test around 12:00 GMT and retest the same historical data around 24:00 GMT and see the difference :(

Use the Symbol Properties button to see the actual spread used for the whole of the test (backtesting uses this fixed spread throughout)

FWIW

-BB-


Dear Brian,

This Ea is a spread sensitive and good result is possible when spread is <= 2 pips. FXDD usually does not increase the spread in the "quiet hours" on the EURUSD.

Brian Dee - Random Trader
1759
Brian Dee - Random Trader 2010.09.19 11:43  
basisforex:


Dear Brian,

This Ea is a spread sensitive and good result is possible when spread is <= 2 pips. FXDD usually does not increase the spread in the "quiet hours" on the EURUSD.


To check this you might want to run something to monitor the actual variations...

Download this free but non-trading EA (SpreadReporter_101) from here
Prints Min Max Average Spreads to the Journal and/or file (located in the experts\files folder)
Outputs once per bar, use on H1 chart (or less) on any pair
Drag EA to the chart before or during market hours
Set Hours of operation if required
Select output options if required

FWIW

-BB-

12
To add comments, please log in or register