I use various Offline charts on MT4.
These charts are created by placing an EA or Indicator onto an M1 host chart in order to create the offline charts.
The problem is that some of these offline charts get their START TIME and VOLUME from the host chart and because these offline charts span variable M1 bars this makes the second count and volume count inaccurate. This means that when a new offline bar currently forms it simply looks to the current M1 bar and starts the Time and Volume count from that point, which could be between 0 - 59 seconds into the bar !
Because it is not possible to change the way the offline bars are created I require two simple indicators to resolve this issue.
I require two simple indicators to run on the offline chart that can detect when a NEW OFFLINE BAR starts:-
1. Indicator 1 = Volume count - Accurately record the Volume of each offline bar from the time the bar appears on the offline chart to the time the bar closes on the offline chart. IT MUST START FROM 0 AND NOT USE THE LATEST VOLUME COUNT FROM THE HOST CHART.
2. Indicator 2 - Second count - Accurately record the number of SECONDS of each offline bar from the time the bar appears on the offline chart to the time the bar closes on the offline chart. IT MUST START FROM 0 SECONDS AND NOT USE THE LATEST SECOND COUNT FROM THE HOST CHART.
Each indicator should plot the recorded data onto a simple histogram and the data should be available in a buffer.
Instance ID - ability for multiple copies to be added to a chart.
This of course means that the indicator can only record live data and should not attempt to draw any history when added to the chart because it will undoubtedly be inaccurate.
Many thanks for your interest, speed is of the essence.