This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
How to refresh data on multiple symbols in One scriptBack to topics list |
|
DeeForex
2007.01.22 06:55
Hi,
I have a script which keeps on calling RefreshRates() in a while loop. The script is executed on the USDJPY chart. RefreshRates() returns TRUE only if a new tick is received for the Symbol() in the chart. That is, USDJPY in this case. How can I make RefreshRates() return TRUE for other currency pairs other than USDJPY? I want to monitor tick data for several currency pairs on One Script. Could you please include an example? |
|
Slawa
2007.01.22 11:39
RefreshRates refreshes current environment of EA only. Current environment is snapshot of current chart's data.
To access multiple symbols just call iTime, iOpen, iClose etc functions and get latest data automatically. |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
