|
cja
I wrote an indicator a couple years ago that displayed If I remember right 12 differant indicators. How ever not just one at a time but the indicator rotated from one to another on a preset time bases. Very much like your chart in the first post. Using only two buffers and one line level. I even had it so an EA could call it and get the indicator value it wanted out of the list of indicators available. The trick was to have the indicator calculate all indicators and assign there value to a series array. at the time of display the series array was transfered to the buffer array for display. after the alloted time the buffer was filled with another series for display. The only thing you need to do is to be sure to empty the buffer before filling it with new data. if you dont the indicator will keep the same scale as the old data and the display will be distorted. I wrote a couple of functions to create the needed series arrays and to dump the buffers for reuse. If you like I could post them.
Keit
|