Forum

What's the best way to check if the tick is the first tick of the new bar?

I found in the sample code, it uses if(Volume[0]>1) return; as the criterion to check if the tick is the first tick of the new bar. I just worry if it will miss some conditions. What's the best way to check the condition? Thanks a lot

How to alarm in sound in MT4?

For example, I want to devise an indicator in which if some condition is met, the indicator will set off to play the music of alarm1.wav. Is that available in MT4