Hard problem: Arrows plotting on subwindow
plot specific arrows along data buffer on all indicators in every subwindows as shown in the example code.
I don't see the ultimate purpose of it. Your issue is probably due to assigning RSI and ATR to the same custom subwindow number, and one of of them is thinking it needs to be "apply to"
re-read my post slowly ;)
That's not an ultimate purpose. There's no meaning in plotting random arrows on the indicators. If you have a real purpose, someone else might be able to give you a better way of doing something, or even a brand new idea.
Modified indicator buffers and templates are coming to mind, but I cant suggest this without knowing the true purpose
You simply assume too much for nothing ;)
Simple code to try it out:
NOTE: Failed plotted arrows of ATR's buffer.
Any hint of work around to plot the arrows is appreciated.