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

MQL4 Experten

Auftrag beendet

Ausführungszeit 3 Stunden
Bewertung des Entwicklers
All is good.

Spezifikation

 

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 

 

 

Bewerbungen

1
Entwickler 1
Bewertung
(215)
Projekte
302
79%
Schlichtung
4
25% / 0%
Frist nicht eingehalten
62
21%
Frei
Veröffentlicht: 7 Beispiele
Ähnliche Aufträge
create an trading bot on mt5 for small account following the trend with adjustable time frame using draw on liquidity at an order block or FVG follow by entry after CHOCH or CISD - take profit and stop loss in 1:2 risk to reward adjustable - editable risk percentage - editable number a trades per day - editable number of entry per trades - work on all timeframe - with editable trailing stop loss - use PDH and PDL and
Hi, I'm looking for a C# developer with trading indicator experience to build a custom indicator for the ATAS platform. About ATAS: ATAS is a professional order flow and footprint charting platform, similar to NinjaTrader in that indicators are built in C#. It has an open source SDK here: github.com/AtasPlatform/ATAS-Indicators — if you've built NinjaTrader indicators, the structure will feel familiar. What I need
Hi, I'm looking for a C# developer with trading indicator experience to build a custom indicator for the ATAS platform. About ATAS: ATAS is a professional order flow and footprint charting platform, similar to NinjaTrader in that indicators are built in C#. It has an open source SDK here: github.com/AtasPlatform/ATAS-Indicators — if you've built NinjaTrader indicators, the structure will feel familiar. What I need
I need an experience programmer on news based EA, the EA will be able to fetch or return both historical and current calendar data and implore them into trading, The rest EA details will be communicated in the chat section
1. Project Overview - This project aims to develop a "Manual Backtesting Assistant Tool" that operates exclusively within the MT4 (MetaTrader 4) Strategy Tester environment. - [CRITICAL NOTE]: This is NOT an automated trading EA! There is NO need to implement any automated entry/exit logic based on technical indicators like Moving Averages, MACD, etc. - Core Mechanism: During historical backtesting, a UI interactive
I'm looking for develop a predictive program that trades in forex currencies .The program will identify patterns and triggers and use this data to make high probability trades. If you're a professional developer that's capable to take on this project. Kindly send me a message and let's discuss further
Sira 30+ USD
I want 90% accuracy fast and reliable indicate signals able to read risk and profit to keep a good trade notify when trade is going down or when it will be a loss
Hello! I am searching skilled CTRADE programmer to fix my Expert Advisor. Details will be showed for selected programmer. I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from
preciso de um programa paracido com o CAP channel com botao de refresh e opcaos de alterar o periodo. utilizava um muito bom, mas o vendedor acredito ter sido excluido da comunidade, sumiu. e o que tinha parou de funcionar
Hello I need a Person who write for me a EA on MT5 on renko charts, refreshed time 10s (optionally other timeframes 5s, 15s, 30s, 1min etc). EA will base on The bollinger band modified indicator, the source code is from Tradingwiev. I will share it. Rules: EA will open positions when price close above/under some band from indicator, always on closed brick (EA must wait to close timeframe, SL or Trailing stop will

Projektdetails

Budget
10 - 30 USD
Ausführungsfristen
von 1 bis 5 Tag(e)