What I am wanting to do now is, I have a "Horizontal Ray", drawing tool which will draw a horizontal ray from where you mouse click. I want to know how difficult it would be to code a tool that calls this "Horizontal Ray" tool and use it to create multiple rays from one mouse click on the chart. For example I would have these rays set up to all appear on the same Y axis, but at different offsets from the mouse click. The mouse click would snap to a bar high or low. If a high, the lines would be applied for a long entry, or if a low, a short entry. The rays would represent the entry, stop, and targets. I would want to have the colours to be user defined. If not overly complicated I would appreciate if you could outline how I would go about this? What ninja script references could you point me to? Any similar tools you know of already coded that I could look at for some ideas?
Thanks,
Ken.
Comment