View Single Post
  #8 (permalink)  
Old 01-13-2009, 01:37 AM
cja's Avatar
cja cja is offline
Senior Member
 
Join Date: Apr 2006
Posts: 649
cja is on a distinguished road
Interesting?

Quote:
Originally Posted by cockeyedcowboy View Post
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
Hi
Sure post them if you like it sounds interesting

cja
__________________
My Disadvantage is that I am not a Trained Programmer - My Advantage is that I am not a Trained Programmer.
http://cjatradingtools.com/
Reply With Quote