I Rigel, I am searching for similar code to what you have written. Could you please post again the rest of the code? I would appreciate it alot. . rigel Wrote: ------------------------------------------------------- > wichitawx > > I don't have Robert's code but I modified some > basic code found in Internet (no author to give > credit for) which produces what you arby ojano - Trading Discussion