This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
HowTo: Get index of the most right visible bar on chartBack to topics list |
|
Ruby
2006.03.23 12:18
Hi,
Is it possible to get the index of the bar at the right of current chart visible area? I mean, if I scrolled data back to history, the index of the bar on the right of the visible chart area is not 0, and I don't know how to retrieve it. I Hope that someone has an idea. Thanks ruby |
|
Ruby
2006.03.23 22:19
Found It:
bar index of first visible bar from left: int firstVisibleBar = FirstVisibleBar(); (Slawa - this one is not documented!) bars per window: int barsPerWindow = BarsPerWindow(); |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
