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

工作已完成

执行时间1 一天
客户反馈
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.
员工反馈
Great customer, clear specs, prompt communication, +

指定



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



反馈

1
开发者 1
等级
(626)
项目
984
47%
仲裁
33
36% / 33%
逾期
97
10%
工作中
发布者: 6 代码
2
开发者 2
等级
(262)
项目
277
55%
仲裁
0
逾期
5
2%
空闲
3
开发者 3
等级
项目
0
0%
仲裁
0
逾期
0
工作中
4
开发者 4
等级
(2)
项目
1
0%
仲裁
1
0% / 100%
逾期
0
空闲
5
开发者 5
等级
(1)
项目
2
0%
仲裁
2
50% / 50%
逾期
0
空闲
相似订单
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 am offering a ready-to-use trading system that connects MetaTrader 4 signals with automated trading on Polymarket. The system is already fully developed and working. What the system does: The bot copies signals from a custom MT4 indicator and executes trades automatically on Polymarket prediction markets. How it works: A custom MT4 indicator generates BUY or SELL signals using buffers. When a signal appears, it is
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
Looking to purchase a Good forex or gold/ BTC trading EA and it's source code. Must be compatible with low budget like less than $500 accounts, Must need no manual intervention and run fully automated. If you are interested in selling me the source code, please share the Read only account access where the EA has already been running on, so i can check past performance and get an idea on how it works or runs. Dont

项目信息

预算
90+ USD
截止日期
 1  3 天