What is the best practice to associate an indicator value with the Price Range (on the y-axis) at which those indicator values were produced and NOT the time or Bar Number (x-axis) at which those values happened to happen???
For example in this attached photo, the indicator needs to associate thoseGreen valueson the lower Panel to the Prices within the Green sections of the price chart.
Likewise, the indicator also needs to associate those Red Valueson the lower Panel to the Prices within the Red sections of the price chart.
After searching references, I failed to find the best practices on this topic... I have had the opportunity to work with Lists and Arrays but I was uncertain which way was the best direction to begin and so I felt it necessary to ask for guidance.
I have made this same indicator in less advanced coding languages than C# so I do know that it is possible but I lack the expertise and familiarity to access the Price Range and assign Values to that y-axis.

Comment