I attempted to reconcile the eurusd m1 and m30 time series. I looked at May 25 6:30 in the m1 and m30. both have the same opening price, I would have thought that it would be the price at 6:01. The high for the m30 is higher than the max(high) for m1 6:00-6:30 and the low is higher than the min(low) 6:00 - 6:30, again my expectations are that the high would be the high for the previous 30 bars and also the low for the last 30 bars. I dont know where the close came from. Obviously my expectations are wrong, does anyone know how the m30 is calculated.
Thanks in advance,
Quantum123
Hi quantum123, how's dll doink
Your broker May 25 may different with my broker May 25. may, my, may. Do this first : open m30, use vertical lines and mark your selected bars, one at the bars, one to the left, one to the right, all with different colors. Use horizontal lines and mark the high, low, open, close, all with different colors. Then open M1 chart and look again.
1. May 25 6:30 in the m1 and m30. both have the same opening price, I would have thought that it would be the price at 6:01.
2. The high for the m30 is higher than the max(high) for m1 6:00-6:30 and the low is higher than the min(low) 6:00 - 6:30, again my expectations are that the high would be the high for the previous 30 bars and also the low for the last 30 bars.
1. Nope that would be 6:00 :)
2. 30 bars correct, that would be calculated from 00 minutes to 29th minutes, not from 00 minutes to 30th minutes - that would be 31 bars.
Start count from zero minutes because zero minutes it's a new time, from 06:00 to 06:29 then from 06:30 to 06:59. Not from 06:01 to 06:30 then from 06:31 to 07:00. 07:00 is a new time.
:D
I believe the bar is after, 6:00:00 to before, 6:30:00 so ticks arriving at times such as 6:00:00.0000000001 and 6:29:59.9999999999 should be included.
Times are a strange thing when you think about it, it appears you can't mathematically define the exact end of any time period you can only round it to nth decimal places.
I believe the bar is after, 6:00:00 to before, 6:30:00 so ticks arriving at times such as 6:00:00.0000000001 and 6:29:59.9999999999 should be included.
Times are a strange thing when you think about it, it appears you can't mathematically define the exact end of any time period you can only round it to nth decimal places.
I'm sure we can define the start and end of an M30 bar . . . how about this:
6am <= 6amM30 < 6:30am
I'm sure we can define the start and end of an M30 bar . . . how about this:
6am <= 6amM30 < 6:30am
Yes, I mistakenly thought that the 630 bar was made of 600 to 630. Now I know that 630 is made of 630 to 700.
Thank you all,
Quantum123
I'm sure we can define the start and end of an M30 bar . . . how about this:
6am <= 6amM30 < 6:30am
Just to muddy the waters a little bit. Normally:
0600 <= 0600H1 < 0700 followed by 0700 <= 0700H1 < 0800 ...
0400 <= 0400H4 < 0800 followed by 0800 <= 0400H4 < 1200 (All TFs have bars starting at 0000)
0000 <= D1 < 2400
Remember, these are server times.
But market closes Friday 1500 and reopens on Sunday 2200z. So a GMT+0 broker has bars
1600 <= 1600H1 < 2400 followed by 2000 <= 2000H4 < 2400
0000 <= 6/17D1 < 2400 Last tick before 1700
followed by 0000 <= 6/19D1 with first tick after 2200 (D1 bar is only 2 hours long)
I'm sure we can define the start and end of an M30 bar . . . how about this:
6am <= 6amM30 < 6:30am
Yes you can do it that way, known as a Dedekind cut..... The infinate sequence of numbers less than x which is the same as 6:29:59.9999999999 ........
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I attempted to reconcile the eurusd m1 and m30 time series. I looked at May 25 6:30 in the m1 and m30. both have the same opening price, I would have thought that it would be the price at 6:01. The high for the m30 is higher than the max(high) for m1 6:00-6:30 and the low is higher than the min(low) 6:00 - 6:30, again my expectations are that the high would be the high for the previous 30 bars and also the low for the last 30 bars. I dont know where the close came from. Obviously my expectations are wrong, does anyone know how the m30 is calculated.
Thanks in advance,
Quantum123