[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 481
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Good day people, please give me an answer, how to determine that the 15-minute candle opened, I used a mind-boggling string, but as it turned out, not always the candle opens by time... I think there is a simpler way to find out that the candle opened... but I do not understand it...
if ((TimeMinute(TimeCurrent())==0 && TimeSeconds(TimeCurrent())==0)|| (TimeMinute(TimeCurrent())==15 && TimeSeconds(TimeCurrent())==0) || (TimeMinute(TimeCurrent())==30 && TimeSeconds(TimeCurrent())==0) || (TimeMinute(TimeCurrent())==45 && TimeSeconds(TimeCurrent())==0)
The function returns true when a new bar appears on M15
The function returns true when a new bar appears on M15
Thank you so much!
To be used only in the council
exactly so, it is automatically organised as a timeseries
you describe visible indicator buffers in the beginning
withIndicatorBuffers() you can extend the number of automatically organized timeseries buffers used to 8 and link them to your arrays
Many thanks for the previous answers. Everything works and almost everything is clear... Now about that "almost".
1. In which line (see attached file for indicator) is there an indication that the Line calculated on the array data should be displayed in the Client Terminal window?
2. Why is the IndicatorBuffers function needed (or rather, in what situations should it be used), if the number of buffers can be declared as a string
#property indicator_buffers 4 //объявляем количество буферов
Thank you in advance for your answer.
Folks, a word of advice!
There is a custom function that counts the Low price of the 5th bar of the background timeframe, how do I make it count the price of a specific timeframe?
2012.10.31 20:14:02 AUDUSD,M15: OrderClose 129
ERR_INVALID_PRICE 129Incorrect price