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

MQL4 Uzmanlar

İş tamamlandı

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

Şartname

 

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
Need an Expert Advisor designed specifically for XAUUSD (Gold) , based on liquidity sweep + breakout confirmation logic. Market Focus Instrument: XAUUSD only Optimized for high volatility and intraday expansion behavior typical for Gold. Strategy Concept The EA is based on liquidity sweep of previous day levels followed by market structure shift and continuation in the confirmed direction. Daily Levels Previous Day
Can we do this 2 Indicatos at once NOTES 1. Step MA are on HTF, So values to be used are for Time frame that have closed 2. Pairs that are to be displayed for 2 STEP MA TREND DISPLAY are to be arranged in alphabetical order 3. Pairs in Bullish Weak trend are to be displayed in Green 4. Pairs in Bearish Weak Trend are to be displayed in Red 5. Position for displayed to be adjustable
GoldTrade EA 50 - 100 USD
Evening. I need a programme who will be patient with my EA specifications as it consists of +/- 30 sections ..but before we can start I want us to agree on these terms ...are as follows...the programmer should follow these order .[.Market regiom > trend bias > Lequidity > Smc > Momentum > Session > Risk > Entry > Exit ] and also should help me with these prototype request phase 1=Logicframework . phase 2=Entry engine
Hello everyone, I am looking for a profitable Expert Advisor (EA) that has already been developed and tested for use on the Deriv platform, particularly for Boom, Crash, Volatility Indices, Step Indices, and other synthetic indices offered by Deriv. I am interested in EAs with proven performance and verifiable results. If you have an EA that is already built and operational, I would be happy to discuss its strategy
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
Hello, I am looking for an experienced developer to build a fully automated Python-based MT5 trading bot. The strategy is based on Smart Money Concepts (SMC) and includes multi-timeframe analysis, automated trade execution, risk management, and backtesting. Requirements: Python and MetaTrader 5 integration SMC strategy implementation Automated trade execution Risk management (SL, TP, position sizing) Backtesting and
O EA deve operar - na corretora BINANCE - com duas médias móveis que podem ser aritmética, exponencial, ponderada, alma( Alnaud Legoux ), Jurik. O EA fica comprado quando a primeira média (rápida) cruzar a segunda média ( lenta ) para cima e vendido quando a primeira média cruzar a segunda média para baixo. Cada entrada deve ser zerada por stop loss, stop gain ou na virada de mão
BullyMax Pro 30+ USD
"Act as an expert MQL5 algorithmic trading developer. I want you to create a profitable and efficient Expert Advisor for MetaTrader 5. Do not write the code yet; read the following trading rules, analyze them, and ask me any clarifying questions if needed. Timeframe: [e.g.15 minutes Chart] Entry Logic: [e.g.MACD + RSI + REVERSAL PRICE ACTION. Enter buy when Macd line crosses above the signal line ,RSI above 30 and
I am looking for an experienced MQL5 developer to build and optimize an Expert Advisor for MT5. Requirements: 1. The EA must be capable of passing prop firm challenges: - Profit target: 8-10% - Max daily drawdown: 4-5% - Max total drawdown: 8-10% - No martingale, no grid - News filter included 2. The EA must manage funded accounts long term with consistent monthly returns. 3. The EA must run on VPS
Inocome and in the time i dont have any thing i play in it making some money because i dont love sit doing nothing personaly and i want to start a busniss but i want money for that and my incom doesnt helps me for that so i want another income

Proje bilgisi

Bütçe
10 - 30 USD
Son teslim tarihi
from 1 to 5 gün