This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
Tester and iClose() on actual barBack to topics list |
|
lomme
2006.11.18 00:21
Hi,
please can anyone of you Metaquotes guys explain which value the iClose() function delivers for the actual bar during testing. Example: iClose("USDCHF",PERIOD_H1,0) <--- shift = 0 means actual bar Is there delivered the actual close of the incomplete bar at that given time, or does MT give us the close of the complete bar, which is the future actually? I am talking about testing with every tick. Many thanks. |
|
Slawa
2006.11.20 12:43
If You test your EA under different symbol then iClose("USDCHF",PERIOD_H1,0) returns close price of complete bar. Tester does not model other symbols
|
|
lomme
2006.11.20 15:41
The conclusion is, that if I test that EA only on the chosen symbol, then the Tester is using the actual close price of the incomplete bar? Is that right?
|
|
Slawa
2006.11.20 15:53
The conclusion is, that if I test that EA only on the chosen symbol, then the Tester is using the actual close price of the incomplete bar? Is that right? Yes |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
