How to control X and Y range of Char window with program?

 

If I want to control precisely the range X and Y coordinate of char windows, how to do?

now only can get

int WindowFirstVisibleBar( )
double WindowPriceMax( void index)

double WindowPriceMin( void index)

int WindowBarsPerChart( )

But now I want set these values to zoom in or zoom out precisely with MQL program.

 

no one know? maybe can not realize.


who know how to set the candle's wideth when drawing in DRAW_HISTOGRAM ?

 

who know how to set the candle's wideth when drawing in DRAW_HISTOGRAM ?


see SetIndexStyle()

 

no, no, I mean candle's width, not line's width.

for HISTOGRAM, candle is drawn in rectangle, I want to set rectangle's width.

Reason: