OK, so ProTrader team have taken away the ability to program in MQL using AlgoStudio which means I have to re-code a few thousand lines in C# going forward. Fun times ahead!
I have some issues which I would like to discuss in this thread.
In the good old days, I had indicator buffers that displayed to the user and in the background had some helper buffers which were hidden from the user.
All the indicator and helper buffers used to update automatically when a new bar was printed.
Some MQL code:
#property indicator_buffers 1
#property indicator_color1 Blue
This allowed for the indicator to be displayed, yet the helper buffer was hidden from the user - even in the indicator settings dialog.
NOTE: Only the 0th index of the helper buffer is modified as new quotes come in or a new bar is printed (using the old scheme of IndicatorCounted() function).
How can I achieve this in C# such that the C# collection for the helper buffer stays in sync with the displayable indicator collection without having to re-generate the entire helper buffer over and over.