|
Working with Arrays
Here's what I'm trying to create:
I'm trying to create some sort of "price density" indicator. Which measures how many times in a given set of bars a specific price is reached. The bar rankings are associated with a specific color so that I would have a field of color helping me visualize a set of support and resistance lines, sort of like what you see attached.
The color is based on how many bars go through that line.
I realize that I would need some sort of two dimensional array to accomplish this. How do I go about putting together that array?
|