[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 413
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Replace Bid with iClose(NULL,PERIOD_M5,0) and PERIOD_M5 with NULL.
This must be the indicator on the visual test chart?
tell me, does the BID have any problems and is it better to prescribeiClose?
Thanks, that'll come in handy too. there are often "wrong bars".
What format should the time be in?
In string format, like in the terminal "2013.01.30 12:55". It is easier to create a vertical line and copy the time from its properties with the mouse.
In string, as in the terminal "2013.01.30 12:55". It is easier to create a vertical line and copy the time from its properties with the mouse.
thanks
tell me, are there any problems with BID and is it better to prescribe iClose ?
There are problems for the indicator on the visual test chart.
There are problems for the indicator on the visual test chart.
quite embarrassed to ask, what is a visual test chart? Is it a visualisation in the tester or something else?
quite embarrassed to ask, what is a visual test schedule? Is it visualisation in the tester or something else?
Yes. Testing with "Visualisation" ticked, with the graph open and everything visible on it.
Good afternoon, all.
Studying MarketInfo ( ) and Print( ) functions
Here is a simple code with these functions
Tester, TF 60 min.
Checked RefreshRates(). If this Expert Advisor is run, for example, on EURUSD, and another tool whose window has not been opened for a long time is inserted in the settings (so that the history is not there), the history appears.
So, still RefreshRates() refers to the server and fills the history. As a consequence, controlling the arrival of history is necessary.
Support says that none of the functions directly refers to the server. So, everything is done through the terminal :-)
If you remove RefreshRates(), the history will be updated anyway. For this purpose it is enough that the instrument is opened in market overview andaccess to time-series
If you remove RefreshRates(), the history will still pile up. For this purpose, it is enough that the instrument is opened in market overview andaccess to time-series
... and in general, this function is not for history paging (side effect), but to update the current values.
This has already been written about.