So I am looking to draw a Candle to the right of the last price bar based on some other numbers.
What I am wondering is what would be the best way to go about doing this? I imagine I can just do it by drawing lines/rectangles with a negative offset [-1]. I have used a negative offset before and seems to work ok.
But is there a way to use custom plotting to accomplish this? Does anyone have a simple example of something they have done in the past?
Another question, although not as essential, would be what would it take to make this something that was 'scrollable?' For example, if it was based on the last 100 bars, if I scrolled back in the chart, it would be based on the the right most bar visible on the chart, and the 99 bars to the left of that. Kind of like the volume histograms that will adjust if you move the chart to the left. Again, this isn't as important but figured I'd inquire about it.
An general example of what this would look like is attached.
Comment