Forum

MQL5 Custom Indicator : Keeping Set of line between two period seperators

//+------------------------------------------------------------------+ //| BOYVOL100.mq5 | //| Masa Nethononda | //| https://www.mql5.com |

How do I code a "market spent 30 minutes (time) at a price level buy now " alert ?

Good Day All Please assist on the following, how do i write a code that will alert that " The Ask > 1.25654 and it has spent 30minutes trading at the level or not ". I want to receive an alert if the market (ASK / BID) is above a certain price level and has spent so much time at the level. Thank you