I am looking to implement a modified regression channel drawing tool. This would allow the regression channel to have a fixed start anchor (as originally specified when drawing the tool) but the end anchor should auto-update with each new bar close. I imagine this should be possible now using ninjascript because the volume profile drawing tool (in order flow+ package) allows user to specify end anchor points in the future and the volume profile gets updated in real time as each new bar is formed.
I can modify the ninjascript code if I can get some hint on how the end anchor can be automatically updated. Can OnBarUpdate method be called within the drawing tools ninjascript code to achieve this?
Comment