How can i draw an indicator on current chart and also on Sub window?

 

Hi,

is there any way to let 1 indicator draw on both current chart and also in sub window?

i only can choose 1 of the below.

#property indicator_chart_window

#property indicator_separate_window


Thanks,

EC

 
Objects
 
Eck369:

#property indicator_chart_window

#property indicator_separate_window


you can also replicate the indicator

 
Samuel Akinbowale:

you can also replicate the indicator

Hi, 

this cannot work in same indicator.

i mean how can one indicator can draw both on chart and also separate window.

 
kypa:
Objects

Objects cant create separate window.

 
Eck369:

Objects cant create separate window.

Objects cant create separate window. But you can create objects in main window from the indicator running in subwindow.

Reason: