An EA advisor based on time lapse strategy with counter trading

Trabalho concluído

Tempo de execução 20 horas
Comentário do cliente
The best developer I have ever worked with, coded and implemented my strategy the first time correctly and within hours. Highly recommended.
Comentário do desenvolvedor
Excellent client. Clear specification, responsive communication, and thorough testing. Would gladly work with again.

Termos de Referência

Please read the strategy very carefully and make sure to understand it before offering coding services. I also would insist on a manually coded EA, not an AI coded EA. 

Jumping EA

 

MT5 EA (with Deriv as broker) with the following strategy:

 

Inputs:

-          Lot size: minimum lot size that can be entered is => 0,001

-          Time (“T”) to wait to consider next trades from initial trade entry and potential subsequent trades: minimum => 1 (i.e. 1 minute)

-          Stop Loss (“SL”) percentage for total loss of all open trades combined: 10 (i.e. 10%) of equity available, meaning that if the total loss amount of all trades is equal to this percentage of equity available, all trades will close.

-          Take Profit (“TP”) percentage for total profit of all open trades open in a trade cycle combined: 1 (i.e. 1%) of equity available, meaning that if the total profit amount of all trades is equal to this percentage of equity available, all trades will close.

 

Strategy:

 

1.       EA will evaluate the first 1M candle to determine the trade strength direction. If the trade strength is bullish, open a Buy trade with the Lot Size input. If the trade strength is bearish, open a Sell trade with the Lot Size input.

2.       Wait for the amount of minute/s (“T”) that was provided as input to determine if the initial trade is in profit.

2.1. If, after (“T”) time, the initial trade is in profit (any profit), close the trade.

2.2. If at any time DURING (“T”) TIME the initial trade is in a loss and the loss is => than SL, close the trade.

2.3. If, after (“T”) time, the initial trade is in a loss and the loss is < than “SL” percentage at the end of the “T” period, open a counter trade in the opposite direction and reset “T” time period for combined trades. The lot size of the counter trade must be calculated as detailed per the Counter trade Lot Size criteria.

 

3.       If a counter trade is opened by Point 2.3.:

3.1. When initial and counter trade is open, if after (“T”) time combined trades total are in profit, close all trades.

3.2. When initial and counter trade is open, if at any time DURING (“T”) TIME the combined trades are in a loss and the loss is => than SL, close all trades.

3.3. When initial and counter trade is open, if after (“T”) time, the combined trades are in a loss and the loss is < than “SL” percentage at the end of the “T” period, open another counter trade in the opposite direction and reset “T” time period for combined trades. The lot size of the counter trade must be calculated as detailed per the Counter trade Lot Size criteria.

 

4.       If after “T” time “TP” is not achieved, repeat Point 3 conditions, whichever is applicable, to continue opening counter trades until one of the sub-conditions (3.1. – 3.3.) are met.

5.       When all trades in a cycle, either with an initial trade or with counter trades, are closed, initiate new trade starting from Point 1.

Counter trade Lot Size calculation criteria – Initial Lot Size for the first trade will be as per input. Every counter trade lot size will be calculated utilizing half of the amount of pips between the previous entry and the new counter entry position, as the amount of pips to be utilized to the profit side of the new counter entry as TP position with profit as per “TP” input. Thus, utilize the new “TP” position, and taking in consideration any open trades within the trade cycle, to determine the Lot Size of the new counter trade to achieve overall “TP” profit.

For example:

If the first counter trade is activated at 120 pips from initial trade entry position, the new “TP” will be set at 60 pips to the profit direction of the counter trade position and the lot size for the counter trade will be determined to achieve that profit, taking in consideration the negative effect of the entry trade.

Then, if no stops were activated and a 2nd counter trade needs to be opened, EA will consider the amount of pips again between the first counter trade and the new 2nd counter trade position. If that is i.e. 90 pips, the new “TP” will be set at 45 pips to the profit direction of the new counter trade position and the lot size for the new counter trade will be determined to achieve that profit, taking in consideration the effects of all open trades.

Then again, if no stops were activated and a 3rd counter trade needs to be opened, EA will consider the amount of pips again between the second counter trade and the new 3rd counter trade position. If that is i.e. 150 pips, the new “TP” will be set at 75 pips to the profit direction of the new counter trade position and the lot size for the new counter trade will be determined to achieve that profit, taking in consideration the effects of all open trades.

Repeating so forth….., until trade cycle terminates with either SL or TP


Arquivos anexados:

JPG
Jumping_EA.jpg
376.4 Kb

Respondido

1
Desenvolvedor 1
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
2
Desenvolvedor 2
Classificação
(329)
Projetos
515
19%
Arbitragem
35
46% / 31%
Expirado
34
7%
Trabalhando
3
Desenvolvedor 3
Classificação
(390)
Projetos
416
30%
Arbitragem
74
19% / 72%
Expirado
52
13%
Trabalhando
4
Desenvolvedor 4
Classificação
(510)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
100
10%
Trabalhando
Publicou: 1 artigo, 6 códigos
5
Desenvolvedor 5
Classificação
(258)
Projetos
269
29%
Arbitragem
1
100% / 0%
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
6
Desenvolvedor 6
Classificação
(23)
Projetos
34
53%
Arbitragem
1
100% / 0%
Expirado
1
3%
Livre
7
Desenvolvedor 7
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
8
Desenvolvedor 8
Classificação
(52)
Projetos
64
39%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
9
Desenvolvedor 9
Classificação
(43)
Projetos
63
24%
Arbitragem
10
30% / 50%
Expirado
10
16%
Livre
10
Desenvolvedor 10
Classificação
(18)
Projetos
22
18%
Arbitragem
8
38% / 38%
Expirado
3
14%
Carregado
Publicou: 1 código
11
Desenvolvedor 11
Classificação
(2)
Projetos
3
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
1
50%
Livre
Publicou: 4 códigos
Pedidos semelhantes
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing

Informações sobre o projeto

Orçamento
100+ USD
Prazo
para 3 dias