Alert in MQL by some conditions
I need a piece of code or an indicator in mql that checks several conditions at any tick and alerts me with a sound i开发者_如何转开发f they are met. The conditions are as follows: First, if at that moment there are less than 20 seconds left until the end of the current candle (that is, we have between 1 and 20 seconds until the end of the candle), And secondly, the length of the body of the candle should be longer than the length of the upper shadow and also longer than the length of the lower shadow. I would be grateful if anyone could help me.
精彩评论