MQL4 - automated forex trading   /  

Forum

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!

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

Back to topics list To post a new topic, please log in or register
avatar
1737
DxdCn 2008.04.10 04: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.

 
The Golden Rule of Traders

The Golden Rule of Traders

In order to make profits based on high expectations, we must understand three basic principles of good trading: 1) know your risk when entering the market; 2) cut your losses early and allow your profit to run; 3) know the expectation of your system – test and adjust it regularly. This article provides a program code trailing open positions and actualizing the second golden principle, as it allows profit to run for the highest possible level.

avatar
1737
avatar
2646
avatar
1737
DxdCn 2008.04.11 12: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.

 
Back to topics list  

To add comments, please log in or register