can get the max. height for a sub window indicator ?

 

HI.

Is there setting to have the maximum height for a sub window indicator by, indicator_height

https://www.mql5.com/en/docs/basis/preprosessor/compilation

Documentation on MQL5: Language Basics / Preprocessor / Program Properties (#property)
Documentation on MQL5: Language Basics / Preprocessor / Program Properties (#property)
  • www.mql5.com
Path to the file of an image that will be used as an icon of the EX5 program. Path specification rules are the same as for resources. The property must be specified in the main module with the MQL5 source code. The icon file must be in the ICO format. When launching a script or an Expert Advisor on the chart, the stack of at least 8 MB is...
 
What part of the documentation (that you posted,) was not clear?
Constant Type Description
indicator_height int Fixed height of the indicator subwindow in pixels (property INDICATOR_HEIGHT)
 
William Roeder:
What part of the documentation (that you posted,) was not clear?
Constant Type Description
indicator_height int Fixed height of the indicator subwindow in pixels (property INDICATOR_HEIGHT)

i asked if there is an Assumption value can use it to set as maximum height OF the chart have.

 

you can use ChartGetInteger(0, CHART_HEIGHT_IN_PIXELS, 0) to get maximum available Height and set indicator's height by IndicatorSetInteger(INDICATOR_HEIGHT, indicatorHeight);

Reason: