Gold Scalping EA (grid hedging)

Trabalho concluído

Tempo de execução 6 dias

Termos de Referência

This Technical Requirement Specification (TRS) is the overall detailed description of the EA required. It incorporates the modular entry system, multi-loop basket management, and the dynamic Take Profit scaling requirement where the profit target increases proportionally with the risk (lot size) of the basket. 

Some of the below comments are improvement from template of EA already developed.
 


Technical Requirement Specification: Global Basket Scalper (V3.0)

1. Phase 1: Modular Entry Logic (Initial Trade) à NEW / replaces ADX feature

Phase 1 governs the first trade of any new cycle. The logic must be modular, allowing the user to enable/disable specific filters.

  • Modular "Gate" System:
    • Trend Bias Gate (EMA): Checks price against an EMA (user-defined period, max 10 min). Settings as per user choice (manual or as per trend)
    • Volatility Gate (BBW): Only allows entry if Bollinger Band Width (20, 2.0) is currently expanding ($BBW > SMA100$). (True or false – as per user choice) Settings as per user choice
    • 55-EMA Channel Gate: Price must be outside the channel formed by the 55-EMA High and 55-EMA Low. (True or false – as per user choice) Settings as per user choice
    • Speed-Cross Signal: Triggers on 9/21 EMA crossover with RSI (14) confirmed above/below the 50 mid-line. (True or false – as per user choice) Settings as per user choice
    • Thrust Filter (ATR Multiplier): To ensure a valid "push" without being too restrictive, the signal candle body must be above ({ATR}(10) * multiplier) (True or false – as per user choice) Settings as per user choice

2. Phase 2: Basket & Recovery Management à existing in EA version shared

Once the first trade is open, the EA manages the "Basket" across multiple loops.

  • Loop 1 (Initial): Adds positions at fixed $X$-pip intervals only as price moves favorably (adding to winners).
  • Hedging Countermeasure: If price moves $X$ pips against any entry, the EA opens an equal-sized counter-position (reversal logic).
  • Recovery Loops (Loops 2–N):

.

    • Constraint 1: Preceding loop reaches a user-defined position count
    • Constraint 2: New Loops need to meet the criteria chosen in phase 1 New feature
    • Lot Multiplier: New loops use a multiplier (e.g., 1.5x or 2.0x) to increase basket weight. Settings as per user choice
    • Max Quantity of loops: in settings

3. Phase 3: Dynamic Profit Closure & Continuity NEW

This section defines how the EA exits and immediately hunts for the next cycle.

  • Dynamic Take Profit Scaling:
    • Logic: The Take Profit (TP) target must increase proportionally as new loops are added and lot sizes increase.
    • Formula: $GTP = TP_{Base} \times (\text{Total Basket Lots} / \text{Initial Lot Size})$.
    • Global Closure: When the combined net profit of all active loops reaches this dynamic target, all positions close.
  • Momentum Continuity:
    • Logic: After a successful TP closure, if SMA 50 and SMA 100 are aligned (both below price for Buys, above for Sells), the EA skips Phase 1 and restarts Loop 1 immediately in the same direction.
  • Safeguards:
    • News Filter: Stops new initial loop initialization before/after high-impact news. The logic reaches completion of ongoing loop.
    • Trading Hours: Restricts initial entries to specific daily windows.
    • Max Drawdown: Hard equity stop that liquidates all trades and resets the cycle.
    • Max Quantity of open positions: Hard equity stop that liquidates all trades and resets the cycle.

4. Developer User Settings Interface

Section

Parameter Name

Type

Description

Logic Toggles

Use_EMA_Trend / Use_BBW / Use_Channel

Bool

Modular Phase 1 toggles.

Loop 1 Setup

Initial_Lot_Size / TP_Base_Pips

double / int

Starting volume and base profit target.

Grid Logic

Dist_Between_Trades / Hedge_Distance

int

Pips for scaling and reversal.

Recovery

Max_Quantity_Loops / Trigger_Pos_Count

int

User-defined loop cap and trigger.

Recovery

Proximity_Offset / Lot_Multiplier

int / double

Distance from entry and weight increase.

Safety

Max_Drawdown_Pips / News_Filter_Toggle

int / bool

Global stop loss and news logic.

Continuity

Use_SMA_Momentum_Restart

bool

Toggles SMA 50/100 instant re-entry logic.


5. Developer Implementation Guidelines

  1. Dashboard: On-chart UI must display active Loop Tier, Current Basket Profit vs. Dynamic TP, and News status.

 


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(394)
Projetos
555
41%
Arbitragem
30
57% / 3%
Expirado
57
10%
Trabalhando
Publicou: 11 códigos
2
Desenvolvedor 2
Classificação
(23)
Projetos
34
53%
Arbitragem
1
100% / 0%
Expirado
1
3%
Livre
3
Desenvolvedor 3
Classificação
(9)
Projetos
10
10%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(2672)
Projetos
3408
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
5
Desenvolvedor 5
Classificação
(318)
Projetos
565
35%
Arbitragem
81
31% / 44%
Expirado
204
36%
Livre
6
Desenvolvedor 6
Classificação
(7)
Projetos
5
0%
Arbitragem
5
0% / 80%
Expirado
1
20%
Trabalhando
7
Desenvolvedor 7
Classificação
(44)
Projetos
51
59%
Arbitragem
2
100% / 0%
Expirado
1
2%
Livre
Publicou: 5 códigos
8
Desenvolvedor 8
Classificação
(22)
Projetos
29
34%
Arbitragem
4
50% / 25%
Expirado
5
17%
Trabalhando
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(39)
Projetos
52
19%
Arbitragem
15
27% / 67%
Expirado
8
15%
Livre
Publicou: 1 código
11
Desenvolvedor 11
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
13
Desenvolvedor 13
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
14
Desenvolvedor 14
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(144)
Projetos
186
41%
Arbitragem
24
58% / 21%
Expirado
13
7%
Livre
16
Desenvolvedor 16
Classificação
(6)
Projetos
7
14%
Arbitragem
1
0% / 100%
Expirado
1
14%
Livre
17
Desenvolvedor 17
Classificação
(365)
Projetos
443
55%
Arbitragem
22
55% / 14%
Expirado
30
7%
Ocupado
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Pedidos semelhantes
Return true 66+ USD
//+------------------------------------------------------------------+ //| Return true if a new bar appears for the symbol/period pair | //+------------------------------------------------------------------+ bool isNewBar() { //--- remember the time of opening of the last bar in the static variable static datetime last_time=0; //--- current time datetime
Търсим опитен MQL5 разработчик , който да изгради първия прототип на MetaTrader 5 Expert Advisor за дългосрочен проект за алгоритмична търговия. Изисквания към проекта Вграден Renko двигател (без офлайн Renko графики). EMA 20 и EMA 50, изчислени от тухли Renko. Логика на търговия, базирана на подробна техническа спецификация (предоставена след избор от разработчика). Експертният съветник трябва да поддържа отваряне и
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
I have an MQL5 expert advisor that i use on MT5 trading platform and it works perfectly. The only issue is that sometimes it hangs. I need to get it fixed so that it does not hang. The code is around 4500 lines in length but i clearly do not want it to be re-written. I know that many of you will approach me to try and convince me to get it redone.... but i simply dont have the budget. - This is a grid system and the
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Supply and Demand EA 50 - 250 USD
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or

Informações sobre o projeto

Orçamento
80 - 100 USD
Prazo
para 5 dias