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...
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 //объявляем количество буферов
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?
Is OrderOpenPrice( ) somehow insufficient or wrong? I've already compared the order of variables in the OrderClose function and the OrderSelect function, and re-read it... I don't know what's going on!
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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