How do I code a box to extend indefinitely to the right (as with the Ray/F3 drawing in NT)?
And how do I do this same thing to a line as well?
And last question...
How do I extend a line or a box - but only until a candle breaks the line (or box fully, or even partially as a user input option), then the line/box stops there. So historically, there will lots of lines/boxes, and there will be some "naked" lines/boxes that extend forever to the right because price did not break/cross the line/box, and there will be lines that are stopped right at the candle that crossed the line.
Is there a native Indicator in NT that does this - where I could just check out the code and grab from there within the NinjaScript editor?
Or do you have any code samples, links to help me program this piece?
It's the same idea as Fair Value Gaps boxes, support/resistance zones/boxes and key level lines.
I want to have code to create all these similar concepts. (I don't need an FVG btw, just the example code so I could use it my own way)
Thanks!

Comment