Multiple plots in a single indicator

 
I am idealizing an indicator with two plots, where one plot would be attached to the chart window (indicator_chart_window) and the other plot to its own subwindow (indicator_separate_window).

Is it possible to do this in a single code or do I need to build different indicators?
 
Gabriel: I am idealizing an indicator with two plots, where one plot would be attached to the chart window (indicator_chart_window) and the other plot to its own subwindow (indicator_separate_window). Is it possible to do this in a single code or do I need to build different indicators?

No, it is not, at least not with plots/buffers.

This has been discussed quite a few times before — https://www.mql5.com/en/search#!keyword=indicator_chart_window%20indicator_separate_window&module=mql5_module_forum

Reason: