Forum

Labels aren't getting printed at runtime

Below is the code. It is for some reason isn't printing the labels (up and down arrows) at runtime. If I change the timeframe and comeback to the 5 minutes again I see the label getting printed. I want it to print at runtime as the candle closes and send the alert. What am I missing here

Iterating Candles On Each Bar Close In MQL4

At the outset, I am new to MQL4. I want to create an indicator in MQL4 . What I want is that at each bar close it will calculate the not calculated bar/s and see if the indicator condition is met. If it meets the condition then it will plot an arrow above the candle and send an alert. This should