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

Job finished

Execution time 1 day
Feedback from customer
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.
Feedback from employee
Great customer, clear specs, prompt communication, +

Specification



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".



Responded

1
Developer 1
Rating
(613)
Projects
954
46%
Arbitration
30
40% / 33%
Overdue
95
10%
Free
Published: 6 codes
2
Developer 2
Rating
(227)
Projects
242
51%
Arbitration
0
Overdue
5
2%
Free
3
Developer 3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
4
Developer 4
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(1)
Projects
2
0%
Arbitration
2
50% / 50%
Overdue
0
Free
Similar orders
Hello to all, I'm looking for a coder that has a great attention to details and is able to code me and EA that works on anytime frame chart.. For example H4 chart, currencies, indices, stocks, or commodities using a fast MA (e.g. 20) crossing a slow MA (e.g. 120) as its core signal, with optional confirmation filters (RSI levels and H4 candle breakouts). It must be fully configurable with MA periods, ATR settings
I am looking for an experienced and reliable MQL5 developer to complete an Expert Advisor (EA) project that is already partially developed. The previous coder abandoned the project close to completion, so I need someone who can step in, quickly understand the existing code, and professionally bring it across the finish line
Hello, I have a GUI that needs 2 adjustments. The first is to have it load up to the right of the screen. The other is to check the box "None" in the 3rd ticket window. I think I've located the error (rb 3 false). I don't know how to edit the Designer Generated Code. I also don't know how to move the GUI. I've gone in there and moved some lines around for aesthetic purposes and adjusted the font but that's as far as
Hi guys My grid EA has some bugs and I would like to figure out, what lead into my losses. I made a document with all the bugs I have found. It must be something with Global Variables and mathematical levels it ignores. The logic behind is very complex and the EA has approx. 4500 lines of code. Requirements: - Math understanding - Understands mql5 and clean coding What does the EA: - It continuously monitors the
i need an expert to converting trading view script called Renko chart into meta trader5 EA automated robot, i need an expert that can get it done in 5 days here is the link to the code /
I have a pine script from tradeview and I'd like you to convert it in js ECMAScript (ES6) so as to use in the trendspider, Please find a link to check which one is it. https://charts.trendspider.com/scripting/docs/#/scripting_language if you are an expert and you can do this work bid
All entry/exit conditions, signal filtering, EMA, ADX, and ATR calculations, as well as confirmation candles, must be implemented without any changes . Signals must appear exactly the same as they do in TradingView: On the same candles , in the same direction . Optimized for detecting spikes/drops in Boom and Crash indices on the M1 timeframe . User-friendly interface: Ability to configure the following parameters
Hello, I need an expert coder who can help me convert my tradingview pine script to mt5 EA expert advisor, This is the pine script https://ctxt.io/2/AAB4SyWXFQ Also I need for EA to enter trades exactly like this strategy on TradingView, i attach, please i need someone wo can do the work not time waster, Live market order should be placed on green and red indicator chart
I’m looking for a custom indicator that can scan for ICT Smart Money "Breaker Structures" and alert me when they form. What I Need: The indicator should analyze markets (Oil/Gold/ but mostly Crypto (BTC)) for Breaker Structures—where price breaks a swing high/low but gets rejected, signaling a potential reversal. I primarily use TradingView, so I'd appreciate it if the script is compatible with TradingView and can
Existing MQL5 EA uses MA and Smoothed Heiken Ashi for entry conditions. Architectural design is as follows: 1. Modified smoothed HA indicator to write/update global variable to indicate direction change which is picked up by the EA. 2. 21 period LWMA used to confirm trend direction for entry. After reading articles on MQL5 (see especially "Neural Networks for Algorithmic Trading" by Dmitriy Gizlyk ) I have included

Project information

Budget
90+ USD
VAT (21%): 18.9 USD
Total: 108.9 USD
For the developer
81 USD
Deadline
from 1 to 3 day(s)