when I change the Height of window by ChartSetInteger() function then I Can't change height by mouse (in MQL5)

 

Hello

I use MSQL5 and metatrader5

When I change the Height of oscillator window by ChartSetInteger() function it works but after that I can't change the height by mouse

the code is  :

 for(int w=0;w<windows;w++)
     {
      
      int total=ChartIndicatorsTotal(0,w);
      //--- Go through all indicators in the window
     
      for(int i=0;i<total;i++)
        {
        
         string name=ChartIndicatorName(0,w,i);
       
         int handle=ChartIndicatorGet(0,w,name);
               
         
         if ( (StringFind(name,"MACD",0)> -1) || (StringFind(name,"Stoch",0)> -1) ){
          ChartSetInteger(0,CHART_HEIGHT_IN_PIXELS,w,100);
          }
        
         
         
        IndicatorRelease(handle);
        }
     }


Do you know the solution ?


Thank you

 
Ali Khosravi:

Hello

I use MSQL5 and metatrader5

When I change the Height of oscillator window by ChartSetInteger() function it works but after that I can't change the height by mouse

the code is  :


Do you know the solution ?


Thank you

There is no (easy) solution currently. But MQ is aware of this issue and should provide a solution in the future.
 
Alain Verleyen #:
There is no (easy) solution currently. But MQ is aware of this issue and should provide a solution in the future.
Thank you