Read... "Volumes of other timeframes are not simulated"
I must have misstated the point of the question then... I'll try to simplify it:
How do you calculate the maximum/minimum of the current daily candle a MINUTE LATER?
It's easier to laugh than to read (let alone "dig in")... :)))
Trying to solve the problem in code:
//---- Находим последний расчётный бар на нужном нам тамфреймеint li_Shift = iBarShift (Symbol(), PERIOD_M1, iTime (Sumbol(), PERIOD_D1, 0)),
//---- Ищем на нужном промежутке номер бара с High
li_Bar = iHighest (Symbol(), PERIOD_M1, MODE_HIGH, li_Shift, 1);
//---- Получаем значение Highdouble ld_HIGH = iHigh (Symbol(), PERIOD_M1, li_Bar);
In the image and similarity with the minimum can you handle it?! ;)
P.S. Since in the price history we have a discreteness with a minimum size of 1 minute, it is correct to say not "a minute ago", but "not counting the last minute".
Laughing is easier than reading (let alone "getting into")... :)))
Trying to solve the problem in code:
In your image, can you handle the minimum?! ;)
P.S. Since in the price history we have a discreteness, the minimum of which is 1 minute, it is correct to say not "a minute ago", but " not counting the last minute".
Hello guys, please help with the indicator sAccelerator.mq4. I want to make an alert when the 0 line is crossed, and the alert to remove the repaint, it does not work, and in mql frankly I do not understand.
Hello everyone!
Thanks to everyone who helps newcomers, not sparing their time, despite the fact that altruism has lost its value these days.
I ask for help from forum users, I've read all of Igor's thread, but have not found what I need, so I decided to write here.
And function I suspect is not complicated and somewhere already is, but...
How to calculate the maximum/minimum of the current(previous, ...) daily (weekly, ...) candle a MINUTE(5,15,30,60, ...) BACK?
I will be very grateful to altruistic professionals.
Hello everyone!
Thanks to everyone who helps newcomers, not sparing their time, despite the fact that altruism has lost its value these days.
I ask for help from forum users, I have read the entire thread Igor, but I have not found what I need, so I decided to write here.
I suspect the function is not complicated and already exists somewhere, but...
How do you calculate the maximum/minimum of the current (previous, ...) daily (weekly, ...) candle a MINUTE(5,15,30,60, ...) BACK?
I will be very grateful to altruistic professionals.
:)))- that's funny.
Read on - you'll find many interesting things. :)))
How to get Open[] of the current chart but not of the current timeframe?
:)))-)) - made me laugh.
Read on - you'll find a lot of interesting things. :)))
It's a sin to laugh at .....)))
I read it... "Volumes of other timeframes are not modelled"
I must have misstated the point of the question then... I'll try to simplify it:
How do you calculate the maximum/minimum of the current candle a MINUTE LATER?
iOpen().
Thank you
It's a sin to laugh at .....)))
Read... "Volumes of other timeframes are not simulated"
I must have misstated the point of the question then... I'll try to simplify it:
How do you calculate the maximum/minimum of the current daily candle a MINUTE LATER?
It's easier to laugh than to read (let alone "dig in")... :)))
Trying to solve the problem in code:
In the image and similarity with the minimum can you handle it?! ;)
P.S. Since in the price history we have a discreteness with a minimum size of 1 minute, it is correct to say not "a minute ago", but "not counting the last minute".
Laughing is easier than reading (let alone "getting into")... :)))
Trying to solve the problem in code:
In your image, can you handle the minimum?! ;)
P.S. Since in the price history we have a discreteness, the minimum of which is 1 minute, it is correct to say not "a minute ago", but " not counting the last minute".
Thank you!!!
Gentlemen, please advise how to find the average ticks in a bar. I assume the following:
Average[i] = (total amount of ticks of bar[i])/Volume[i]; How to find the total amount of ticks of the desired bar?
Please tell me what I'm doing wrong. I am trying to make a simple indicator:
{ int limit,i; double last; int counted_bars = IndicatorCounted(); //---- check for possible errors if (counted_bars < 0) return(-1); //---- last counted bar will be recounted if(counted_bars > 0) counted_bars--; limit = Bars - counted_bars; //---- for(i=limit; i>=0; i--) { double OptClose = Close[i]*10000; if (MathMod(OptClose,step1)==0) { Buffer0[i] = Close[i]; last = Close[i]; } else Buffer0[i] = last; } //---- return(0); } //+------------------------------------------------------------------+It works in the chart window, but when I try to test it in the Expert Advisor, it either draws whatever it is or "no steps".