Adjustment to 'include' file to prohibit new trades for X bars if last X trades were loss-making

MQL4 Experts

Trabalho concluído

Tempo de execução 3 horas
Comentário do desenvolvedor
All is good.

Termos de Referência

 

Hi,

 I use an 'include' file to manage trades, stop-losses and various other functions to manage the trading of my EA. I have recently experienced that some of my EAs, which otherwise produce solid returns - turn nasty for periods ranging from 5-40 periods, consecutively open trades and run into stop-losses. I want to prevent my EAs to trade for a defined period (should be variable) based on the following conditions: if over the last 20 bars (the number of bars should be smth, which can be set within the actual EA) if it did one or two loss-making trades in the same direction (Again, the number of permitted loss-making breaks). So it is meant to be function as a time-out for my EAs if it clearly does not produce valid signals! So to summarize the function

IF last X trades were loss-making in the last X bars, do not trade for X bars 

 Attached you will find the 'include' file I use and a random simple EA - I choose one which produces a substantial number of consecutive losses. Of course, I want to be able to amend any settings within the EA itself.   Please feel free to write if you need any further information.

 

Cheers,

 

Philipp 

 

 

Respondido

1
Desenvolvedor 1
Classificação
(215)
Projetos
302
79%
Arbitragem
4
25% / 0%
Expirado
62
21%
Livre
Pedidos semelhantes
i create a robot which help with order blocks and detection of spikes ....simply it analyses the market for you and if you are using it you wont need much skill to start operating it well you just need to know and understand how it works
I need an experienced programmer to create an automated EA that will open trades based on different candle stick formation strategies and indicators. The EA will first scan the market, find a current market trend and define area of support and resistance. On ranging market the EA doesn’t place trades . (1) EA should use a straddle strategy from either the S/R level, (2) indecision Doji candle from the S/R area, (3)
Order of EA trading only Arrow signals of my indicator in MT4 This EA should trade only the BUY and SELL Arrow signals after 1 added candle AND only if the bricks (blue for blue and red for sell) are in same direction Arrow + a brick Indicator is here attached. Arrow up + 2 Bricks Blue is BUY Arrow down + 2 Bricks Red is SELL Important is to check ONLY CLOSED candels. Sometimes it maybe occur ,that arrow apperase
Je souhaite un Ea advisor, possédants des stratégies combinés tels que : RSI+BB, Stoch+ATR, Fibonacci pattern harmonics, Keiltner+Canal Donchian, EMA+SMMA, support et résistance,zizag Min lots : 0.1 Je rechargerai mon solde une fois qu’un bon robot me sera présenté Je 'ai qu’une centaine d’euro entre mon investissement en votre EA et mon solde métatrader je ne veux pas de calcul de lots en fonction de mon
Pinescript code 60 - 100 USD
i need to convert this pinescript to ea mql4 exactly as original, consider my budget, i have also other project so if you are avalable and have enough time consider to take also other pinescript project
Hi, I have an indicator from my friend, I want to copy it to MT5 can you do that for me. Here is the link
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
Martingle EA 30+ USD
Create martingle grid EA with my own logic. Add Moving Avarage Filter. 2 engine with same logic. Sl TP by $ amount. Profit loss Dashboard Virtual all trade close Button
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. When sending

Informações sobre o projeto

Orçamento
10 - 30 USD
Desenvolvedor
9 - 27 USD
Prazo
de 1 para 5 dias