Download MetaTrader 5

Force subwindow to height in pixels.

To add comments, please log in or register
Thierry Ramaniraka
356
Thierry Ramaniraka  
Hi there,
I need you to know if it's possible to force a subwindow pixel height (and not percent height).

I see this documentation, but, there is no example to do what I want to.
https://docs.mql4.com/chart_operations/chartgetinteger

Can someone help me please ?
Regards.
ChartGetInteger - Chart Operations - MQL4 Reference
ChartGetInteger - Chart Operations - MQL4 Reference
  • docs.mql4.com
Returns the value of a corresponding property of the specified chart. Chart property must be of datetime, int or bool type. There are 2 variants of the function calls. 2. Returns true or false, depending on the success of a function. If successful, the value of the property is placed in a target variable long_var passed by reference. [in]...
Marco vd Heijden
Moderator
6514
Marco vd Heijden  

indicator_height

int

Fixed height of the indicator subwindow in pixels (property INDICATOR_HEIGHT)

Hello please see: https://docs.mql4.com/constants/indicatorconstants/customindicatorproperties#enum_customind_property_integer

Program Properties (#property) - Preprocessor - Language Basics - MQL4 Reference
Program Properties (#property) - Preprocessor - Language Basics - MQL4 Reference
  • docs.mql4.com
Every MQL4-program allows to specify additional specific parameters named #property that help client terminal in proper servicing for programs without the necessity to launch them explicitly. This concerns external settings of indicators, first of all. Properties described in included files are completely ignored. Properties must be specified...
Thierry Ramaniraka
356
Thierry Ramaniraka  
Marco vd Heijden:

indicator_height

int

Fixed height of the indicator subwindow in pixels (property INDICATOR_HEIGHT)

Hello please see: https://docs.mql4.com/constants/indicatorconstants/customindicatorproperties#enum_customind_property_integer

Thank you.
I 'll give a try tomorrow : )

Thierry Ramaniraka
356
Thierry Ramaniraka  
Thierry Ramaniraka:

Thank you.
I 'll give a try tomorrow : )


I projected to create a new subwindow, but i saw that it's impossible in mql4... :/
I will let an option to place my panel button in subwindow in the indicator pop up window.
Thank you.

To add comments, please log in or register