Spread Difference/Ratio Indicator

MQL4 Indicators

Job finished

Execution time 10 days

Specification



Indicator creates a spread candle stick chart from the prices of two different products.


There should be two modes of the indicator (difference / ratio).


Difference minuses the price of one product by the other and uses this price to create a candlestick chart.


Ratio divides one product price by the price of the other.



User variables 


Product 1

Product 2

Spread Mode (difference/ratio)

Product 1 Multiplier - This is the multiplier that should be applied to the price of product 1 before spread operation.

Product 2 Multiplier - This is the multiplier that should be applied to the price of product 2 before spread operation.


Example


Indicator settings


Product 1 - Europe 50

Product 2 - UK100

Spread mode - difference

Product 1 Multiplier - 2

Product 2 Multiplier - 1


Current Europe 50 price is 3000

Current UK 100 price is 7000


Indicator does following calculation:


(2*3000)- 7000 = - 1000


So current spread price is -1000. 


As prices changes in both these products the spread price will change.  This should be used to create a chart. Indicators and other forms of technical analysis should be able to be used on this chart.



Responded

1
Developer 1
Rating
(68)
Projects
78
27%
Arbitration
13
31% / 62%
Overdue
15
19%
Free
Published: 4 codes
2
Developer 2
Rating
(852)
Projects
1466
72%
Arbitration
122
29% / 48%
Overdue
359
24%
Working
Published: 3 articles
3
Developer 3
Rating
(807)
Projects
1127
43%
Arbitration
47
49% / 23%
Overdue
84
7%
Free
4
Developer 4
Rating
(14)
Projects
23
17%
Arbitration
3
0% / 100%
Overdue
5
22%
Free
5
Developer 5
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
Similar orders
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
Modification of existing ea …. Add ema filter, add risk percentage per trade, and modify the pips per day filter. I already have the ea code I just need these things added and modifified
Monthly Report: August 2026 World PEACE Multi FX Algo generated a total realized profit of approximately 31,966 JPY during August. The provider account is normally operated with approximately 200,000 JPY of capital. Compared with this standard operating amount, the realized profit for August was approximately 15.98%. Please note that this is not a compounded monthly return. Realized profits are withdrawn regularly

Project information

Budget
100- USD
Deadline
to 5 day(s)