Download MetaTrader 5

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

To add comments, please log in or register
Publish your articles and improve your rating!
okwh
1631
okwh 2008.04.10 02:00 

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
1631
okwh 2008.04.10 13:48  

no one know? maybe can not realize.


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

Ray
2650
Ray 2008.04.10 20:30  

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


see SetIndexStyle()

okwh
1631
okwh 2008.04.11 10:20  

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