Wanted: EA for very simple system

 

If someone would be so kind... here is the system:

The system simply buys or sells at a certain time of day,

and either takes a profit or is stopped out. No indicators.

1) Must work on any pair, any timeframe.

2) Needs option for lot size

3) Needs option of buying or selling.

4) Needs option of setting the time of trade entry (hour/minute).

5) Needs separate T/P and S/L settings.

That's it.

Thanks in advance for any help,

WNW

 
WNW:
If someone would be so kind... here is the system:

The system simply buys or sells at a certain time of day,

and either takes a profit or is stopped out. No indicators.

1) Must work on any pair, any timeframe.

2) Needs option for lot size

3) Needs option of buying or selling.

4) Needs option of setting the time of trade entry (hour/minute).

5) Needs separate T/P and S/L settings.

That's it.

Thanks in advance for any help,

WNW

I'm certainly not an expert programmer, but what you have there sounds simple enough for me to do. I just have one question: Is this system of yours PROFITABLE? If you can show me that it is, I'll program it for you.

 

Thanks for your response.

This system is for research and testing, it is not a usable system at this point.

-wnw

 

Try the EA attached that I just made for you. (Read the notes inside the EA for any guidance on how to use it)

Files:
wnv.mq4  6 kb
 

Thank you, Tradinator! Very much appreciated.

I have a theory I want to test that may have potential, will post results after testing. Thanks again. WNW

 

Dude, saw your crazy magic number function, how about this...

int MagicNumberFromExpertName(string expert_name)

{

int magic_number = 0;

//We use symbol here as an expert has to be attached to a chart

for(int i=0; i < 5; i++)

{

magic_number = magic_number * 3 + StringGetChar(Symbol(), i);

}

for(i = 0; i < StringLen(expert_name); i++)

{

magic_number = magic_number * 3 + StringGetChar(expert_name, i);

}

magic_number = magic_number * 3 + Period();

return (magic_number);

}

Combines the symbol, the expert name & the time frame for a 'magic' number.

 
Craig:
Dude, saw your crazy magic number function, how about this...

int MagicNumberFromExpertName(string expert_name)

{

int magic_number = 0;

//We use symbol here as an expert has to be attached to a chart

for(int i=0; i < 5; i++)

{

magic_number = magic_number * 3 + StringGetChar(Symbol(), i);

}

for(i = 0; i < StringLen(expert_name); i++)

{

magic_number = magic_number * 3 + StringGetChar(expert_name, i);

}

magic_number = magic_number * 3 + Period();

return (magic_number);

}

Combines the symbol, the expert name & the time frame for a 'magic' number.

great idea thanks for sharing

 

WNV EA request / problem?

Hi Tradinator,

Just tried the WNV EA you made this evening. Works fine, except it does not want to enter another trade if another trade (same pair) is open or has been closed. Is this defaulted to only trade once per 24hr period? I'd like to be able to enter another trade or pair of trades immediately after the existing trades have closed.

Any help appreciated.

Thanks again,

WNW

Reason: