10points 3.mq4 - page 413

 

I did something similar here https://www.mql5.com/en/forum/173439 with HWAFM patterns tool for Metatrader 5 (for direction of the trend) and 10p3v0.0321_2 for Metatrader 4 (for trading using predicted direction).

 
 

Backtesting Newdigital's AUDJPY, EURCHF, EURJPY, EURUSD, USDJPY, USDCHF.

Hi, newdifital,

The fixed #4090 version does allow backtesting, thank you and the programming gurus.

EA: from post #4090

Timeframe: M1

Preset: from post #4090 plus OsMatf=0, Cogtf1=0, Cogtf2=0.

Platform: FXCM mt4

Result:

AUDJPY, crashed in 2 years 2 months

EURCHF, crashed in 4 months

EURJPY, crashed in 2 months

EURUSD, crashed in 1 month

USDJPY, crashed in 2 months

USDCHF, crashed in 3 months

My feeling: EAs must be testable by backtesting because crashing may come months, even years later, which demo testing will take forever.

Is the thought correct that demo testing makes sense only when backtesting is frofitable with or without crashes?

forexjim.

 

Hi forexjim and snowyHH,

MrTools and Mladen fixed this EA for trailing stop. It also was some bug with time expiration for ECN/stp broker which stopped EA for backtesting (or may be - trading).

So, I updated this post #4090 https://www.mql5.com/en/forum/174975/page273

Seems - I am trading werong version for now.

I will start this fixed version from Sunday.

Hope - everything was fixed for now.

===================

-10points_3_Smi_1.01 EA with settings for M1 timeframe, together with indicators is on this post.

 
 
- at the screenshots in your post #4105 i can see the version number 1.02, but attached in post #4090 is still v1.01. what about that difference?

Nothing difference.

As old version and new version is having same name/number so - to change EAs on the charts "on fly" when trading - I had to rename it. So, I renamed new version to 1.02. Just to change old to new one on the charts.

- also i can see at the screenshot that the name of the traded pair is included in the name and version of ea. do you trade the pairs with different versions (settings) of the ea?

I am always doing it if EA is having different settings for different pair. To have default settings for every pair. Because VPS or dedicated server can be restarted by itself and so on ... but if name of the pair will be included in the name of the EA with default settings for this pair - so I will need just to attach EAs with default settings to the charts according to the name of EA.

- somewhere you said that usually this ea is made for H1 timeframe but you provide it with M1 settings. i would like to test it simultaneously with H1 timeframe (less risky) for a comparison, which settings do i have to do? maybe you have a settings file for H1, too? would be great!

Same settings which I am using.

I did not find different settings.

what did your ea do at the 2011-08-09, when the FED gave their statement? mine crashed a 1k demo account...

I did not trade at this time: I was on the process of changing old version to new version on the charts. I am panning to start to trade new version from this Sunday.

By the way - SpreadProtection should work ....

But may be you are right - we need to stop trading this EA on Friday for example.

 
newdigital:
Hi forexjim,

Thanks for backtesting and good conclusion:

No. If it is martingale so it will be crashed anyway. It can be tomorrow, or it can be next week, or next year ... But it will be anyway.

Why it will be crashed anyway?

Well. Something about the history.

James William Ferguson:

next one:

I am not suggesting to use this with M1 timeframe:

OsMatf=0, Cogtf1=0, Cogtf2=0

For demo trading - use MTF settings (post 4090) for M1, for trading with real money - H1 timeframe with MTF settings.

By the way - in all your backtesting - it is not crashing. It is "close at stop". Means: backtesting finished and all open trades were closed because of that. It is max floating drawdown (related to margin call). So, the most important to improve for this EA for the near future (what we should impriove exactly) - floating drawdown should be small. But we can make with conclusion after demo trading and will see.

===================

-10points_3_Smi_1.01 EA with settings for M1 timeframe, together with indicators is on this post.

Hi, newdigital,

Thank you for your advice and comment.

If martingale is bound to crash, then casinos would not set upper bet limits. As someone commented here before, martingale works fine if your wallet it is deep enough. The question is: how deep is deep enough? That is why the need for backtesting.

May I also ask you and the programming experts:

1. How can I increase the distance in pips between positions but still automatically guarantee that when the positions are closed there is still a profit? When I increase the value for the parameter Pips, some closings end in loss.

2. How can I choose to open only buys or only sells but not sometimes buys and sometimes sells?

Many thanks.

forexjim

 

Hi, newdigital,

I am thinking of buying a computer to run many demo mt4 accounts at the same time. Should I buy a server or a regular pc? 32-bit or 64-bit? Could you recommend some brandnames?

Many thanks.

forexjim

 

Hi forexjim,

I was talking about pure martingale. But martingale in forex is used as additional feature for good profitable system ... martingale is the same as butter for bread ...

1. How can I increase the distance in pips between positions but still automatically guarantee that when the positions are closed there is still a profit? When I increase the value for the parameter Pips, some closings end in loss.

As I remember - it is Pips in the settinng (20 pips by default)/

2. How can I choose to open only buys or only sells but not sometimes buys and sometimes sells?

choose buy only or sell only during the attaching EA to the chart (same - during ther backtesting) - there is some option in general for all EA in Metatrader ... something as

"allow live trading"

"allow dll"

"buy only" ... and so on.

 
forexjim:
Hi, newdigital,

I am thinking of buying a computer to run many demo mt4 accounts at the same time. Should I buy a server or a regular pc? 32-bit or 64-bit? Could you recommend some brandnames?

Many thanks.

forexjim

Use/buy VPS.

It is more comfortable and very cheap.

Reason: