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

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 3 saat
Geliştirici tarafından geri bildirim
All is good.

İş Gereklilikleri

 

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 

 

 

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(215)
Projeler
302
79%
Arabuluculuk
4
25% / 0%
Süresi dolmuş
62
21%
Serbest
Yayınlandı: 7 kod
Benzer siparişler
to compile all the suitable markets for buy and place a buy for the shortest timeframe and place a sell for also a shortest timeframe it should work with all brokers and can automatically place a trade as long as its connected to the internet it should inform where the contracts are placed and for how long
XAUUSD Scalper M1 30 - 100 USD
I want XAUUSD scalping bot it works on strong support and resistance.Put pending BUY SELL orders at S&R levels. Adding some basic inputs TP,SL,Trailing.If you have similar EA share demo file in personal chat.if results satisfy with my expectations i will proceed with same EA any modifications if required
1 indicator SATV Final Work a. Symbol Name b. If Last Candle is Blue Then scanner Box Colour is Blue If Last Candle is RED Then Scanner Box colour is RED c. Live Price d. IF price is cross strong Buy or strong sell showing only For Buy/Sell and Candle low / High showing price 2 Bhav Copy Input field for 1-12 month If I want 5 Month back open Bhav & 1 Year 3 Moving Average Average Line price If Live price below to
It's a ninjacators.com indicator they offered at one time but no longer appears on their website. It's called the "Emini Predictive Trader" - based on tracking the three major indices - NYSE, DOW30, and NASDAQ - and suggests long or short entries if/when all three indices "agree". Would work well to trade the S&P500. I copied their original pitch page while it was up, along with the video that was on it. I'll attach
i NEED SOMEONE WHO CAN HELP ME CREATE A BOT THAT EXECUTE AND CLOSE TRADE AUTOMATICALLY ONLY FOR GOLD (XAUUSD) . A BOT THAT DOES NOT TRADE THE NEWS BUT ONLY TAKE TRADE ON ITS OWN AUTOMATICALLYON A NORMAL TRADING DAYS , I DONT MIND IF YOU ALREADY HAVE ONE THAT YOU ALREADY CREATED BUT TRUST AND HAVE A GOOD PERCENTAGE WIN RATE . I WANTS A BOT THAT USES (SL & TP) ON ITS OWN , OPENING AND CLOSES TRADE AUTOMATICALLY WITHOUT
Busco programador para crear un bot de trading automático. El bot operará en opciones binarias en Nadex, basado en la relación entre dos índices. La estrategia completa será entregada por privado al programador que acepte el trabajo. Requisitos: • Operación automática con delay configurable. • Entrada basada en datos de otro activo. • Personalizable en cantidad, expiración y lógica. • Código fuente incluido
Hello, I'm currently seeking a skilled and reliable MQL4 developer to assist in modifying and enhancing my Expert Advisor, Reversal Master V10.1 , to its next version V12.1 FF . This update involves integrating several advanced third-party indicators and implementing new trading logic based on clearly defined conditions to improve performance and strategy precision. If you have experience in EA development and enjoy
Hello, I'm currently seeking a skilled and reliable MQL4 developer to assist in modifying and enhancing my Expert Advisor, Reversal Master V10.1 , to its next version V12.1 FF . This update involves integrating several advanced third-party indicators and implementing new trading logic based on clearly defined conditions to improve performance and strategy precision. If you have experience in EA development and enjoy
Project Description: I am looking for a highly skilled MQL5 developer to create a robust solution for a persistent TLS handshake failure. My Expert Advisor (EA) needs to connect to a secure WebSocket server ( wss:// ) hosted on Railway.app or any other online websocket provider, but the connection consistently fails during the security negotiation phase. Ideal Candidate Skills: Deep expertise in MQL5 programming
I need an experienced developer to convert my MT4 EA based on the Super Trend indicator to MT5. The new EA should also include additional features. Essential modifications: - Incorporate additional indicators: Moving Average and PSAR. - Add custom alerts: Push and sound notifications. - Implement money management rules

Proje bilgisi

Bütçe
10 - 30 USD
Geliştirici için
9 - 27 USD
Son teslim tarihi
from 1 to 5 gün