hello,

I am working on a EA by using mql5 wizard generator. I did not really understand how the signal mechanism module and intra time filter works.

I need to open trades only in particular hours of the day. So as I understood bitmap for bad hours of the day I have to convert from binary to decimal. my excluding trading hours are 0h- 9h. so my bitmap in binary is 111111111100000000000000 and the decimal is 16760832.

When I gave this value and backtested my EA the trades the trades are still being opened in my excluding hours.

Next regarding mechanism of trade signals based on modules, I really don’t understand what is the significance and how the threshold works.

https://www.mql5.com/en/docs/standardlibrary/expertclasses/csignal#mechanism

from the above link there is an example of two variants. Where did the significance value come from ?

*Variant 1*

*The price crossed the rising MA upwards. This case corresponds to one of the market models implemented in the MA module. This model implies a rise of price. Its significance is equal to 100 .At the same time, the Stochastic oscillator turned down and formed a divergence with price. This case corresponds to one of the models implemented in the Stochastic module. This model implies a fall of price. The weight of this model is 80.*

*Let’s calculate the result of final “voting”. The rate obtained from the MA module is calculated as 0.4 * 100 = 40. The value from the Stochastic module is calculated as 0.8 * (-80) = -64. The final value is calculated as the Arithmetic mean of these two rates: (40 - 64)/2 = -12. The result of voting is the signal for selling with relative strength equal to 12. The threshold level that is equal to 20 is not reached. Thus a trade operation is not performed.*

for second variant in example ,the significance value is 10. where are these coming from?