Yes, this is completely possible in Pine Script.
Normally, when you create an indicator with:
indicator("My Indicator", overlay = false)
the entire indicator is displayed in a separate pane below the price chart.
However, Pine Script allows individual plots and drawings to be forced onto the main chart by using the force_overlay parameter.
For example:
indicator("My Indicator", overlay = false)
plot(close, force_overlay = true)
In this example, the indicator itself still lives in the separate pane because overlay = false, but the plot() is forced to appear on the main price chart using force_overlay = true.
The same concept can be used with other drawing functions that support the force_overlay parameter, allowing you to keep your calculations in a separate pane while displaying important signals or visual elements directly on the chart.
This approach is useful when you want the best of both worlds:
Keep oscillators like RSI, MACD, or custom calculations in a separate pane.
Display buy/sell signals, labels, or important plots on the main price chart.
This keeps your indicator organized while still making the important trading signals easy to see.
Below is an example showing how this works in practice.