How to create indicator both in chart and separate window?

Back to topics list To post a new topic, please log in or register
etrader 2014.11.09 17: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 17: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.
Back to topics list  

To add comments, please log in or register