K.I.S.S.
lol
https://www.mql5.com/en/forum/83939
how to set the parameter "Signal_ITF_BadHoursOfDay" ??? I would like to trade from 10am to 4pm.
https://www.mql5.com/en/docs/standardlibrary/expertclasses/csignal/signal_time_filter
Parameter |
Description |
---|---|
Weight |
Weight of signal of the module in the interval 0 to 1. |
GoodHourOfDay |
Number of the only hour of day (from 0 to 23) when trade signals will be enabled. If the value is -1, the signals will be enabled through the whole day. |
BadHoursOfDay |
The bit field. Each bit of this field corresponds to an hour of day (0 bit - 0 hour, ..., 23 bit - 23-rd hour). If the value of a bit is equal to 0, trade signals will be enabled during the corresponding hour. If the value of a bit is equal to 1, trade signals will be disabled during the corresponding hour. A specified number is represented as a binary number and is used as bit mask. Disabled hours have higher priority than the enabled ones. |
cheers
![Libraries: MQL 5 Wizard - Simpler Intraday Time Filter Libraries: MQL 5 Wizard - Simpler Intraday Time Filter](https://c.mql5.com/36/28/libraries-mql-5-wizard-simpler.jpg)
- 2016.05.10
- www.mql5.com
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
how to set the parameter "Signal_ITF_BadHoursOfDay" ??? I would like to trade from 10am to 4pm.
https://www.mql5.com/en/docs/standardlibrary/expertclasses/csignal/signal_time_filter
Parameter
Description
Weight
Weight of signal of the module in the interval 0 to 1.
GoodHourOfDay
Number of the only hour of day (from 0 to 23) when trade signals will be enabled. If the value is -1, the signals will be enabled through the whole day.
BadHoursOfDay
The bit field. Each bit of this field corresponds to an hour of day (0 bit - 0 hour, ..., 23 bit - 23-rd hour). If the value of a bit is equal to 0, trade signals will be enabled during the corresponding hour. If the value of a bit is equal to 1, trade signals will be disabled during the corresponding hour. A specified number is represented as a binary number and is used as bit mask.
Disabled hours have higher priority than the enabled ones.
cheers