Real-time quote indicator - MetaTrader 5 script | Forex indicator download - MT4/MT5 resources - MetaTrader 5 resources




It differs from other price movement indicators in that it displays history directly above the bars on the main chart. The "propagation" history and the formation process of each column are clearly visible. Visually displays the current real-time bar formation.

Since the indicator displays the history of price movements for all time intervals visible on the chart, the number of movements visualized can be as high as hundreds of thousands and millions. Such a large load can cause the indicator to work slowly. For example, at the smallest scale of H1, the visible interval may be several months. The indicator will work very slowly loading and displaying millions of ticks.
If you want to monitor ticks, it is logical to use a small TF (up to M5) and a large to be able to view the price history in detail (as shown in the image above).
This indicator is taken from the blog and slightly modified - it has an array overflow. Add (a few lines) to fill the area between the corresponding LowAsk and HighBid. Most of the redundant content has been removed from the indicator's original OOP construction and unused mqh files.
Surprisingly (without indicator buffer at all) stable.
Its design is far from optimal. Apparently this is due to a number of bugs in the CopyTicks function that had not been fixed at the time of writing. However, it displays historical data correctly and quickly (with room for significant speed improvements).
There is no point in processing this indicator via iCustom and IndicatorCreate - there is no indicator buffer. It is only used for historical visualization. And it is actually designed as an indicator only because there is a certain overlap with the main function - display.
For example, same as EA
#propertystrict #includeCHARTOBJECTTICKS chart object; blank chart event ( const integer ID, constant long &l parameter, constant double &d parameter, constant string and spam) { EVENTBASE::MyEvent(id, lparam, dparam, sparam); } Blank check ( blank ) { if (:: chart gets integer ( 0 , :: CHART_FIRST_VISIBLE_BAR ) <= :: chart gets integer ( 0 , :: CHART_VISIBLE_BARS )) ChartObject.Visual(); }
That is, it uses only one of the custom types of interactive graphics objects. Therefore, paradoxically, this indicator is only an indicator in form - the technical form of the MT program.
The object's transparency level can be set in the input parameters.
The indicator is self-sufficient, it does not use the standard library.
Taking a screenshot using the terminal way is problematic - it may not match what the terminal displays.
Compliant with MetaTrader 4, but of course, it won't show anything (no CopyTicks data).
Attachment download
📎 eventbase.mqh (3.17 KB)
📎 pointer.mqh (0.63 KB)
📎 chartobject.mqh (3.79 KB)
📎chartobjectresource.mqh (0.84 KB)
📎 resource.mqh (0.51 KB)
📎 chartobjectticks.mqh (1.88 KB)
📎 bar.mqh (2.25 KB)
📎 bars.mqh (4.3 KB)
📎 tick.mqh (0.66 KB)
📎 tickspicture.mqh (4.8 KB)
📎 ticks.mq5 (1.34 KB)
Source: MQL5 #16537
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •