MQL4 - automated forex trading   /  

Code Base

Code Base  Expert Advisors  MTS "MoneyRain" To post a new code, please log in or register

This Expert Advisor is for
MetaTrader 4
Download MT 4 - 5.5 Mb

Mobile trading!
Buy a license and be mobile in your trading!

Name:
MTS "MoneyRain" [ ru | cn ]
Author: Reshetov (2008.05.12 12:48)
Downloaded: 2451
Download:
 MoneyRain.mq4 (3.6 Kb) View

This is an EA that increases the lot size after each profitable trade if it follows some losing trades.






This is another version of martingale, since the EA tries to play and after-game hoping that the series of losses will be changed for a series of profits.


EA Inputs:

* p - period for DeMark oscillator. It is optimized with the values from 3 to 100, step 1.
* tp - TP size in pips. It is optimized with the values from 10 to 100, step 1.
* sl - SL size in pips. It is optimized with the values from 10 to 100, step 1.
* lots - the volume of the first order and of all orders to be opened after a profitable trade. This input is not optimized.
* mn - magic number. This input is not optimized.
* losseslimit - the limit of successive losing trades. This input is not optimized. If the amount of losses reaches the limit, the EA stops opening new trades and sends an e-mail message.
* fastoptimize - fast optimization. This input is not optimized. If the value of this parameter is 'true', then the fast optimization of the embedded trading system without money management takes place. At fast optimization, the results obtained from Optimizer and from Tester will be different.

The EA works on only newly formed bars and open prices. There is no need to optimize it on every tick.

1 comment  To post a new comment, please log in or register

Hey,



I really believe that with depth in terms of liquidity and the right optimization, Martingale can work very well. However, I am backtesting your EA on MT4 and I have issues with the backtesting.

Have you used it live and if yes has it blown out ever? Also, what time frame/currency pair are you suggesting to use on?



Thanks for your work.



Cheers.




23.06.2008 12:25 latiz01