Looking for an EA - page 2

 
kjhfdgjfhdghdf:
Here is a universal MA crossover all you have to do is put in your values. Open it in Meta Editor and it also has instructions of where to put what.

thanks kjhfdgjfhdghdf

 
derikb:
Don't know what you want to do but your welcome to PM me.

derikb or anyone else,

Can you add this logic to the EA please.

If the number of trades is more than 1 than all the rest of the trades should be double the lot size. i.e. ist trade is single lot and the rest is double.

thanks

 

Please explain

Hi, I've done the following. I only close a trade on a cross if the trade is profitable. So the unprofitable ones stays open and eat up profit. Please explain what you want me to change.

Files:
 

derikb,

this what i exactly want , if you can incorporate into this EA.

1st trade is sinngle lot at the cross. If it is in profit at the next cross the EA closes it and opens a new position with a single lot at that cross.

IF, if the opened trade is at a loss, the EA doesnot close the current position but opens a new position with double the lot size at the new cross in the direction of the cross.

that means if more than 1 trade opened 1st one is single lot while the rest is double lots.

Now once the sum of the floating profit is positive the EA must close all trades at the new cross and start again with a single lot.

On higher TF there are few whipsaws therefore the EA will hedge open buys with open sells and will quickly realize a positive float.

But i need all these function to test effectively.

Thanks for your time.

i hope it mekes sense.

if any questions please respond.

 

v1.1

It is not perfect but it is more or less what you want. Let me know if you want something changed.

Files:
 

Sorry v1.1

Sorry here is v1.1

Files:
 

thank you , i will test.

 

i am testing this EA on the 4 majors , 15 min time frame and EMA 8 & EMA 18.

i will be reporting back.

thank you derekb.

 

derekb,

can you please check the codes once again.

I am running it on 4 currencies and the lot sizes are all mixed up.

1.Can you implement different majic numbers for each currency?

2. I need the EA to open the 1st trade on the chart with single lot while the 2nd and rest of the lots are double ONLY if the 1st trade has not closed.

so all open trades will look like this

1st trade 0.1 floating

2nd 0.2 floating

3rd 0.2 floating

4th 0.2 floating and so on

if the sum of floating positions are positive then the EA must close all open orders at the next cross and start the sequence again with 0.01 lot on the fresh cross.

if the 1st trade is positive the EA must close that position at the next cross also therefore in effect at every cross the EA looks for a positive float , if it finds positive float it must close all open orders and start fresh .

This is a very new strategy which i haven't found anywhere , please help me achieve the rules as per the request so that the full potential of the Ea cab be realized.

Thank you for your invaluable effort.

waiting....

 

Test

Hi teldon,

Can you use the first EA MA without stop or exit to see when the cross happens and at what price? Copy the trades in the backtest and then show me how this will make the EA profittable.

1 2000.01.03 00:00 sell 1 0.10 102.20 0.00 0.00 0.00 10000.00

2 2000.01.03 11:45 buy 2 0.10 101.91 0.00 0.00 0.00 10000.00

3 2000.01.03 14:15 sell 3 0.10 101.59 0.00 0.00 0.00 10000.00

4 2000.01.03 18:15 buy 4 0.10 101.83 0.00 0.00 0.00 10000.00

5 2000.01.03 20:48 sell 5 0.10 101.54 0.00 0.00 0.00 10000.00

6 2000.01.03 23:45 buy 6 0.10 101.75 0.00 0.00 0.00 10000.00

7 2000.01.04 07:00 sell 7 0.10 102.10 0.00 0.00 0.00 10000.00

8 2000.01.04 08:00 buy 8 0.10 103.04 0.00 0.00 0.00 10000.00

9 2000.01.04 12:00 sell 9 0.10 102.81 0.00 0.00 0.00 10000.00

10 2000.01.04 14:15 buy 10 0.10 103.06 0.00 0.00 0.00 10000.00

You can copy 50 and demonstrate how this lot increase will make the EA profitable.

I'll then program it for you.