method and design help for marking candle formations

 
Hi

I'm not sure how to word this question because there are broad topics.

But lets say you want to mark a high and low. Not a high a low as in High[0] etc but as in marking them for drawing trendlines etc.
Or perhaps engulfing candles, or tweezertops etc.

And remembering them, or something like the ABCD's of fibbonacci retracements etc.

I can create the function parts, and certainly can make a function to recognise a low. But what direction would you take to remember this for future use as new lows get formed.

Static bool ? Static double ?

I'm sure this has been done a zillion times, but if someone could give me hint that would be great.


Thanks

 
I use an Array . . yes, really.
 
LOL that just great !

Ok, now this is really going to make my head hurt.

But this give me an idea thanks

Reason: