Download MetaTrader 5

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

To add comments, please log in or register
okwh
1635
okwh  

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.

okwh
1635
okwh  

no one know? maybe can not realize.


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

Ray
2652
Ray  

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


see SetIndexStyle()

okwh
1635
okwh  

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.

To add comments, please log in or register