Harmonic Trading - page 344

 
Robot Trader:
I am assuming that I do not need to enter the date, from Data Window these are the open time for each bar

FridayLastM1BarOpenTime = 21:59

SundayFirstM1BarOpenTime= 22:15

SundayFirstH4BarOpenTime= 22:15

So I need to enter the Sunday values because my broker is only GMT +1, have I done it correctly?

Regards

RT

Time shown in the data window should be written.

H4 bar open time can't be 22:15 since H4 bars open times are

00:00

04:00

08:00

12:00

16:00

20:00

 
grandaevus:
Time shown in the data window should be written.

H4 bar open time can't be 22:15 since H4 bars open times are

00:00

04:00

08:00

12:00

16:00

20:00

My first H4 bar is 22.15, but it is not a full 4 hours, my second H4 bar opens at 00.00 and is a full 4 hours. So I need to enter the first H4 bar that will complete a full 4 hours, so I need to enter 00.00, correct?

Regards

RT

 

My first Sunday H4 bar open time is 20:00

Files:
 
Robot Trader:
My first H4 bar is 22.15, but it is not a full 4 hours, my second H4 bar opens at 00.00 and is a full 4 hours. So I need to enter the first H4 bar that will complete a full 4 hours, so I need to enter 00.00, correct?

Regards

RT

it should be 20:00

Could you please upload a screen-shot so I can check?

 
grandaevus:
it should be 20:00 Could you please upload a screen-shot so I can check?

Sure Can, please see attached

Files:
 
Robot Trader:
Sure Can, please see attached

First Sunday H4 Bar Open Time = 22:15

 
grandaevus:
First Sunday H4 Bar Open Time = 22:15

So you do want me to use 22:15 even though my first H4 bar open time does not give a full 4 hours data, before the next bar opens.

It is the open time that is important for your version of ZUP's calculations, correct?

Regards

RT

 
Robot Trader:
So you do want me to use 22:15 even though my first H4 bar open time does not give a full 4 hours data, before the next bar opens.

It is the open time that is important for your version of ZUP's calculations, correct?

Regards

RT

Absolutely.

 

The type of time I do not see any difference in the pattern than the left N / A?

Maybe put a vertical line?

FridayLastM1BarOpenTime = 20:59

SundayFirstM1BarOpenTime= 22:15

SundayFirstH4BarOpenTime= 22:15

I see that the time parameter in pitchfork is date and hour, not only hour?

Files:
pitchfork.png  5 kb
 
xxx-man:
The type of time I do not see any difference in the pattern than the left N / A?

Maybe put a vertical line?

FridayLastM1BarOpenTime = 20:59

SundayFirstM1BarOpenTime= 22:15

SundayFirstH4BarOpenTime= 22:15

I see that the time parameter in pitchfork is date and hour, not only hour?

D Box is a rectangle and like each rectangle it has two dimensions.

Height, which we call it in harmonic patterns Min Price & Max Price;

Width, which we call it in harmonic patterns Min Time & Max Time;

It's easy to calculate min & max price and put in to a shape since it's unique and never changes from broker to broker.

What about time? We can't say the same thing for time because every broker have a different terminal time settings. My old broker uses gmt+3, current uses gmt+0.

And there's also another factor that we have to consider which is holidays & weekends where market is closed.

To calculate the exact D time, I wrote a function(_CountBarsFunction) to count bars and calculate min&max time D.

While calculating min&max D time, function checks holidays & weekends and not put in to calculation.

Let's say indicator detects a real AB=CD pattern in H1 time frame

time AB = time CD in real AB=CD patterns so _CountBars function first counts the bars between dot A & dot B.

it finds 3 bars (including dotA & dotB) so there should be 3 bars between dot C & dot D.

start of dot C is Friday 19:00

first bar = 19:00 + 0 = Friday 19:00

second bar = 19:00 + (1 * 60 minutes) = Friday 20:00

third bar= 19:00 + (2 * 60 minutes) =friday 21:00

But my broker last M1 bar open time is 20:54 so there can't be a Friday H1 21:00 bar

so _CountBars omits 21:00 , 22:00 & 23:00 and all Saturday and comes to Sunday.

my Sunday first M1 bar is 21:00 which means first H1 bar open time is 21:00.

so third bar= Sunday 21:00

Files:
Reason: