Martingale EA - page 31

 
Neo:
One of the things I've noticed is that we get further and further away from the goal as more positions are opened as each adds another "spread" to the floating loss which makes the job of catching up progressively harder as price then needs to move much further in a given direction without a reversed entry to have any hope of closing the series.

Not sure how best to overcome this issue but it will blow up the account at some point if left unchecked. This is especially a problem with wide spread pairs like GJ.

I've tried using a very small lot increment and this does help but the account will still blow at some point.

Thinking caps on, guys!

That is exactly the issue I ran into while testing this EA on the GBP/JPY pair. As for how we can deal with this, I am not so sure. Perhaps only low spread pair like the EUR/USD are safe with this EA.

How about setting a TP target for each position. This way this EA would become a bi-directional grid trader. For pair which fluctuate wildly like the GBP/JPY this would make sense, but then again there is the spread to deal with. Also there is the problem of entry too. Maybe combine the Sidus method with a unidirectional grid. This I think would be the only way to trade with style of EA on the yen crosses. Otherwise you would just get thrashed around by the market until your account gets loaded with a straggering negative position, and eventually blow up your account.

I'm gonna run a test on some pairs that are known to range more, like GBP/CHF & EUR/CHF with the default settings (except I'll set the lot size increments to 0) and report on what I find.

So far I'm running the EA on eur/usd 5m.

- Update -

I just updated to 1.5. I like the Start Long & Short feature I can use this with my other trend guessing indicators to start the EA in a hopefully winning direction.

 

latest update on my testin of this EA on the EUR/USD

Hi folks. Here is my statement for the past two days while trading the EUR/USD on the 5m chart.

Can anyone tell me why the EA jumped to trading with 5 lots from 0.10?! Is it due to the Risk Percent being set to 1 and max lots set to 5? That would make sense to me. Or is it because I set the Lot_Size_Increment to 0? Which is a good setting?

I used the following settings:

Start_Lot_Size=0.10000000

Lot_Size_Increment=0.00000000

Money_Management=1

Risk_Percent=1.00000000

Min_Lots=0.10000000

Max_Lots=5.00000000

Auto_Restart=1

Double_Lotsize=0

Max_Trades=50

Close_All_Max=0

Next_Trade=10

Close_By_Percent=0

TP_Percent=5.00000000

SL_Percent=10.00000000

Close_By_Profit=10.00000000

Close_By_StopLoss=300.00000000

Use_MA_Entry=1

MA_Period=7

Timeframe=3

Use_Manual_Entry=0

Manual_Long=0.00000000

Manual_Short=0.00000000

Start_Long_NOW=0

Start_Short_NOW=0

Slippage=5

Number_Of_Tries=5

This is on North Finance btw.

 

hmm wth, my last post did not get listed..anyways...

Here is my statement for two days worth of trading on North Finance. If you looks at the trades you'll see that it jumped to using the max lot size of 5.0. Is this normal behaviour when setting lot increments to 0?

Start_Lot_Size=0.10000000

Lot_Size_Increment=0.00000000

Money_Management=1

Risk_Percent=1.00000000

Min_Lots=0.10000000

Max_Lots=5.00000000

Auto_Restart=1

Double_Lotsize=0

Max_Trades=50

Close_All_Max=0

Next_Trade=10

Close_By_Percent=0

TP_Percent=5.00000000

SL_Percent=10.00000000

Close_By_Profit=10.00000000

Close_By_StopLoss=300.00000000

Use_MA_Entry=1

MA_Period=7

Timeframe=3

Use_Manual_Entry=0

Manual_Long=0.00000000

Manual_Short=0.00000000

Start_Long_NOW=0

Start_Short_NOW=0

Slippage=5

Number_Of_Tries=5

 
teldon:
can you post your statement please

Here is a statement for EUR/USD. Pay attention to the trades and tell me if you spot something odd.

Start_Lot_Size=0.10000000

Lot_Size_Increment=0.00000000

Money_Management=1

Risk_Percent=1.00000000

Min_Lots=0.10000000

Max_Lots=5.00000000

Auto_Restart=1

Double_Lotsize=0

Max_Trades=50

Close_All_Max=0

Next_Trade=10

Close_By_Percent=0

TP_Percent=5.00000000

SL_Percent=10.00000000

Close_By_Profit=10.00000000

Close_By_StopLoss=300.00000000

Use_MA_Entry=1

MA_Period=7

Timeframe=3

Use_Manual_Entry=0

Manual_Long=0.00000000

Manual_Short=0.00000000

Start_Long_NOW=0

Start_Short_NOW=0

Slippage=5

Number_Of_Tries=5

 

Trading statements for EUR/USD for 2 days.

 

Am I missing something but why don't my posts show up when I upload statements...weeird.

 

dammit, sorry for the double posts..for some reason I could not see the new posts I was making even though I was logged in. I am fairly new to this forum, so are there any bugs or quirks that I should be aware of?

 
allinvain:
dammit, sorry for the double posts..for some reason I could not see the new posts I was making even though I was logged in. I am fairly new to this forum, so are there any bugs or quirks that I should be aware of?

Thanks for testing allinvain.

I just posted v1_5 less than 24hrs ago. I'm not sure of any potential bugs in it yet, as I haven't been able to thoroughly test it yet. The money management feature is a new process in coding for me. I studied three different EA's to try to learn and replicate the feature. I'm not entirely confident that this feature works as desired yet. So, as of right now I don't exactly know why your lot size jumped the way it did. With lot increment set to 0, you should be fine, that is not the problem.

Maybe someone could look at the MM chunk of code, and determine if it was coded properly.

if (Money_Management==true)

{

Start_Lot_Size = NormalizeDouble(MathFloor(AccountFreeMargin()*Risk_Percent/100)/100,1);

if (Start_Lot_Size > Max_Lots)

Start_Lot_Size = Max_Lots;

if (Start_Lot_Size < Min_Lots)

return(0);

}
 
ElectricSavant:
I will just manually choose it in the smiley common input when I start it. ES

Have you tried this method yet with v1_5?

Any problems?

How did it work?

 
WNW:
You're making this all too complicated. Any compensating mechanism will work just as much against you as for you.

1. DON'T USE ANY INCREMENTING (DAMMIT!) This is the main cause of the problem.

2. Widen your grid and make it reasonable according to volatility

This is a matter of experimentation

3. Use pairs with low spreads, 3 pips or less

4. Stick with trending pairs, not volatile pairs. Euro is better than GBPJPY

5. Make your TP smaller than the grid size minus the spread

6. Don't use a SL.

I think WMW is right on these points. Especially on #5 & #6.

Reason: