This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

How to get count of bars on screen only (not on chart)?


Back to topics list
avatar
2
cjcook 2010.05.13 05:48 
Hi everyone. Does anyone know of a way to compute the bar count of the bars ONLY on the screen, not the total bars on the chart? An alternative would be to get the earliest datetime on the screen only (not on the chart). I'm trying to make a fixed-pip grid indicator that doesn't 'shrink' up when the time on the x-axis is stretched back further into the past. Thanks everyone, Chris
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets