Gold Scalping EA (grid hedging)

Job finished

Execution time 6 days

Specification

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.

 


Responded

1
Developer 1
Rating
(393)
Projects
547
40%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(22)
Projects
33
52%
Arbitration
1
100% / 0%
Overdue
1
3%
Free
3
Developer 3
Rating
(8)
Projects
9
11%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(2643)
Projects
3359
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
5
Developer 5
Rating
(309)
Projects
554
35%
Arbitration
78
32% / 42%
Overdue
200
36%
Loaded
6
Developer 6
Rating
(6)
Projects
5
0%
Arbitration
6
0% / 67%
Overdue
1
20%
Loaded
7
Developer 7
Rating
(32)
Projects
32
63%
Arbitration
1
0% / 0%
Overdue
1
3%
Working
Published: 5 codes
8
Developer 8
Rating
(12)
Projects
16
13%
Arbitration
4
50% / 25%
Overdue
4
25%
Working
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(38)
Projects
51
20%
Arbitration
15
27% / 67%
Overdue
7
14%
Free
Published: 1 code
11
Developer 11
Rating
Projects
1
0%
Arbitration
1
100% / 0%
Overdue
0
Free
12
Developer 12
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
13
Developer 13
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
14
Developer 14
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
15
Developer 15
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
16
Developer 16
Rating
(6)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
1
14%
Free
17
Developer 17
Rating
(351)
Projects
422
54%
Arbitration
20
55% / 15%
Overdue
29
7%
Free
18
Developer 18
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
Chin 30 - 300 USD
i want to add the 30m time frame in the ema section high ema is 1h low ema is 5m i want u to add a mid ema so i can use 3 time frames
I’ve been following your profile and I'm interested in your expertise with the ATAS API and C# development. I have a clear technical scope for a high-performance M1 indicator focused on Binary Options and Scalping. ​The core logic is based on institutional Order Flow convergence: ​Stacked Imbalances: 300% ratio with a minimum of 3 consecutive levels. ​Delta/Price Divergence: Filtering for market exhaustion (New Highs
I'm looking to have a tradingview strategy translated to work on ninjatrader. Right now I'm using webhooks together with the platform Crosstrade to automate the strategy and have the trades take place on Tradingview. Let me know if that's something you can help me out with
Hello, Please read the full specification before applying. This project is NOT about building an EA from scratch. I already have a fully working MT5 Expert Advisor. The EA already includes a dashboard, risk management, and some protection systems, but it needs a few more features . So I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar
TORUNZ 😎 30+ USD
The robot should use different indicators for a example smart money indicator and market structure structure and break indicators in order for it to enter the market, it should also be able to tell false breakouts is the Bollinger indicator, and if the market is confirmed to be profitable,the robot should rebuy or resell the market according to the predictions made, it should execute the trades if the market reverses
I need an advisor created that opens a position with 0.10 lot size when a bull cross arrow appears on the m5 time frame and closes the trade after exactly one candle stick, the ea does the same thing over and over, a bull cross appear on m5 timeframe, and it opens 1 position with 0.10 lot size, and closes it after one candlestick on m5... If possible, provide a demo version
MT4 EA TO TAKE TRADES FROM (A) HYDRA TREND RIDER AND (B) IQ GOLD GANN LEVELS ON MQL5.COM The MT4 version of these two indicators can be found on the mql5.com website with the following links: Hydra Trend Rider: https://www.mql5.com/en/market/product/111010?source=Site +Profile+Seller IQ Gold Gann Levels: https://www.mql5.com/en/market/product/134335?source=Site +Profile+Seller (1) ENTRY (a) Hydra Trend Rider
I have a strategy for US100 where I want a bot to trade according to my strategy, contact me who have proven experience in making bots for MT4 or MT5
I need an mql5 EA which can be used with 100$ capital very low drawdown The EA should be high frequency trading special for XAUUSD and btcusd or binary options but also the EA should be testable via strategy tester and demo test for five days is needed NO SELECTION CAN BE DONE WITHOUT TESTING when applying make sure you send the backtester results with demo EA testable via strategy tester

Project information

Budget
80 - 100 USD
Deadline
to 5 day(s)