Timer

 
On the timer expert, how does code the bad hours bit map and what time is used? 
 
Owen Walker: On the timer expert, how does code the bad hours bit map and what time is used? 
I will assume you are a natural English speaker (based on your name and location), but I did not understand anything you wrote in your "broken English".


Can you please explain in more detail and with screenshots?

 

Your post is almost unintelligible. If you are using mechanical translation, you must use simple language structure.

 
Fernando Carreiro #:
I will assume you are a natural English speaker (based on your name and location), but I did not understand anything you wrote in your "broken English".


Can you please explain in more detail and with screenshots?

There is a standard expert called 
Previous  Next

Signals of the Intraday Time Filter

In it one can set the 

BadHoursOfDay


Exactly how does one do this?

i tried              Signal_ITF_BadHoursOfDay      =01110001111111111111111;

                                                                     // IntradayTimeFilter(-1,0,-1,...) Bad hours (bit-map)

But it gives compile errors.

If I enter '=0,1,0,0,1' etc that is also an obvious error.

 
Owen Walker #: There is a standard expert called 

There are no "standard experts". The reference you gave, namely "Signals of the Intraday Time Filter", has to do with the Standard Library modules, in this case for manipulating trade signals.

The "BadHoursOfDay" and "GoodHourOfDay" parameters require a bit field (in binary) of the hours, as in the following example:

int AsianSession    = B'000000000000000111111111'// Asian session     0:00 -  9:00
int EuropeanSession = B'000000111111111000000000'// European session  9:00 - 18:00
int AmericanSession = B'111111110000000000000011'; // American session 16:00 - 02:00
Reason: