Read the documentation on the Window Functions
fjesq: that reads how many number of visible candles are actually in the active chart.
top = WindowPriceMax(); bot = WindowPriceMin(); iLeft = WindowFirstVisibleBar(); iRight = iLeft-WindowBarsPerChart(); if (iRight < 0) iRight = 0; // Chart is shifted.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I'm coding a program and I want to know how can I program in MQL4 an instruction that reads how many number of visible candles are actually in the active chart.
Also, I want to know is if possible to know also how many numbers of prices are visible at the moment and them values. With prices I mean the amount of prices that MT4 is showing in the right side of the chart
- 1.30690
- 1.30495
- 1.30105