Indicator for XAU-GC spread

Job finished

Execution time 2 days
Feedback from employee
very good customer, clear requirements.
Feedback from customer
He is a skilled coder. will work him anytime

Specification

I am looking for someone who can code the following indicator:

input 1: xauusd symbol

input 2: GC (gold futures) symbol

input 3: M minutes where we will use the ma of the last M minutes GC-XAU spread

input 4: T threshold in dollar terms. this T will be used to signal where the GC-XAU spread is T over/below the M Minutes ma of GC-XAU spread

input 5: T-Step is the threshold step. after a signal is produced, another signal should be produced after T-Step dollar amount on the same direction again and again. 

input 6: alert on/off

* the GC-XAU spread will be constructed by the mids of GC and XAU prices

* the ma, the current spread, and the difference between those should be shown on the indicator window

* if a signal is produced, and alert is on, there should be an alert (also with sound) and next signal should be waited after T-Step amount on the same direction


Example

input 1: XAUUSD.ecn

input 2: GC.Z25

input 3: 30

input 4: 0.5

input 5: 0.25

input 6: true


create a GC.Z25 minus XAUUSD.ecn spread on the mid prices and keep the 30 minutes ma

if the current spread moves above the ma value by 0.5 dollar (50 cents) create an alert

if the current spread moves above the ma value by 0.75 (0.5+0.25) dollar create another alert (meaning at every 0.25 dollar increase create a new alert)

do not create another alert on the opposite direction until current spread moves below the ma value by 0.5 dollar

(and vice-versa for the other case as well)... you got the idea.

also show some info on the indicator window as below:

current spread: cs

M ma: mma

difference: cs-mma


and lastly: I need two quick trading buttons and an amount input

I prefer a lay-out like this

button#1       amount-input       button#2

when button#1 hit, whatever the amount is on the amount-input, sell that amount GC and buy that amount of XAU (considering the symbols on input 1 and 2)

when button#2 hit, whatever the amount is on the amount-input, buy that amount GC and sell that amount of XAU (considering the symbols on input 1 and 2)


The budget is 100 USD (no negotiotions)

The time-frame to fisinh the work is 3 days.

Responded

1
Developer 1
Rating
(395)
Projects
556
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
3
Developer 3
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
4
Developer 4
Rating
(13)
Projects
18
11%
Arbitration
6
33% / 67%
Overdue
1
6%
Free
Published: 1 code
5
Developer 5
Rating
(438)
Projects
649
53%
Arbitration
35
63% / 20%
Overdue
7
1%
Working
6
Developer 6
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
7
Developer 7
Rating
(1)
Projects
2
0%
Arbitration
1
100% / 0%
Overdue
0
Free
Similar orders
Name: SteelEdge Platform: MetaTrader 5 (MQL5) Expert Advisor Instruments: XAUUSD, EURUSD, US30 Timeframe: H1 (inputs to change it) STRATEGY - Trend filter: buy only when price is above the 200 EMA, sell only when below - Entry: price pulls back to the 50 EMA and a bullish (buy) or bearish (sell) engulfing candle closes - Confirmation: RSI(14) above 50 for buys, below 50 for sells - Stop loss: 1.5 x ATR(14) - Take
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
I am commissioning the development and reverse-engineering of a commercial-grade, multi-strategy quantitative trading portfolio modeled on proven institutional frameworks (Reference methodology: https://whop.com/the-agent-algo/products/ ). The goal is to develop a standalone, fully owned commercial trading system covering Nasdaq (NQ) and Gold (XAUUSD) with an integrated licensing engine ready for commercial
Exir AI 30 - 200 USD
I need an experienced MQL5 developer to build a custom AI-assisted Expert Advisor (EA) for MetaTrader 5. The EA will run on a live MT5 account with Tickmill and must support Forex and Crypto CFDs. Required instruments: - EURUSD - GBPUSD - USDJPY - XAUUSD - BTCUSD - ETHUSD Required timeframes: - M5, M15, and M30 Trading logic: - M30 determines the overall trend. - M15 identifies entry zones, support/resistance, and
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
USD54 Applications The bot should open trades when the price breaks out of the band by a specified percentage, for example, 0.10%. If the price breaks above the band, the bot should open a long position. If the price breaks below the band, it should open a short position. The bot should also open trades when the price touches a band: Bullish band cross: When a bullish cross occurs between the bands, the bot should
#property strict #property version "1.00" #property description "EMA Trend + Pullback + Engulfing EA" // Include the standard MT5 trade library. #include <Trade/Trade.mqh> CTrade trade; //============================================================== // INPUT SETTINGS //============================================================== // Trend indicators input int FastEMA = 20; input int SlowEMA = 50; // Pullback

Project information

Budget
100+ USD
Deadline
to 3 day(s)