Show repainting of 1 buffer of a custom indicator on past bars and on a live chart (mql4)

Trabajo finalizado

Plazo de ejecución 1 día
Comentario del Cliente
Will work with him again: the programmer was patient, invested in the process, only made correct remarks, and delivered on time, within specifications (and >). Pleasure to work with.
Comentario del Ejecutor
Great customer, clear specs, prompt communication, +

Tarea técnica



TLDR: add 1 buffer that displays the historical values of 1 buffer of a custom indicator, 
both historically (as if it ran in real time from left to right of the chart), as in real time


Don't bid if you are in doubt about how to do this.


1) Intro:
When you are not sure if an indicator is repainting or not (changing its past values as new bars arrive), a neat little trick would be in MT4 to open: a 1-minute chart, put your custom indicator on it with your desired settings, and then, open the Navigator window, click on Indicators, click on Trend, then drag the indicator "Moving Average" into the separate window at the bottom of the chart: on top of the custom indicator you want to check for repainting, before releasing the left mouse button. Then when you release that button, in the Moving Average pop-up box, you give in the following settings: Period: 1, Shift: 0, MA method: Simple, Apply to: First Indicator's Data. This will be the most effective on an M1 chart, because it produces the most bars in the shortest amount of time. The SMA(1,"custom indicator") will chart a line that gives a historical snapshot of where the repainting indicator was in the past, on the close of the bar, effectively showing how it repaints.

2) Problem:
I have a custom indicator in a separate window, for which I want to see the "historic repainting", but without having to use the procedure described above in 1). So an extra buffer needs to be added to the mql4 code. When I drop the new indicator on the chart, I want to see how it repainted in the past, for all the bars the initial indicator is calculated on. However, it also needs to work in real time, so as new bars arrive on the chart over time, the new buffer on the required indicator shows where the original repainting indicator was at the close of the bar. 

3) Technical:
It should work on all instruments, all timeframes, all bar types in MT4, not just in the past, but also in real time. 

4) Criterion for success:
The new buffer in the proposed solution should have the same values as the SMA(1) described above in 1). The original indicator (with multiple buffers) works fine, both historically and in real time. Without array-out-of-range issues, and compatible with the latest standards in mql4 for Metatrader 4. 

The buffer in the attached code that needs to be evaluated is called "ExtMapBuffer2": the one with the label: "Bars to previous extreme".



Han respondido

1
Desarrollador 1
Evaluación
(626)
Proyectos
984
47%
Arbitraje
33
36% / 33%
Caducado
97
10%
Trabaja
Ha publicado: 6 ejemplos
2
Desarrollador 2
Evaluación
(262)
Proyectos
277
55%
Arbitraje
0
Caducado
5
2%
Libre
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
4
Desarrollador 4
Evaluación
(2)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(1)
Proyectos
2
0%
Arbitraje
2
50% / 50%
Caducado
0
Libre
Solicitudes similares
I am looking for a professional MQL5 developer to build a MetaTrader 5 Expert Advisor from scratch. The EA will be called LadyKiller EA. It must trade only the following instruments: • XAUUSD (Gold) • US30 / Dow Jones Index Requirements: • Strong and reliable buy and sell entry logic • Stop Loss and Take Profit system • Risk management (lot size control) • Maximum trades protection • Drawdown protection • Trend
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
I currently have a powerful and well-structured Expert Advisor available on the MT5 platform. This EA is designed with: ✅ Advanced entry and exit logic ✅ Smart risk management system ✅ Automatic lot sizing option ✅ Break-even and trailing stop protection ✅ Spread and session filters ✅ Drawdown control features ✅ Optimized for XAUUSD and scalping strategies ✅ Suitable for prop firm challenges like FTMO It is built for
Do you need a profitable and well-structured trading strategy converted into a fully automated Expert Advisor on the MT5 platform? I specialize in developing advanced, high-performance EAs with: ✅ Smart entry & exit logic ✅ Risk-based lot size calculation ✅ Break-even & trailing stop system ✅ Spread & session filters ✅ Daily drawdown protection ✅ Prop firm (FTMO-style) risk compliance ✅ Fully automated trade
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity

Información sobre el proyecto

Presupuesto
90+ USD
Plazo límite de ejecución
de 1 a 3 día(s)