
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
Plus, the challenge is to find a way around the limitation. Say, prohibit redrawing of EURUSD indicator until USDCHF data arrives. Now I am testing the following variant
But it all depends on how MT calculates IndicatorCounted. If by tick arrival time - it won't work, if by the fact of bar re-drawing - it will work. Let's see.
Open[1] EURUSD H1 is 1.2755
Open[1] USDCHF H1 is 1.2443
A new one hour bar appears on the EUR, nothing has changed yet on the Franc. What will your algoitm do?
Plus, the challenge is to find a way around the limitation. Say, prohibit redrawing of EURUSD indicator until USDCHF data arrives. Now I am testing the following variant
But here everything depends on how MT calculates the IndicatorCounted. If by tick arrival time - it will not work, if by the fact of bar re-drawing - it will work. Let's see.
Stop, stop. Here's where you write :
So we're talking about online work, and now we've jumped to a tester. I don't have time for that.
Open[1] USDCHF H1 is 1.2443
A new hourly bar appears on the EUR, nothing has changed yet on the FRANK. What will your algoitm do?
Yes, you are right. You have to watch the time of the bar, not its number.
No tester. Only online.
I have outputted it to the second file of the list of bars to be able to see the dropdowns.
We run it on EURGBP 4H on two other brokerages, not Alpari (MIG, FIBO).
The picture is almost the same for both, I will show an example on MIG.
index EURGBP index EURUSD index GBPUSD
15 30.10.2006 0:00 16 29.10.2006 23:00 16 29.10.2006 23:00
46 23.10.2006 0:00 47 22.10.2006 23:00 47 22.10.2006 23:00
77 16.10.2006 0:00 78 15.10.2006 23:00 78 15.10.2006 23:00
108 09.10.2006 0:00 109 08.10.2006 23:00 109 08.10.2006 23:00
139 02.10.2006 0:00 139 02.10.2006 0:00 140 01.10.2006 23:00
Take for example bars 46-47.
In the second file:
45 23.10.2006 4:00 23.10.2006 4:00 23.10.2006 4:00
46 22.10.2006 23:00 22.10.2006 23:00 23.10.2006 0:00
47 22.10.2006 23:00 22.10.2006 23:00 22.10.2006 23:00
48 20.10.2006 20:00 20.10.2006 20:00 20.10.2006 20:00
Seems to be ok... But here is the problem - bar 23.10.2006 00:00 is present in history on all three currencies! I.e. it is on the chart, it is in the quotes archive.
But it seems to be absent from the indicator.
And the last trick - if you try to put a vertical line on this bar it will shift to the next bar. :о) I tried to mark it with a vertical line but it didn't work.