Download MetaTrader 5
To add comments, please log in or register
Trade with MetaTarder 5. Download it right now!
etrader58 2014.11.09 16:25 

In a custom indicator, we can set

 #property indicator_chart_window


#property indicator_separate_window


How can I draw indicators (e.g., indicator_buffers 2) on both a separate window and the chart ? One drawing goes in the separate window and one on the main chart!

honest_knave 2014.11.09 16:41  
With some imagination, you can create objects such as lines, rectangles and labels etc in the main window, while drawing the indicator in the separate window.... ObjectCreate takes an argument for subwindow.
To add comments, please log in or register