Gold Scalping EA (grid hedging)

Specifiche

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.

 


Con risposta

1
Sviluppatore 1
Valutazioni
(392)
Progetti
544
40%
Arbitraggio
30
57% / 3%
In ritardo
57
10%
Gratuito
Pubblicati: 11 codici
2
Sviluppatore 2
Valutazioni
(21)
Progetti
30
57%
Arbitraggio
0
In ritardo
1
3%
In elaborazione
3
Sviluppatore 3
Valutazioni
(8)
Progetti
8
0%
Arbitraggio
0
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(2626)
Progetti
3336
67%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
5
Sviluppatore 5
Valutazioni
(305)
Progetti
548
35%
Arbitraggio
79
32% / 42%
In ritardo
197
36%
In elaborazione
6
Sviluppatore 6
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
2
0% / 50%
In ritardo
1
50%
Caricato
7
Sviluppatore 7
Valutazioni
(24)
Progetti
25
68%
Arbitraggio
0
In ritardo
1
4%
In elaborazione
Pubblicati: 2 codici
8
Sviluppatore 8
Valutazioni
(7)
Progetti
10
10%
Arbitraggio
3
33% / 33%
In ritardo
4
40%
Occupato
9
Sviluppatore 9
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(38)
Progetti
51
20%
Arbitraggio
15
27% / 67%
In ritardo
7
14%
Gratuito
Pubblicati: 1 codice
11
Sviluppatore 11
Valutazioni
Progetti
1
0%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(15)
Progetti
34
24%
Arbitraggio
4
0% / 50%
In ritardo
2
6%
In elaborazione
13
Sviluppatore 13
Valutazioni
(8)
Progetti
12
33%
Arbitraggio
0
In ritardo
3
25%
In elaborazione
14
Sviluppatore 14
Valutazioni
(3)
Progetti
1
100%
Arbitraggio
3
0% / 100%
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(144)
Progetti
186
41%
Arbitraggio
24
58% / 21%
In ritardo
13
7%
Gratuito
16
Sviluppatore 16
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
In elaborazione
17
Sviluppatore 17
Valutazioni
(330)
Progetti
396
53%
Arbitraggio
20
55% / 15%
In ritardo
29
7%
Occupato
18
Sviluppatore 18
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
Ordini simili
I am looking for an experienced developer to create an automated trading bot on the Quantower platform based on my trading rules. The bot should execute trades automatically. Kindly bid for it if it is what you can code for me
Hi developers, I would like to create an indicator from tradingview to MT5 forex trading.The indicator it's called (SMRT Algo Pro V3) and it goes along with (SMRT Algo MTF Supply and Demand
MT5 Expert Advisor – XAUUSD Opening Range Breakout I am looking for an experienced MQL5 developer to build a robust MT5 Expert Advisor. STRATEGY DETAILS • Instrument: XAUUSD • Timeframe: M30 • Broker: Pepperstone (Spread Betting) • Trading days: Monday–Friday only OPENING RANGE • Opening range candle: 07:00 – 07:30 UK time • EA must automatically convert UK time to broker server time • Record OR High and OR Low from
EA should trade Gann indicator arrows filtered by Autotrendline indicator. Two orders per trade and when first level of Gann indicator is reached SL of second order should be moved to breakeven
Hello, I have a strategy written in Pine Script (TradingView) that used to send signals to MetaTrader 5 via PineConnector. Now I want a native MT5 Expert Advisor (EA) written in MQL5, so I can do full backtesting and trading inside MetaTrader without any external bridge. I will provide: - Full Pine Script code - Entry and exit rules (based on BOS and OB logic) - SL/TP and dynamic risk management (R:R) - Breakeven
EA for Gold 30+ USD
I am looking for a good EA robot for gold that will be taking trades on 1 min chart and takes profits on 1$ move on gold. that can take as many entries as possible in a day. example: ENTRY ON 3000.00 AND TAKE PROFIT AT 3001.00. The robot will have all the trading knowledge and strategy with a high win rate
Existing indicator compiles but does not want to attach to chart anymore, worked previously Requirements: Debugging of code so indicator attaches to chart Original values required to work as they previously worked, no adjustments Testing of indicator to make sure it attaches to a chart properly
Hi, I am looking for a good Forex programmer that could build a EA robot , It will have to be built base on fibonachi retracement, 0 , 0.236, 0.382 , 0,5 , 0.618 , 0.786, 1, 1.618 , 2.618, and 3.618, the robot should be able to make me input the fibo numbers myself. stop Loss, T.P
PROJECT DESCRIPTION I am using a Telegram → MetaTrader trade copier (currently TWP Copier 1.08) which receives trade signals correctly but does NOT consistently execute trades on MT4, despite: Signals being received and logged AutoTrading enabled Live trading allowed Correct symbol names (no suffix/prefix issues) Manual trades working perfectly No trade conflicts or filters blocking execution CURRENT ISSUE Telegram
Hello, I’m reaching out because I’m interested in hiring you to develop a custom trading bot for me. The bot should trade only XAUUSD (Gold) and be designed for long-term account growth using my own trading account size. Here are the core requirements: - Account size: $300 - Asset: XAUUSD only - Risk management: Strict and properly controlled - Risk-to-reward ratio: Clearly defined and consistently applied -

Informazioni sul progetto

Budget
80 - 100 USD
Scadenze
a 5 giorno(i)